[vlc-commits] fourcc: add 10/12/16 planar GBRA formats
Steve Lhomme
git at videolan.org
Fri Aug 3 09:50:23 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Aug 3 08:47:21 2018 +0200| [af632ce3889b7e40d35711d72d37f25973536f06] | committer: Steve Lhomme
fourcc: add 10/12/16 planar GBRA formats
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af632ce3889b7e40d35711d72d37f25973536f06
---
include/vlc_fourcc.h | 6 ++++++
src/misc/fourcc.c | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 54a27867fd..d5f8c208b0 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -351,6 +351,12 @@
#define VLC_CODEC_GBR_PLANAR_14L VLC_FOURCC('G','B','D','L')
#define VLC_CODEC_GBR_PLANAR_16L VLC_FOURCC('G','B','F','L')
#define VLC_CODEC_GBR_PLANAR_16B VLC_FOURCC('G','B','F','B')
+#define VLC_CODEC_GBRA_PLANAR_10B VLC_FOURCC('G','B','0','B')
+#define VLC_CODEC_GBRA_PLANAR_10L VLC_FOURCC('G','B','0','L')
+#define VLC_CODEC_GBRA_PLANAR_12B VLC_FOURCC('G','B','C','B')
+#define VLC_CODEC_GBRA_PLANAR_12L VLC_FOURCC('G','B','C','L')
+#define VLC_CODEC_GBRA_PLANAR_16L VLC_FOURCC('G','B','E','L')
+#define VLC_CODEC_GBRA_PLANAR_16B VLC_FOURCC('G','B','E','B')
/* 8 bits grey */
#define VLC_CODEC_GREY VLC_FOURCC('G','R','E','Y')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index c7cbf782c3..e99ac32774 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -717,6 +717,12 @@ static const struct
VLC_CODEC_GBR_PLANAR_14B }, PLANAR_16(3, 1, 1, 14) },
{ { VLC_CODEC_GBR_PLANAR_16L,
VLC_CODEC_GBR_PLANAR_16B }, PLANAR_16(3, 1, 1, 16) },
+ { { VLC_CODEC_GBRA_PLANAR_10L,
+ VLC_CODEC_GBRA_PLANAR_10B }, PLANAR_16(4, 1, 1, 10) },
+ { { VLC_CODEC_GBRA_PLANAR_12L,
+ VLC_CODEC_GBRA_PLANAR_12B }, PLANAR_16(4, 1, 1, 12) },
+ { { VLC_CODEC_GBRA_PLANAR_16L,
+ VLC_CODEC_GBRA_PLANAR_16B }, PLANAR_16(4, 1, 1, 16) },
{ { VLC_CODEC_I420_16L,
VLC_CODEC_I420_16B }, PLANAR_16(3, 2, 2, 16) },
More information about the vlc-commits
mailing list