Searched refs:MAX_PERIOD (Results 1 – 3 of 3) sorted by relevance
/external/libopus/celt/ |
D | celt_decoder.c | 523 ALLOC(exc, MAX_PERIOD, opus_val16); in celt_decode_lost() 536 for (i=0;i<MAX_PERIOD;i++) { in celt_decode_lost() 537 exc[i] = ROUND16(buf[DECODE_BUFFER_SIZE-MAX_PERIOD+i], SIG_SHIFT); in celt_decode_lost() 546 LPC_ORDER, MAX_PERIOD, st->arch); in celt_decode_lost() 567 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost() 578 celt_fir(exc+MAX_PERIOD-exc_length, lpc+c*LPC_ORDER, in celt_decode_lost() 579 exc+MAX_PERIOD-exc_length, exc_length, LPC_ORDER, lpc_mem, st->arch); in celt_decode_lost() 589 … int shift = IMAX(0,2*celt_zlog2(celt_maxabs16(&exc[MAX_PERIOD-exc_length], exc_length))-20); in celt_decode_lost() 595 e = exc[MAX_PERIOD-decay_length+i]; in celt_decode_lost() 597 e = exc[MAX_PERIOD-2*decay_length+i]; in celt_decode_lost() [all …]
|
D | modes.h | 40 #define MAX_PERIOD 1024 macro
|
D | celt_encoder.c | 118 celt_sig syn_mem[2][2*MAX_PERIOD+MAX_PERIOD/2]; 2071 OPUS_MOVE(st->syn_mem[c], st->syn_mem[c]+N, 2*MAX_PERIOD-N+overlap/2); in celt_encode_with_ec() 2075 out_mem[c] = st->syn_mem[c]+2*MAX_PERIOD-N; in celt_encode_with_ec()
|