Lines Matching defs:channel

68     /// The index of the first channel coded in this substream.
70 /// The index of the last channel coded in this substream.
74 /// For each channel output by the matrix, the output channel to map it to
76 /// The channel layout for this substream
111 /// matrix output channel
159 /// Stream needs channel reordering to comply with FFmpeg's channel order
259 unsigned int mat, channel;
265 for (channel = s->min_channel; channel <= s->max_channel; channel++) {
266 ChannelParams *cp = &s->channel_params[channel];
268 int quant_step_size = s->quant_step_size[channel];
285 m->sample_buffer[pos + s->blockpos][channel] = result;
316 * the stream - sample rate, channel arrangement etc. Most of this
455 /* Parse the TrueHD decoder channel modifiers and set each substream's
458 * The meaning of the modifiers depends on the channel layout:
460 * - THD_CH_MODIFIER_LTRT, THD_CH_MODIFIER_LBINRBIN only apply to 2-channel
462 * - THD_CH_MODIFIER_MONO applies to 1-channel or 2-channel (dual mono)
465 * layouts with an Ls/Rs channel pair
539 "Max matrix channel cannot be greater than %d.\n",
546 "Max channel must be equal max matrix channel.\n");
562 "Substream min channel cannot be greater than max channel.\n");
574 "Extracting %d-channel downmix (0x%"PRIx64") from substream %d. "
604 enum AVChannel channel = thd_channel_layout_extract_channel(s->mask, ch_assign);
607 ch_assign = av_channel_layout_index_from_channel(&l, channel);
611 "Assignment of matrix channel %d to invalid output channel %d",
675 unsigned int substr, unsigned int channel,
679 FilterParams *fp = &s->channel_params[channel].filter_params[filter];
687 if (m->filter_changed[channel][filter]++ > 1) {
702 int32_t *fcoeff = s->channel_params[channel].coeff[filter];
779 "Invalid channel %d specified as output from matrix.\n",
815 /** Read channel parameters. */
958 unsigned int channel)
961 const int32_t *fircoeff = s->channel_params[channel].coeff[FIR];
965 FilterParams *fir = &s->channel_params[channel].filter_params[FIR];
966 FilterParams *iir = &s->channel_params[channel].filter_params[IIR];
968 int32_t mask = MSB_MASK(s->quant_step_size[channel]);
976 &m->sample_buffer[s->blockpos][channel]);
1103 av_log(m->avctx, AV_LOG_ERROR, "channel count mismatch\n");
1120 /* Apply the channel matrices in turn to reconstruct the original audio
1399 { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout),