diff options
author | Tim Walker <tdskywalker@gmail.com> | 2013-12-11 02:03:32 +0000 |
---|---|---|
committer | Tim Walker <tdskywalker@gmail.com> | 2014-01-05 16:41:56 +0100 |
commit | 4b7f1a7ced0e98f2cc698d896f7ebab8d30eaa09 (patch) | |
tree | 7973beb19a4ce117be284628eda4e18aa3bb6cd2 /libavcodec/mlp.h | |
parent | 30d70e79a6b4ac7f4eb66446a9da275161ef6ea7 (diff) | |
download | ffmpeg-4b7f1a7ced0e98f2cc698d896f7ebab8d30eaa09.tar.gz |
mlp: Parse TrueHD decoder channel modifiers and set the AVMatrixEncoding for each substream.
Diffstat (limited to 'libavcodec/mlp.h')
-rw-r--r-- | libavcodec/mlp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/mlp.h b/libavcodec/mlp.h index d7711126b8..5a4ee5fc42 100644 --- a/libavcodec/mlp.h +++ b/libavcodec/mlp.h @@ -124,4 +124,14 @@ static inline uint8_t xor_32_to_8(uint32_t value) return value; } +typedef enum THDChannelModifier { + THD_CH_MODIFIER_NOTINDICATED = 0x0, + THD_CH_MODIFIER_STEREO = 0x0, // Stereo (not Dolby Surround) + THD_CH_MODIFIER_LTRT = 0x1, // Dolby Surround + THD_CH_MODIFIER_LBINRBIN = 0x2, // Dolby Headphone + THD_CH_MODIFIER_MONO = 0x3, // Mono or Dual Mono + THD_CH_MODIFIER_NOTSURROUNDEX = 0x1, // Not Dolby Digital EX + THD_CH_MODIFIER_SURROUNDEX = 0x2, // Dolby Digital EX +} THDChannelModifier; + #endif /* AVCODEC_MLP_H */ |