aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlp.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-05 22:53:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-05 22:53:13 +0100
commitb4107f7805be6699d4b38449b1f9235958a2a133 (patch)
treea0403f61442e8d2dff1d66c5577d8cfae861f30e /libavcodec/mlp.h
parentae01af24756d6f5bd13eef405ca19a8bf458b39f (diff)
parent4b7f1a7ced0e98f2cc698d896f7ebab8d30eaa09 (diff)
downloadffmpeg-b4107f7805be6699d4b38449b1f9235958a2a133.tar.gz
Merge commit '4b7f1a7ced0e98f2cc698d896f7ebab8d30eaa09'
* commit '4b7f1a7ced0e98f2cc698d896f7ebab8d30eaa09': mlp: Parse TrueHD decoder channel modifiers and set the AVMatrixEncoding for each substream. Conflicts: libavcodec/mlp_parser.h libavcodec/mlpdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mlp.h')
-rw-r--r--libavcodec/mlp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/mlp.h b/libavcodec/mlp.h
index d8d1292903..bb9ca26aa8 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 */