Home
last modified time | relevance | path

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

/external/libopus/celt/
Dcelt_encoder.c1014 int pitch_index; in run_prefilter() local
1042 COMBFILTER_MAXPERIOD-3*COMBFILTER_MINPERIOD, &pitch_index, in run_prefilter()
1044 pitch_index = COMBFILTER_MAXPERIOD-pitch_index; in run_prefilter()
1047 N, &pitch_index, st->prefilter_period, st->prefilter_gain); in run_prefilter()
1048 if (pitch_index > COMBFILTER_MAXPERIOD-2) in run_prefilter()
1049 pitch_index = COMBFILTER_MAXPERIOD-2; in run_prefilter()
1060 pitch_index = COMBFILTER_MINPERIOD; in run_prefilter()
1067 if (abs(pitch_index-st->prefilter_period)*10>pitch_index) in run_prefilter()
1112 st->prefilter_period, pitch_index, N-offset, -st->prefilter_gain, -gain1, in run_prefilter()
1127 *pitch = pitch_index; in run_prefilter()
[all …]
Dcelt_decoder.c442 int pitch_index; in celt_decode_lost() local
454 PLC_PITCH_LAG_MAX-PLC_PITCH_LAG_MIN, &pitch_index, st->arch); in celt_decode_lost()
455 pitch_index = PLC_PITCH_LAG_MAX-pitch_index; in celt_decode_lost()
456 st->last_pitch_index = pitch_index; in celt_decode_lost()
458 pitch_index = st->last_pitch_index; in celt_decode_lost()
507 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost()
552 extrapolation_offset = MAX_PERIOD-pitch_index; in celt_decode_lost()
561 if (j >= pitch_index) { in celt_decode_lost()
562 j -= pitch_index; in celt_decode_lost()