Lines Matching refs:prim_channels
385 int prim_channels; ///< number of primary audio channels
587 s->prim_channels = s->total_channels;
614 for (i = base_channel; i < s->prim_channels; i++) {
618 for (j = base_channel; j < s->prim_channels; j++) {
642 if (s->prim_channels > DCA_PRIM_CHANNELS_MAX)
643 s->prim_channels = DCA_PRIM_CHANNELS_MAX;
646 for (i = base_channel; i < s->prim_channels; i++) {
651 for (i = base_channel; i < s->prim_channels; i++) {
656 get_array(&s->gb, s->joint_intensity + base_channel, s->prim_channels - base_channel, 3);
657 get_array(&s->gb, s->transient_huffman + base_channel, s->prim_channels - base_channel, 2);
658 get_array(&s->gb, s->scalefactor_huffman + base_channel, s->prim_channels - base_channel, 3);
659 get_array(&s->gb, s->bitalloc_huffman + base_channel, s->prim_channels - base_channel, 3);
665 for (i = base_channel; i < s->prim_channels; i++)
670 for (i = base_channel; i < s->prim_channels; i++)
674 for (i = base_channel; i < s->prim_channels; i++)
695 av_log(s->avctx, AV_LOG_DEBUG, "prim channels: %i\n", s->prim_channels);
696 for (i = base_channel; i < s->prim_channels; i++) {
855 for (j = base_channel; j < s->prim_channels; j++) {
861 for (j = base_channel; j < s->prim_channels; j++) {
871 for (j = base_channel; j < s->prim_channels; j++) {
895 for (j = base_channel; j < s->prim_channels; j++) {
909 for (j = base_channel; j < s->prim_channels; j++) {
942 for (j = base_channel; j < s->prim_channels; j++) {
952 for (j = base_channel; j < s->prim_channels; j++) {
990 for (j = base_channel; j < s->prim_channels; j++)
1029 for (j = base_channel; j < s->prim_channels; j++) {
1035 for (j = base_channel; j < s->prim_channels; j++) {
1044 for (j = base_channel; j < s->prim_channels; j++) {
1050 for (j = base_channel; j < s->prim_channels; j++) {
1056 for (j = base_channel; j < s->prim_channels; j++) {
1066 for (j = base_channel; j < s->prim_channels; j++) {
1075 for (j = base_channel; j < s->prim_channels; j++)
1279 for (k = base_channel; k < s->prim_channels; k++) {
1408 for (k = base_channel; k < s->prim_channels; k++)
1421 for (k = 0; k < s->prim_channels; k++) {
1439 if (s->prim_channels + !!s->lfe > 2 &&
1517 for (in = 0; in < s->prim_channels + !!s->lfe; in++) {
1825 chset < num_chsets && chan_base + n_xbr_ch[chset] <= s->prim_channels;
1974 base_channel = s->prim_channels;
2180 num_core_channels = s->prim_channels;
2182 if (s->prim_channels + !!s->lfe > 2 &&
2207 s->prim_channels + !!s->lfe);
2250 s->xch_base_channel = s->prim_channels;
2331 full_channels = channels = s->prim_channels + !!s->lfe;
2343 if (s->prim_channels + !!s->lfe > 2 &&
2393 s->output = s->prim_channels == 2 ? s->amode : DCA_STEREO;
2413 && avctx->request_channels < s->prim_channels) {
2421 channels = s->prim_channels + !!s->lfe;