Lines Matching defs:channels
68 int ibps = tctx->avctx->bit_rate / (1000 * tctx->avctx->channels);
77 if (tctx->avctx->channels == 1) {
87 if (tctx->avctx->channels == 1)
105 pgain_base = tctx->avctx->channels == 2 ? 25000.0 : 20000.0;
126 if (tctx->avctx->channels == 1)
134 if (tctx->avctx->channels == 1)
169 int channels = tctx->avctx->channels;
196 for (i = 0; i < channels; i++)
202 for (i = 0; i < channels; i++)
207 for (i = 0; i < channels; i++)
210 for (i = 0; i < channels; i++) {
218 for (i = 0; i < channels; i++) {
228 for (i = 0; i < channels; i++) {
245 int channels;
292 avctx->channels = props->channels;
300 if (avctx->channels <= 0 || avctx->channels > TWINVQ_CHANNELS_MAX) {
301 av_log(avctx, AV_LOG_ERROR, "Unsupported number of channels: %i\n",
302 avctx->channels);
305 avctx->channel_layout = avctx->channels == 1 ? AV_CH_LAYOUT_MONO
308 ibps = avctx->bit_rate / (1000 * avctx->channels);
310 switch ((avctx->channels << 16) + (isampf << 8) + ibps) {