search for: find_best_pitch

Displaying 2 results from an estimated 2 matches for "find_best_pitch".

2010 Sep 08
1
Celt 0.7.1 Fixed math
Hi, I'm using Celt 0.7.1 in fixed math mode. In the celt_encode function, if the variable has_pitch is true, the function pitch_search is called. Within this function the find_best_pitch subfunction is called. Here the variable "float score;" is defined. Is this right? I was expecting not to see any float declaration in the fixed math code. Is it possible to redefine it as integer? Cheers Riccardo Riccardo Micci Senior DSP Engineer, Wireless Group Cambridge Consulta...
2013 May 23
2
ASM runtime detection and optimizations
...s */ const opus_val16 *window, @@ -478,7 +475,6 @@ void _celt_autocorr( RESTORE_STACK; } -#endif /* CELT_AUTOCORR_NEON */ #endif /* FIXED_POINT */ diff --git a/celt/pitch.c b/celt/pitch.c index 800a52a..6850dee 100644 --- a/celt/pitch.c +++ b/celt/pitch.c @@ -109,7 +109,7 @@ void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len, } void pitch_downsample(celt_sig * OPUS_RESTRICT x[], opus_val16 * OPUS_RESTRICT x_lp, - int len, int C) + int len, int C, const int arch) { int i; opus_val32 ac[5]; @@ -167,11 +167,11 @@ void pitch_downsample(celt_sig * OPUS_RESTRIC...