[vlc-commits] Add YUVA 444 10bits FourCC

Jean-Baptiste Kempf git at videolan.org
Sun Oct 26 20:00:06 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Oct 25 21:29:29 2014 +0200| [e59b5819c59ece85689e6c9ce93a53c0c626b0d6] | committer: Jean-Baptiste Kempf

Add YUVA 444 10bits FourCC

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e59b5819c59ece85689e6c9ce93a53c0c626b0d6
---

 include/vlc_fourcc.h |    4 ++++
 src/misc/fourcc.c    |    4 ++++
 2 files changed, 8 insertions(+)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 1596ede..567d563 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -240,6 +240,10 @@
 /* Planar YUV 4:2:0 Y:U:V:A */
 #define VLC_CODEC_YUV420A         VLC_FOURCC('I','4','0','A')
 
+/* Planar Y:U:V:A 4:4:4 10bits */
+#define VLC_CODEC_YUVA_444_10L    VLC_FOURCC('Y','A','0','L')
+#define VLC_CODEC_YUVA_444_10B    VLC_FOURCC('Y','A','0','B')
+
 /* Semi-planar Y/UV */
 
 /* 2 planes Y/UV 4:2:0 */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index accc2cf..7b83ca5 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -792,6 +792,8 @@ static const staticentry_t p_list_video[] = {
         A("I40A"),
     B(VLC_CODEC_YUV422A, "Planar YUV 4:2:2 Y:U:V:A"),
         A("I42A"),
+    B(VLC_CODEC_YUVA_444_10L, "Planar YUV 4:4:4 Y:U:V:A 10bits"),
+        A("YUVA"),
 
     B(VLC_CODEC_RGBP, "Palettized RGB with palette element R:G:B"),
         A("RGBP"),
@@ -2146,6 +2148,8 @@ static const struct
         VLC_CODEC_I444_9B },                   PLANAR_16(3, 1, 1,  9) },
     { { VLC_CODEC_I444_16L,
         VLC_CODEC_I444_16B },                  PLANAR_16(3, 1, 1, 16) },
+    { { VLC_CODEC_YUVA_444_10L,
+        VLC_CODEC_YUVA_444_10B },              PLANAR_16(4, 1, 1, 10) },
 
     { { VLC_CODEC_YUV_PACKED },                PACKED_FMT(2, 16) },
     { { VLC_CODEC_RGB8, VLC_CODEC_GREY,



More information about the vlc-commits mailing list