summaryrefslogtreecommitdiff
path: root/libavcodec/mlp_parser.h
diff options
context:
space:
mode:
authorTim Walker <tdskywalker@gmail.com>2013-12-11 02:03:32 +0000
committerTim Walker <tdskywalker@gmail.com>2014-01-05 16:41:56 +0100
commit4b7f1a7ced0e98f2cc698d896f7ebab8d30eaa09 (patch)
tree7973beb19a4ce117be284628eda4e18aa3bb6cd2 /libavcodec/mlp_parser.h
parent30d70e79a6b4ac7f4eb66446a9da275161ef6ea7 (diff)
mlp: Parse TrueHD decoder channel modifiers and set the AVMatrixEncoding for each substream.
Diffstat (limited to 'libavcodec/mlp_parser.h')
-rw-r--r--libavcodec/mlp_parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mlp_parser.h b/libavcodec/mlp_parser.h
index e8744266e3..7530facebf 100644
--- a/libavcodec/mlp_parser.h
+++ b/libavcodec/mlp_parser.h
@@ -39,6 +39,10 @@ typedef struct MLPHeaderInfo
int group1_samplerate; ///< Sample rate of first substream
int group2_samplerate; ///< Sample rate of second substream (MLP only)
+ int channel_modifier_thd_stream0; ///< Channel modifier for substream 0 of TrueHD sreams ("2-channel presentation")
+ int channel_modifier_thd_stream1; ///< Channel modifier for substream 1 of TrueHD sreams ("6-channel presentation")
+ int channel_modifier_thd_stream2; ///< Channel modifier for substream 2 of TrueHD sreams ("8-channel presentation")
+
int channels_mlp; ///< Channel count for MLP streams
int channels_thd_stream1; ///< Channel count for substream 1 of TrueHD streams ("6-channel presentation")
int channels_thd_stream2; ///< Channel count for substream 2 of TrueHD streams ("8-channel presentation")