Lines Matching refs:prim_channels
319 int prim_channels; ///< number of primary audio channels
470 s->prim_channels = s->total_channels;
472 if (s->prim_channels > DCA_PRIM_CHANNELS_MAX)
473 s->prim_channels = DCA_PRIM_CHANNELS_MAX;
476 for (i = base_channel; i < s->prim_channels; i++) {
481 for (i = base_channel; i < s->prim_channels; i++) {
486 get_array(&s->gb, s->joint_intensity + base_channel, s->prim_channels - base_channel, 3);
487 get_array(&s->gb, s->transient_huffman + base_channel, s->prim_channels - base_channel, 2);
488 get_array(&s->gb, s->scalefactor_huffman + base_channel, s->prim_channels - base_channel, 3);
489 get_array(&s->gb, s->bitalloc_huffman + base_channel, s->prim_channels - base_channel, 3);
495 for (i = base_channel; i < s->prim_channels; i++)
500 for (i = base_channel; i < s->prim_channels; i++)
504 for (i = base_channel; i < s->prim_channels; i++)
518 av_log(s->avctx, AV_LOG_DEBUG, "prim channels: %i\n", s->prim_channels);
519 for (i = base_channel; i < s->prim_channels; i++) {
673 for (j = base_channel; j < s->prim_channels; j++) {
679 for (j = base_channel; j < s->prim_channels; j++) {
689 for (j = base_channel; j < s->prim_channels; j++) {
713 for (j = base_channel; j < s->prim_channels; j++) {
727 for (j = base_channel; j < s->prim_channels; j++) {
760 for (j = base_channel; j < s->prim_channels; j++) {
770 for (j = base_channel; j < s->prim_channels; j++) {
795 if (!base_channel && s->prim_channels > 2) {
797 for (j = base_channel; j < s->prim_channels; j++) {
808 for (j = base_channel; j < s->prim_channels; j++) {
829 for (j = base_channel; j < s->prim_channels; j++)
863 for (j = base_channel; j < s->prim_channels; j++) {
869 for (j = base_channel; j < s->prim_channels; j++) {
878 for (j = base_channel; j < s->prim_channels; j++) {
884 for (j = base_channel; j < s->prim_channels; j++) {
890 for (j = base_channel; j < s->prim_channels; j++) {
900 for (j = base_channel; j < s->prim_channels; j++) {
909 if (!base_channel && s->prim_channels > 2 && s->downmix) {
911 for (j = 0; j < s->prim_channels; j++) {
919 for (j = base_channel; j < s->prim_channels; j++)
1147 for (k = base_channel; k < s->prim_channels; k++) {
1261 for (k = base_channel; k < s->prim_channels; k++)
1276 for (k = 0; k < s->prim_channels; k++) {
1285 if (s->avctx->request_channels == 2 && s->prim_channels > 2) {
1734 num_core_channels = s->prim_channels;
1761 s->xch_base_channel = s->prim_channels;
1836 channels = s->prim_channels + !!s->lfe;
1864 if (avctx->request_channels == 2 && s->prim_channels > 2) {