From 4b7f1a7ced0e98f2cc698d896f7ebab8d30eaa09 Mon Sep 17 00:00:00 2001 From: Tim Walker Date: Wed, 11 Dec 2013 02:03:32 +0000 Subject: mlp: Parse TrueHD decoder channel modifiers and set the AVMatrixEncoding for each substream. --- libavcodec/mlp.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libavcodec/mlp.h') 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 */ -- cgit v1.2.3