Home
last modified time | relevance | path

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

/external/libopus/celt/
Dcelt_decoder.c450 int pitch_index; in celt_plc_pitch_search() local
458 PLC_PITCH_LAG_MAX-PLC_PITCH_LAG_MIN, &pitch_index, arch); in celt_plc_pitch_search()
459 pitch_index = PLC_PITCH_LAG_MAX-pitch_index; in celt_plc_pitch_search()
461 return pitch_index; in celt_plc_pitch_search()
561 int pitch_index; in celt_decode_lost() local
567 st->last_pitch_index = pitch_index = celt_plc_pitch_search(decode_mem, C, st->arch); in celt_decode_lost()
569 pitch_index = st->last_pitch_index; in celt_decode_lost()
636 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost()
680 extrapolation_offset = MAX_PERIOD-pitch_index; in celt_decode_lost()
689 if (j >= pitch_index) { in celt_decode_lost()
[all …]
Dcelt_encoder.c1118 int pitch_index; in run_prefilter() local
1148 COMBFILTER_MAXPERIOD-3*COMBFILTER_MINPERIOD, &pitch_index, in run_prefilter()
1150 pitch_index = COMBFILTER_MAXPERIOD-pitch_index; in run_prefilter()
1153 N, &pitch_index, st->prefilter_period, st->prefilter_gain, st->arch); in run_prefilter()
1154 if (pitch_index > COMBFILTER_MAXPERIOD-2) in run_prefilter()
1155 pitch_index = COMBFILTER_MAXPERIOD-2; in run_prefilter()
1166 pitch_index = COMBFILTER_MINPERIOD; in run_prefilter()
1173 if (abs(pitch_index-st->prefilter_period)*10>pitch_index) in run_prefilter()
1218 st->prefilter_period, pitch_index, N-offset, -st->prefilter_gain, -gain1, in run_prefilter()
1233 *pitch = pitch_index; in run_prefilter()
[all …]