Lines Matching refs:nchannels
97 for (j = 0; j < c->nchannels; j++) { in parse_dmix_coeffs()
132 c->nchannels = get_bits(&s->gb, 4) + 1; in chs_parse_header()
133 if (c->nchannels > DCA_XLL_CHANNELS_MAX) { in chs_parse_header()
134 avpriv_request_sample(s->avctx, "%d XLL channels", c->nchannels); in chs_parse_header()
139 c->residual_encode = get_bits(&s->gb, c->nchannels); in chs_parse_header()
217 if (av_popcount(c->ch_mask) != c->nchannels) { in chs_parse_header()
228 if (c->nchannels != 2 || s->nchsets != 1 || get_bits1(&s->gb)) { in chs_parse_header()
280 if ((b->decor_enabled = get_bits1(&s->gb)) && c->nchannels > 1) { in chs_parse_header()
281 int ch_nbits = av_ceil_log2(c->nchannels); in chs_parse_header()
284 for (i = 0; i < c->nchannels; i++) { in chs_parse_header()
286 if (b->orig_order[i] >= c->nchannels) { in chs_parse_header()
293 for (i = 0; i < c->nchannels / 2; i++) in chs_parse_header()
296 for (i = 0; i < c->nchannels; i++) in chs_parse_header()
298 for (i = 0; i < c->nchannels / 2; i++) in chs_parse_header()
304 for (i = 0; i < c->nchannels; i++) { in chs_parse_header()
315 for (i = 0; i < c->nchannels; i++) in chs_parse_header()
319 for (i = 0; i < c->nchannels; i++) { in chs_parse_header()
351 for (i = 0; i < c->nchannels; i++) { in chs_parse_header()
360 for (i = 0; i < c->nchannels; i++) in chs_parse_header()
367 for (i = 0; i < c->nchannels; i++) in chs_parse_header()
370 for (i = 0; i < c->nchannels; i++) in chs_parse_header()
390 int i, j, nsamples = nchsamples * c->nchannels * c->nfreqbands; in chs_alloc_msb_band_data()
400 for (j = 0; j < c->nchannels; j++) { in chs_alloc_msb_band_data()
417 nsamples += s->nframesamples * c->nchannels; in chs_alloc_lsb_band_data()
429 for (j = 0; j < c->nchannels; j++) { in chs_alloc_lsb_band_data()
434 for (j = 0; j < c->nchannels; j++) in chs_alloc_lsb_band_data()
455 k = c->seg_common ? 1 : c->nchannels; in chs_parse_band_data()
501 for (i = 0; i < c->nchannels; i++) { in chs_parse_band_data()
567 for (i = 0; i < c->nchannels; i++) in chs_parse_band_data()
581 for (i = 0; i < c->nchannels; i++) { in chs_parse_band_data()
612 for (i = 0; i < c->nchannels; i++) { in chs_clear_band_data()
634 for (i = 0; i < c->nchannels; i++) { in chs_filter_band_data()
669 for (i = 0; i < c->nchannels / 2; i++) { in chs_filter_band_data()
679 for (i = 0; i < c->nchannels; i++) in chs_filter_band_data()
682 for (i = 0; i < c->nchannels; i++) in chs_filter_band_data()
688 for (i = 0; i < c->nchannels; i++) in chs_filter_band_data()
712 for (ch = 0; ch < c->nchannels; ch++) { in chs_assemble_msbs_lsbs()
738 2 * nsamples * c->nchannels * sizeof(int32_t)); in chs_assemble_freq_bands()
744 for (ch = 0; ch < c->nchannels; ch++) { in chs_assemble_freq_bands()
896 for (j = 0; j < c->nchannels; j++) { in prescale_down_mix()
911 s->nchannels = 0; in parse_sub_headers()
914 c->hier_ofs = s->nchannels; in parse_sub_headers()
920 s->nchannels += c->nchannels; in parse_sub_headers()
921 if (c->residual_encode != (1 << c->nchannels) - 1) in parse_sub_headers()
941 s->nactivechsets = (s->chset[0].nchannels < 5 && s->nchsets > 1) ? 2 : 1; in parse_sub_headers()
1180 int i, j, k, nchannels = 0, *coeff_ptr = o->dmix_coeff; in undo_down_mix() local
1188 for (j = 0; j < c->nchannels; j++) { in undo_down_mix()
1189 for (k = 0; k < o->nchannels; k++) { in undo_down_mix()
1203 nchannels += c->nchannels; in undo_down_mix()
1204 if (nchannels >= o->hier_ofs) in undo_down_mix()
1211 int i, j, nchannels = 0; in scale_down_mix() local
1219 for (j = 0; j < c->nchannels; j++) { in scale_down_mix()
1220 int scale = o->dmix_scale[nchannels++]; in scale_down_mix()
1230 if (nchannels >= o->hier_ofs) in scale_down_mix()
1245 for (ch = 0; ch < c->nchannels; ch++) { in force_lossy_output()
1282 for (ch = 0; ch < c->nchannels; ch++) { in combine_residual_frame()
1351 if (c->residual_encode != (1 << c->nchannels) - 1 in ff_dca_xll_filter_frame()