Home
last modified time | relevance | path

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

/external/libopus/celt/
Dpitch.c46 int max_pitch, int *best_pitch in find_best_pitch() argument
66 best_pitch[0] = 0; in find_best_pitch()
67 best_pitch[1] = 1; in find_best_pitch()
89 best_pitch[1] = best_pitch[0]; in find_best_pitch()
92 best_pitch[0] = i; in find_best_pitch()
96 best_pitch[1] = i; in find_best_pitch()
296 int best_pitch[2]={0,0}; in pitch_search() local
347 find_best_pitch(xcorr, y_lp4, len>>2, max_pitch>>2, best_pitch in pitch_search()
361 if (abs(i-2*best_pitch[0])>2 && abs(i-2*best_pitch[1])>2) in pitch_search()
375 find_best_pitch(xcorr, y, len>>1, max_pitch>>1, best_pitch in pitch_search()
[all …]
/external/speex/libspeex/
Dnb_celp.c1092 int best_pitch=40; in nb_decode() local
1367 …if ((tmp>best_pitch_gain&&ABS(2*best_pitch-pitch)>=3&&ABS(3*best_pitch-pitch)>=4&&ABS(4*best_pitch in nb_decode()
1368 …_Q15(QCONST16(.6,15),best_pitch_gain)&&(ABS(best_pitch-2*pitch)<3||ABS(best_pitch-3*pitch)<4||ABS( in nb_decode()
1369 …ONST16(.67,15),tmp)>best_pitch_gain&&(ABS(2*best_pitch-pitch)<3||ABS(3*best_pitch-pitch)<4||ABS(4* in nb_decode()
1371 best_pitch = pitch; in nb_decode()
1470 …->subframeSize, out, st->interp_qlpc, st->lpcSize, 2*st->subframeSize, best_pitch, 40, SUBMODE(com… in nb_decode()
1471 …+2*st->subframeSize, st->interp_qlpc, st->lpcSize, 2*st->subframeSize, best_pitch, 40, SUBMODE(com… in nb_decode()
1561 st->last_pitch = best_pitch; in nb_decode()
Dltp.c556 int best_pitch=0; in pitch_search_3tap() local
628 best_pitch=pitch; in pitch_search_3tap()
633 speex_bits_pack(bits, best_pitch-start, params->pitch_bits); in pitch_search_3tap()