Lines Matching defs:channels
125 * @param channels count of the number of channels in the configuration
131 int type, int id, int *channels)
133 if (*channels >= MAX_CHANNELS)
142 if (*channels >= MAX_CHANNELS - (type == TYPE_CPE || (type == TYPE_SCE && ac->oc[1].m4ac.ps == 1))) {
143 av_log(ac->avctx, AV_LOG_ERROR, "Too many channels\n");
146 ac->output_element[(*channels)++] = &ac->che[type][id]->ch[0];
149 ac->output_element[(*channels)++] = &ac->che[type][id]->ch[1];
538 int i, channels = 0, ret;
557 // channels in the order the PCE declared them.
574 ret = che_configure(ac, position, type, iid, &channels);
579 if (ac->oc[1].m4ac.ps == 1 && channels == 2) {
592 ac->oc[1].ch_layout.nb_channels = channels;
648 * channel config 7, mapping the side channels of the original audio stream
650 * decodes the second AAC_CHANNEL_FRONT pair as side channels, therefore decoding
671 /* For PCE based channel configurations map the channels solely based
716 /* For indexed channel configurations map the channels solely based
807 * @param type speaker type/position for these channels
1309 ac->oc[1].m4ac.channels = avctx->ch_layout.nb_channels;
1333 av_log(avctx, AV_LOG_ERROR, "Too many channels\n");
2438 * Parse whether channels are to be excluded from Dynamic Range Compression; reference: table 4.53.
3571 {"both", "Select both channels", 0, AV_OPT_TYPE_CONST, {.i64= 0}, INT_MIN, INT_MAX, AACDEC_FLAGS, "dual_mono_mode"},
3573 { "channel_order", "Order in which the channels are to be exported",
3578 { "coded", "order in which the channels are coded in the bitstream",