[vlc-commits] fourcc: list the YUV 4:4:4 with alpha channel as YUV formats
Steve Lhomme
git at videolan.org
Tue Feb 20 14:01:44 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 16 10:27:16 2018 +0100| [8ee08e5e0e72486fd59413b3a116e8d1a0017e79] | committer: Steve Lhomme
fourcc: list the YUV 4:4:4 with alpha channel as YUV formats
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ee08e5e0e72486fd59413b3a116e8d1a0017e79
---
src/misc/fourcc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 1b18ea29d0..8e5e2b5f94 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
@@ -508,6 +511,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