Searched refs:MAX_PERIOD (Results 1 – 3 of 3) sorted by relevance
/external/libopus/celt/ |
D | celt_decoder.c | 133 celt_assert(st->postfilter_period < MAX_PERIOD); in validate_celt_decoder() 135 celt_assert(st->postfilter_period_old < MAX_PERIOD); in validate_celt_decoder() 609 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost() 612 ALLOC(_exc, MAX_PERIOD+LPC_ORDER, opus_val16); in celt_decode_lost() 626 for (i=0;i<MAX_PERIOD+LPC_ORDER;i++) in celt_decode_lost() 627 exc[i-LPC_ORDER] = ROUND16(buf[DECODE_BUFFER_SIZE-MAX_PERIOD-LPC_ORDER+i], SIG_SHIFT); in celt_decode_lost() 635 LPC_ORDER, MAX_PERIOD, st->arch); in celt_decode_lost() 676 celt_fir(exc+MAX_PERIOD-exc_length, lpc+c*LPC_ORDER, in celt_decode_lost() 678 OPUS_COPY(exc+MAX_PERIOD-exc_length, fir_tmp, exc_length); in celt_decode_lost() 688 … int shift = IMAX(0,2*celt_zlog2(celt_maxabs16(&exc[MAX_PERIOD-exc_length], exc_length))-20); in celt_decode_lost() [all …]
|
D | modes.h | 40 #define MAX_PERIOD 1024 macro
|
D | celt_encoder.c | 119 celt_sig syn_mem[2][2*MAX_PERIOD+MAX_PERIOD/2]; 2247 OPUS_MOVE(st->syn_mem[c], st->syn_mem[c]+N, 2*MAX_PERIOD-N+overlap/2); in celt_encode_with_ec() 2251 out_mem[c] = st->syn_mem[c]+2*MAX_PERIOD-N; in celt_encode_with_ec()
|