summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authoreddyg <[email protected]>2008-02-16 01:13:09 +0000
committereddyg <[email protected]>2008-02-16 01:13:09 +0000
commitd6308581fa42b2c7503430c0fb8c3d9a828edb50 (patch)
tree2cd868f10e943bd612ebe21e2589322040eff83f /libhb/common.h
parent0b8c4601d56a6cc153d3543b782a975a0e725fc4 (diff)
Allow mac gui to select AC-3 + AAC at the same time, still needs CLI work for the same.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1267 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 682b60c89..3dce71923 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -211,6 +211,13 @@ struct hb_job_s
// A52_FORMAT of A52_3F2R | A52_LFE = 23 = 0x17
// discrete channel count of 6
+#define HB_AMIXDOWN_AC3 0x20000000
+
+#define HB_AMIXDOWN_DOLBYPLII_AC3 0x404094A2
+// DCA_FORMAT of DCA_3F2R | DCA_OUT_DPLII = 1033 = 0x409
+// A52_FORMAT of A52_DOLBY | A52_USE_DPLII = 74 = 0x4A
+// discrete channel count of 2
+
/* define some macros to extract the various information from the HB_AMIXDOWN_XXXX values */
#define HB_AMIXDOWN_GET_DCA_FORMAT( a ) ( ( a & HB_AMIXDOWN_DCA_FORMAT_MASK ) >> 12 )
#define HB_AMIXDOWN_GET_A52_FORMAT( a ) ( ( a & HB_AMIXDOWN_A52_FORMAT_MASK ) >> 4 )