Lines Matching defs:substream
58 /// Set if a valid restart header has been read. Otherwise the substream cannot be decoded.
68 /// The index of the first channel coded in this substream.
70 /// The index of the last channel coded in this substream.
76 /// The channel layout for this substream
78 /// The matrix encoding mode for this substream
82 /// Channel coding parameters for channels in the substream
90 /// Set if the substream contains extra info to check the size of VLC blocks.
156 /// Index of the last substream to decode - further substreams are skipped.
167 SubStream substream[MAX_SUBSTREAMS];
237 SubStream *s = &m->substream[substr];
258 SubStream *s = &m->substream[substr];
299 m->substream[substr].lossless_check_data = 0xffffffff;
399 m->dsp.mlp_pack_output = m->dsp.mlp_select_pack_output(m->substream[m->max_decoded_substream].ch_assign,
400 m->substream[m->max_decoded_substream].output_shift,
401 m->substream[m->max_decoded_substream].max_matrix_channel,
406 m->substream[substr].restart_seen = 0;
408 /* Set the layout for each substream. When there's more than one, the first
409 * substream is Stereo. Subsequent substreams' layouts are indicated in the
419 m->substream[0].mask = AV_CH_LAYOUT_STEREO;
420 m->substream[substr].mask = mh.channel_layout_mlp;
431 m->substream[0].mask = AV_CH_LAYOUT_STEREO;
433 m->substream[0].mask = AV_CH_LAYOUT_STEREO;
436 m->substream[2].mask = mh.channel_layout_thd_stream2;
438 m->substream[2].mask = mh.channel_layout_thd_stream1;
440 m->substream[mh.num_substreams > 1].mask = mh.channel_layout_thd_stream1;
443 m->substream[substr].mask == AV_CH_LAYOUT_MONO && m->max_decoded_substream == 1) {
455 /* Parse the TrueHD decoder channel modifiers and set each substream's
468 m->substream[substr].matrix_encoding = AV_MATRIX_ENCODING_NONE;
474 m->substream[2].matrix_encoding = AV_MATRIX_ENCODING_DOLBYEX;
480 m->substream[1].matrix_encoding = AV_MATRIX_ENCODING_DOLBYEX;
485 m->substream[0].matrix_encoding = AV_MATRIX_ENCODING_DOLBY;
488 m->substream[0].matrix_encoding = AV_MATRIX_ENCODING_DOLBYHEADPHONE;
498 /** Read a restart header from a block in a substream. This contains parameters
505 SubStream *s = &m->substream[substr];
574 "Extracting %d-channel downmix (0x%"PRIx64") from substream %d. "
678 SubStream *s = &m->substream[substr];
751 SubStream *s = &m->substream[substr];
820 SubStream *s = &m->substream[substr];
877 SubStream *s = &m->substream[substr];
960 SubStream *s = &m->substream[substr];
987 SubStream *s = &m->substream[substr];
1057 SubStream *s = &m->substream[substr];
1077 SubStream *s = &m->substream[substr];
1096 SubStream *s = &m->substream[substr];
1243 "Indicated length of substream %d data goes off end of "
1250 "Indicated end offset of substream %d data "
1275 SubStream *s = &m->substream[substr];
1278 m->substream[m->max_decoded_substream].min_channel == 0 &&
1279 m->substream[m->max_decoded_substream].max_channel == avctx->ch_layout.nb_channels - 1)
1353 "No restart header present in substream %d.\n", substr);
1363 SubStream *s = &m->substream[substr];
1375 av_log(m->avctx, AV_LOG_ERROR, "substream %d length mismatch\n", substr);
1389 SubStream *s = &m->substream[substr];