Home
last modified time | relevance | path

Searched refs:stream_channels (Results 1 – 4 of 4) sorted by relevance

/external/libopus/src/
Dopus_encoder.c89 #define OPUS_ENCODER_RESET_START stream_channels
90 int stream_channels; member
187 st->stream_channels = st->channels = channels; in opus_encoder_init()
1080 data[0] = gen_toc(tocmode, frame_rate, bw, st->stream_channels); in opus_encode_native()
1113 st->stream_channels = st->force_channels; in opus_encode_native()
1118 st->stream_channels = 3-st->stream_channels; in opus_encode_native()
1125 if (st->stream_channels == 2) in opus_encode_native()
1129 st->stream_channels = (equiv_rate > stereo_threshold) ? 2 : 1; in opus_encode_native()
1131 st->stream_channels = st->channels; in opus_encode_native()
1135 equiv_rate = st->bitrate_bps - (40*st->stream_channels+20)*(st->Fs/frame_size - 50); in opus_encode_native()
[all …]
Dopus_decoder.c65 #define OPUS_DECODER_RESET_START stream_channels
66 int stream_channels; member
117 st->stream_channels = st->channels = channels; in opus_decoder_init()
356 st->DecControl.nChannelsInternal = st->stream_channels; in opus_decode_frame()
450 celt_decoder_ctl(celt_dec, CELT_SET_CHANNELS(st->stream_channels)); in opus_decode_frame()
666 st->stream_channels = packet_stream_channels; in opus_decode_native()
686 st->stream_channels = packet_stream_channels; in opus_decode_native()
845 st->stream_channels = st->channels; in opus_decoder_ctl()
/external/libopus/celt/
Dcelt_decoder.c71 int stream_channels; member
160 st->stream_channels = st->channels = channels; in opus_custom_decoder_init()
758 int C = st->stream_channels;
1171 st->stream_channels = value;
Dcelt_encoder.c61 int stream_channels; member
175 st->stream_channels = st->channels = channels; in opus_custom_encoder_init_arch()
1338 const int C = st->stream_channels; in celt_encode_with_ec()
2307 st->stream_channels = value; in opus_custom_encoder_ctl()