• Home
  • Raw
  • Download

Lines Matching refs:nchannels

153     int n, ch, nchannels, header_size = 0, header_pos = get_bits_count(&s->gb);  in parse_coding_header()  local
165 s->nchannels = get_bits(&s->gb, 3) + 1; in parse_coding_header()
166 if (s->nchannels != ff_dca_channels[s->audio_mode]) { in parse_coding_header()
167 …of primary audio channels (%d) for audio channel arrangement (%d)\n", s->nchannels, s->audio_mode); in parse_coding_header()
170 av_assert1(s->nchannels <= DCA_CHANNELS - 2); in parse_coding_header()
180 s->nchannels = ff_dca_channels[s->audio_mode] + 1; in parse_coding_header()
181 av_assert1(s->nchannels <= DCA_CHANNELS - 1); in parse_coding_header()
197 nchannels = get_bits(&s->gb, 3) + 1; in parse_coding_header()
198 if (nchannels > DCA_XXCH_CHANNELS_MAX) { in parse_coding_header()
199 avpriv_request_sample(s->avctx, "%d XXCH channels", nchannels); in parse_coding_header()
202 s->nchannels = ff_dca_channels[s->audio_mode] + nchannels; in parse_coding_header()
203 av_assert1(s->nchannels <= DCA_CHANNELS); in parse_coding_header()
209 if (av_popcount(s->xxch_spkr_mask) != nchannels) { in parse_coding_header()
238 for (ch = 0; ch < nchannels; ch++) { in parse_coding_header()
248 for (ch = 0; ch < nchannels; ch++) { in parse_coding_header()
274 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_coding_header()
283 for (ch = xch_base; ch < s->nchannels; ch++) in parse_coding_header()
287 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_coding_header()
290 if (n > s->nchannels) { in parse_coding_header()
298 for (ch = xch_base; ch < s->nchannels; ch++) in parse_coding_header()
302 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_coding_header()
311 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_coding_header()
321 for (ch = xch_base; ch < s->nchannels; ch++) in parse_coding_header()
326 for (ch = xch_base; ch < s->nchannels; ch++) in parse_coding_header()
416 for (ch = xch_base; ch < s->nchannels; ch++) in parse_subframe_header()
421 for (ch = xch_base; ch < s->nchannels; ch++) in parse_subframe_header()
427 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_header()
448 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_header()
462 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_header()
491 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_header()
502 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_header()
638 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_audio()
687 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_audio()
737 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_audio()
744 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_subframe_audio()
813 for (ch = xch_base; ch < s->nchannels; ch++) { in parse_frame_data()
846 if ((ret = parse_frame_data(s, HEADER_XCH, s->nchannels)) < 0) in parse_xch_frame()
924 if ((ret = parse_frame_data(s, HEADER_XXCH, s->nchannels)) < 0) in parse_xxch_frame()
1128 if (xbr_base_ch + xbr_nchannels[i] <= s->nchannels) { in parse_xbr_frame()
1524 s->x96_nchannels = s->nchannels; in parse_x96_frame()
1600 if (x96_base_ch + x96_nchannels[i] <= s->nchannels) { in parse_x96_frame_exss()
1861 s->nchannels = ff_dca_channels[s->audio_mode]; in ff_dca_core_parse_exss()
2007 for (ch = 0; ch < s->nchannels; ch++) { in ff_dca_core_filter_fixed()
2097 av_assert1(s->nchannels - xch_base <= DCA_XXCH_CHANNELS_MAX); in filter_frame_fixed()
2108 for (ch = xch_base; ch < s->nchannels; ch++) { in filter_frame_fixed()
2164 int i, n, ch, ret, spkr, nsamples, nchannels; in filter_frame_float() local
2186 nchannels = av_popcount(s->ch_mask) - avctx->channels; in filter_frame_float()
2187 if (nchannels > 0) { in filter_frame_float()
2189 nsamples * nchannels * sizeof(float)); in filter_frame_float()
2216 for (ch = 0; ch < s->nchannels; ch++) { in filter_frame_float()
2288 av_assert1(s->nchannels - xch_base <= DCA_XXCH_CHANNELS_MAX); in filter_frame_float()
2291 for (ch = xch_base; ch < s->nchannels; ch++) { in filter_frame_float()