]> git.sesse.net Git - vlc/commitdiff
FourCC v210
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 13 May 2009 21:51:17 +0000 (23:51 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 13 May 2009 21:51:30 +0000 (23:51 +0200)
include/vlc_fourcc.h
modules/codec/avcodec/fourcc.c
src/misc/fourcc.c

index 7bc40765eb600bcd569234618765418a15791724..ed7e959af1ef0c065b74ba6be2c9802be24964c4 100644 (file)
 #define VLC_CODEC_YMGA      VLC_FOURCC('Y','M','G','A')
 /* Packed YUV 4:2:2, U:Y:V:Y, reverted */
 #define VLC_CODEC_CYUV      VLC_FOURCC('c','y','u','v')
+/* 10-bit 4:2:2 Component YCbCr */
+#define VLC_CODEC_V210      VLC_FOURCC('v','2','1','0')
 
 /* Image codec (video) */
 #define VLC_CODEC_PNG       VLC_FOURCC('p','n','g',' ')
index 6e18746cc4270173fe840330330b021d1cf3a6fc..51d0c598f62aed7b828ed2fb8076cfd9a42d23c8 100644 (file)
@@ -208,6 +208,10 @@ static const struct
     { VLC_CODEC_MIMIC, CODEC_ID_MIMIC, VIDEO_ES },
 #endif
 
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 29, 0 )
+    { VLC_CODEC_V210, CODEC_ID_V210, VIDEO_ES },
+#endif
+
     /* Videogames Codecs */
 
     { VLC_CODEC_INTERPLAY, CODEC_ID_INTERPLAY_VIDEO, VIDEO_ES },
index c168b74e8715d44ce4b64607cf072187c14e3539..5e92e1967569d650f176b3ecaafa23d90def3e81 100644 (file)
@@ -685,6 +685,9 @@ static const entry_t p_list_video[] = {
         A("cyuv"),
         A("CYUV"),
 
+    B(VLC_CODEC_V210, "10-bit 4:2:2 Component YCbCr"),
+        A("v210"),
+
     /* Videogames Codecs */
 
     /* Interplay MVE */