summaryrefslogtreecommitdiff
path: root/libavcodec/dirac.h
diff options
context:
space:
mode:
authorKieran Kunhya <kierank@ob-encoder.com>2015-12-09 13:45:23 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-12-10 21:47:01 +0000
commitcdf8c9038ddb4a655661460896e8ba8046deb0a2 (patch)
treebe128b81a313e1e39c463590e7615d28c7fc04c0 /libavcodec/dirac.h
parent7424a6d0a589d31100d6067ebcb47236c00f4b36 (diff)
diracdec: Replace dirac parse codes with better ones
Diffstat (limited to 'libavcodec/dirac.h')
-rw-r--r--libavcodec/dirac.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/libavcodec/dirac.h b/libavcodec/dirac.h
index 6852e82d7f..b4982f89ce 100644
--- a/libavcodec/dirac.h
+++ b/libavcodec/dirac.h
@@ -34,6 +34,28 @@
#include "avcodec.h"
#include "get_bits.h"
+/**
+ * Parse code values:
+ *
+ * Dirac Specification ->
+ * 9.6.1 Table 9.1
+ *
+ * VC-2 Specification ->
+ * 10.4.1 Table 10.1
+ */
+
+enum DiracParseCodes {
+ DIRAC_PCODE_SEQ_HEADER = 0x00,
+ DIRAC_PCODE_END_SEQ = 0x10,
+ DIRAC_PCODE_AUX = 0x20,
+ DIRAC_PCODE_PAD = 0x30,
+ DIRAC_PCODE_PICTURE_CODED = 0x08,
+ DIRAC_PCODE_PICTURE_RAW = 0x48,
+ DIRAC_PCODE_PICTURE_LOW_DEL = 0xC8,
+ DIRAC_PCODE_PICTURE_HQ = 0xE8,
+ DIRAC_PCODE_MAGIC = 0x42424344,
+};
+
typedef struct DiracVersionInfo {
int major;
int minor;