From 8ed6c13fe3d7990962c10f22dc0b60dba67d7a04 Mon Sep 17 00:00:00 2001 From: Stephen Hutchinson Date: Sun, 9 Jun 2013 08:08:03 -0400 Subject: libutvideo: Add ULH0 and ULH2 decoding when using version 13.0.1 Signed-off-by: Michael Niedermayer --- libavcodec/libutvideo.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'libavcodec/libutvideo.h') 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; -- cgit v1.2.3