[vlc-commits] fourcc: list the YUV 4:4:4 with alpha channel as YUV formats

Steve Lhomme git at videolan.org
Wed Oct 17 12:02:26 CEST 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 16 10:27:16 2018 +0100| [acc72c6e25ae9c47b95d16d46063cc043c3e69be] | committer: Steve Lhomme

fourcc: list the YUV 4:4:4 with alpha channel as YUV formats

(cherry picked from commit 1c52f12f952060e04c16ef511bb8a0d886f9fbd7)

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

 src/misc/fourcc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index bc2a22891f..5b723a6b45 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -236,6 +236,9 @@ const char *vlc_fourcc_GetDescription(int cat, vlc_fourcc_t fourcc)
 #define VLC_CODEC_YUV_PLANAR_444 \
     VLC_CODEC_I444, VLC_CODEC_J444
 
+#define VLC_CODEC_YUV_PLANAR_444_ALPHA \
+    VLC_CODEC_YUVA, VLC_CODEC_YUVA_444_10L, VLC_CODEC_YUVA_444_10B
+
 #define VLC_CODEC_YUV_SEMIPLANAR_444 \
     VLC_CODEC_NV24, VLC_CODEC_NV42
 
@@ -513,6 +516,7 @@ static const vlc_fourcc_t p_list_YUV[] = {
     VLC_CODEC_YUV_SEMIPLANAR_422,
     VLC_CODEC_YUV_PLANAR_440,
     VLC_CODEC_YUV_PLANAR_444,
+    VLC_CODEC_YUV_PLANAR_444_ALPHA,
     VLC_CODEC_YUV_SEMIPLANAR_444,
     VLC_CODEC_YUV_PACKED,
     VLC_CODEC_I411, VLC_CODEC_YUV_PLANAR_410, VLC_CODEC_Y211,



More information about the vlc-commits mailing list