Lines Matching refs:MAX_PERIOD
139 celt_assert(st->postfilter_period < MAX_PERIOD); in validate_celt_decoder()
141 celt_assert(st->postfilter_period_old < MAX_PERIOD); in validate_celt_decoder()
615 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost()
618 ALLOC(_exc, MAX_PERIOD+LPC_ORDER, opus_val16); in celt_decode_lost()
632 for (i=0;i<MAX_PERIOD+LPC_ORDER;i++) in celt_decode_lost()
633 exc[i-LPC_ORDER] = ROUND16(buf[DECODE_BUFFER_SIZE-MAX_PERIOD-LPC_ORDER+i], SIG_SHIFT); in celt_decode_lost()
641 LPC_ORDER, MAX_PERIOD, st->arch); in celt_decode_lost()
682 celt_fir(exc+MAX_PERIOD-exc_length, lpc+c*LPC_ORDER, in celt_decode_lost()
684 OPUS_COPY(exc+MAX_PERIOD-exc_length, fir_tmp, exc_length); in celt_decode_lost()
694 … int shift = IMAX(0,2*celt_zlog2(celt_maxabs16(&exc[MAX_PERIOD-exc_length], exc_length))-20); in celt_decode_lost()
700 e = exc[MAX_PERIOD-decay_length+i]; in celt_decode_lost()
702 e = exc[MAX_PERIOD-2*decay_length+i]; in celt_decode_lost()
717 extrapolation_offset = MAX_PERIOD-pitch_index; in celt_decode_lost()
736 buf[DECODE_BUFFER_SIZE-MAX_PERIOD-N+extrapolation_offset+j], in celt_decode_lost()