Lines Matching defs:base_channel
565 static int dca_parse_audio_coding_header(DCAContext *s, int base_channel,
586 s->total_channels = nchans + base_channel;
614 for (i = base_channel; i < s->prim_channels; i++) {
618 for (j = base_channel; j < s->prim_channels; j++) {
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);
662 if (!base_channel)
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++)
696 for (i = base_channel; i < s->prim_channels; i++) {
842 static int dca_subframe_header(DCAContext *s, int base_channel, int block_index)
850 if (!base_channel) {
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++) {
977 if (!base_channel && s->dynrange)
990 for (j = base_channel; j < s->prim_channels; j++)
996 if (!base_channel && s->lfe) {
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++)
1078 if (!base_channel && s->lfe) {
1258 static int dca_subsubframe(DCAContext *s, int base_channel, int block_index)
1279 for (k = base_channel; k < s->prim_channels; k++) {
1408 for (k = base_channel; k < s->prim_channels; k++)
1449 static int dca_subframe_footer(DCAContext *s, int base_channel)
1459 if (!base_channel) {
1558 static int dca_decode_block(DCAContext *s, int base_channel, int block_index)
1574 if ((ret = dca_subframe_header(s, base_channel, block_index)))
1582 if ((ret = dca_subsubframe(s, base_channel, block_index)))
1596 if ((ret = dca_subframe_footer(s, base_channel)))
1950 int i, chset, base_channel, chstart, fsize[8];
1974 base_channel = s->prim_channels;
1979 dca_parse_audio_coding_header(s, base_channel, 1);
1983 if (dca_decode_block(s, base_channel, i)) {