summaryrefslogtreecommitdiff
path: root/libavcodec/libutvideo.h
diff options
context:
space:
mode:
authorStephen Hutchinson <qyot27@gmail.com>2013-06-09 08:08:03 -0400
committerMichael Niedermayer <michaelni@gmx.at>2013-06-10 10:12:15 +0200
commit8ed6c13fe3d7990962c10f22dc0b60dba67d7a04 (patch)
tree525a2af88d45cc62cda71664add32ecf7e470e3b /libavcodec/libutvideo.h
parent0047da071ed18318e87b6e59d7442f37e24f5678 (diff)
libutvideo: Add ULH0 and ULH2 decoding when using version 13.0.1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libutvideo.h')
-rw-r--r--libavcodec/libutvideo.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libavcodec/libutvideo.h b/libavcodec/libutvideo.h
index b35d19ce19..5fb1174c84 100644
--- a/libavcodec/libutvideo.h
+++ b/libavcodec/libutvideo.h
@@ -21,7 +21,8 @@
/**
* @file
* Known FOURCCs:
- * 'ULY0' (YCbCr 4:2:0), 'ULY2' (YCbCr 4:2:2), 'ULRG' (RGB), 'ULRA' (RGBA)
+ * 'ULY0' (YCbCr 4:2:0), 'ULY2' (YCbCr 4:2:2), 'ULRG' (RGB), 'ULRA' (RGBA),
+ * 'ULH0' (YCbCr 4:2:0 BT.709), 'ULH2' (YCbCr 4:2:2 BT.709)
*/
#ifndef AVCODEC_LIBUTVIDEO_H
@@ -45,6 +46,14 @@
#define UTVF_NFCC_BGRA_BU UTVF_RGB32_WIN
#endif
+/*
+ * Ut Video version 13.0.1 introduced new BT.709 variants.
+ * Special-case these and only use them if v13 is detected.
+ */
+#if defined(UTVF_HDYC)
+#define UTV_BT709
+#endif
+
typedef struct {
uint32_t version;
uint32_t original_format;