[vlc-devel] [PATCH 1/2] fourcc: add VLC_CODEC_GBRA_PLANAR
Tristan Matthews
tmatth at videolan.org
Tue Dec 3 05:54:32 CET 2019
---
include/vlc_fourcc.h | 1 +
src/misc/fourcc.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index bfa40afff8..68c037d8da 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -360,6 +360,7 @@
#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 VLC_FOURCC('G','B','0','8')
#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')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 8c5fad84b8..c1822f174e 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -746,6 +746,7 @@ 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 }, PLANAR_8(4, 1, 1) },
{ { VLC_CODEC_GBRA_PLANAR_10L,
VLC_CODEC_GBRA_PLANAR_10B }, PLANAR_16(4, 1, 1, 10) },
{ { VLC_CODEC_GBRA_PLANAR_12L,
--
2.20.1
More information about the vlc-devel
mailing list