Lines Matching defs:channels
183 int ibps = tctx->avctx->bit_rate / (1000 * tctx->avctx->channels);
256 int channels = tctx->avctx->channels;
277 for (i = 0; i < channels; i++)
283 for (i = 0; i < channels; i++)
288 for (i = 0; i < channels; i++)
291 for (i = 0; i < channels; i++) {
299 for (i = 0; i < channels; i++) {
309 for (i = 0; i < channels; i++) {
327 avctx->channels = AV_RB32(avctx->extradata) + 1;
350 if (avctx->channels <= 0 || avctx->channels > TWINVQ_CHANNELS_MAX) {
351 av_log(avctx, AV_LOG_ERROR, "Unsupported number of channels: %i\n",
352 avctx->channels);
355 avctx->channel_layout = avctx->channels == 1 ? AV_CH_LAYOUT_MONO
358 ibps = avctx->bit_rate / (1000 * avctx->channels);