Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_encoder.c84 #define OPUS_ENCODER_RESET_START stream_channels
85 int stream_channels; member
185 st->stream_channels = st->channels = channels; in opus_encoder_init()
1052 data[0] = gen_toc(tocmode, frame_rate, bw, st->stream_channels); in opus_encode_native()
1085 st->stream_channels = st->force_channels; in opus_encode_native()
1090 st->stream_channels = 3-st->stream_channels; in opus_encode_native()
1097 if (st->stream_channels == 2) in opus_encode_native()
1101 st->stream_channels = (equiv_rate > stereo_threshold) ? 2 : 1; in opus_encode_native()
1103 st->stream_channels = st->channels; in opus_encode_native()
1107 equiv_rate = st->bitrate_bps - (40*st->stream_channels+20)*(st->Fs/frame_size - 50); in opus_encode_native()
[all …]
Dopus_decoder.c64 #define OPUS_DECODER_RESET_START stream_channels
65 int stream_channels; member
122 st->stream_channels = st->channels = channels; in opus_decoder_init()
345 st->DecControl.nChannelsInternal = st->stream_channels; in opus_decode_frame()
439 celt_decoder_ctl(celt_dec, CELT_SET_CHANNELS(st->stream_channels)); in opus_decode_frame()
652 st->stream_channels = packet_stream_channels; in opus_decode_native()
672 st->stream_channels = packet_stream_channels; in opus_decode_native()
813 st->stream_channels = st->channels; in opus_decoder_ctl()
/external/libopus/celt/
Dcelt_decoder.c68 int stream_channels; member
156 st->stream_channels = st->channels = channels; in opus_custom_decoder_init()
695 int C = st->stream_channels;
1119 st->stream_channels = value;
Dcelt_encoder.c62 int stream_channels; member
177 st->stream_channels = st->channels = channels; in opus_custom_encoder_init_arch()
1272 const int C = st->stream_channels; in celt_encode_with_ec()
2250 st->stream_channels = value; in opus_custom_encoder_ctl()