Searched refs:best_pitch (Results 1 - 3 of 3) sorted by relevance

/external/libopus/celt/
H A Dpitch.c46 int max_pitch, int *best_pitch
66 best_pitch[0] = 0;
67 best_pitch[1] = 1;
89 best_pitch[1] = best_pitch[0];
92 best_pitch[0] = i;
96 best_pitch[1] = i;
301 int best_pitch[2]={0,0}; local
352 find_best_pitch(xcorr, y_lp4, len>>2, max_pitch>>2, best_pitch
366 if (abs(i-2*best_pitch[
[all...]
/external/speex/libspeex/
H A Dnb_celp.c1092 int best_pitch=40; local
1367 if ((tmp>best_pitch_gain&&ABS(2*best_pitch-pitch)>=3&&ABS(3*best_pitch-pitch)>=4&&ABS(4*best_pitch-pitch)>=5)
1368 || (tmp>MULT16_16_Q15(QCONST16(.6,15),best_pitch_gain)&&(ABS(best_pitch-2*pitch)<3||ABS(best_pitch-3*pitch)<4||ABS(best_pitch-4*pitch)<5))
1369 || (MULT16_16_Q15(QCONST16(.67,15),tmp)>best_pitch_gain&&(ABS(2*best_pitch-pitch)<3||ABS(3*best_pitch-pitch)<4||ABS(4*best_pitch
[all...]
H A Dltp.c556 int best_pitch=0; local
628 best_pitch=pitch;
632 /*printf ("pitch: %d %d\n", best_pitch, best_gain_index);*/
633 speex_bits_pack(bits, best_pitch-start, params->pitch_bits);
641 /*printf ("encode pitch: %d %d\n", best_pitch, best_gain_index);*/

Completed in 120 milliseconds