Home
last modified time | relevance | path

Searched refs:pitch_index (Results 1 – 2 of 2) sorted by relevance

/external/libopus/celt/
Dcelt_decoder.c482 int pitch_index; in celt_plc_pitch_search() local
490 PLC_PITCH_LAG_MAX-PLC_PITCH_LAG_MIN, &pitch_index, arch); in celt_plc_pitch_search()
491 pitch_index = PLC_PITCH_LAG_MAX-pitch_index; in celt_plc_pitch_search()
493 return pitch_index; in celt_plc_pitch_search()
594 int pitch_index; in celt_decode_lost() local
601 st->last_pitch_index = pitch_index = celt_plc_pitch_search(decode_mem, C, st->arch); in celt_decode_lost()
603 pitch_index = st->last_pitch_index; in celt_decode_lost()
609 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost()
711 extrapolation_offset = MAX_PERIOD-pitch_index; in celt_decode_lost()
720 if (j >= pitch_index) { in celt_decode_lost()
[all …]
Dcelt_encoder.c1172 int pitch_index; in run_prefilter() local
1202 COMBFILTER_MAXPERIOD-3*COMBFILTER_MINPERIOD, &pitch_index, in run_prefilter()
1204 pitch_index = COMBFILTER_MAXPERIOD-pitch_index; in run_prefilter()
1207 N, &pitch_index, st->prefilter_period, st->prefilter_gain, st->arch); in run_prefilter()
1208 if (pitch_index > COMBFILTER_MAXPERIOD-2) in run_prefilter()
1209 pitch_index = COMBFILTER_MAXPERIOD-2; in run_prefilter()
1220 pitch_index = COMBFILTER_MINPERIOD; in run_prefilter()
1232 if (abs(pitch_index-st->prefilter_period)*10>pitch_index) in run_prefilter()
1277 st->prefilter_period, pitch_index, N-offset, -st->prefilter_gain, -gain1, in run_prefilter()
1292 *pitch = pitch_index; in run_prefilter()
[all …]