diff options
author | Linfeng Zhang <linfengz@google.com> | 2016-09-08 01:44:23 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-06-07 00:12:20 +0300 |
commit | 85fb8a1d17a563d1e7989e8268a856a5c90ecfe7 (patch) | |
tree | 1430fd2fab2f4e6d9d35be144777bd2c687d04f6 /celt/pitch.h | |
parent | a1ae821c964960ed659134e8f834ba31a3db1a6b (diff) |
Replace call of celt_inner_prod_c() (step 2)
Should call celt_inner_prod().
This requires the API change of celt_pitch_xcorr() by passing in
"arch".
We tested on x86 and arm, and got bit exact results as original.
Change-Id: I606915da6a196f327ce81f4a5ae32811f4c1fabb
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'celt/pitch.h')
-rw-r--r-- | celt/pitch.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/celt/pitch.h b/celt/pitch.h index d3503532..d7978440 100644 --- a/celt/pitch.h +++ b/celt/pitch.h @@ -184,17 +184,10 @@ opus_val32 void #endif celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, - opus_val32 *xcorr, int len, int max_pitch); - -#if !defined(OVERRIDE_PITCH_XCORR) -#ifdef FIXED_POINT -opus_val32 -#else -void -#endif -celt_pitch_xcorr(const opus_val16 *_x, const opus_val16 *_y, opus_val32 *xcorr, int len, int max_pitch, int arch); +#ifndef OVERRIDE_PITCH_XCORR +# define celt_pitch_xcorr celt_pitch_xcorr_c #endif #endif |