Home | History | Annotate | Download | only in celt

Lines Matching full:channels

67    int channels;
91 celt_sig _decode_mem[1]; /* Size = channels*(DECODE_BUFFER_SIZE+mode->overlap) */
92 /* opus_val16 lpc[], Size = channels*LPC_ORDER */
99 int celt_decoder_get_size(int channels)
102 return opus_custom_decoder_get_size(mode, channels);
105 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_get_size(const CELTMode *mode, int channels)
108 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig)
109 + channels*LPC_ORDER*sizeof(opus_val16)
115 CELTDecoder *opus_custom_decoder_create(const CELTMode *mode, int channels, int *error)
118 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels));
119 ret = opus_custom_decoder_init(st, mode, channels);
131 int celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels)
134 ret = opus_custom_decoder_init(st, opus_custom_mode_create(48000, 960, NULL), channels);
144 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_init(CELTDecoder *st, const CELTMode *mode, int channels)
146 if (channels < 0 || channels > 2)
152 OPUS_CLEAR((char*)st, opus_custom_decoder_get_size(mode, channels));
156 st->stream_channels = st->channels = channels;
256 all channels in a frame */
337 const int C = st->channels;
678 const int CC = st->channels;
1044 C = st->channels;
1074 C = st->channels;
1143 lpc = (opus_val16*)(st->_decode_mem+(DECODE_BUFFER_SIZE+st->overlap)*st->channels);
1144 oldBandE = lpc+st->channels*LPC_ORDER;
1148 opus_custom_decoder_get_size(st->mode, st->channels)-