[vlc-devel] [PATCH 1/2] fourcc: add VAAPI opaque surface
Petri Hintukainen
phintuka at gmail.com
Tue Aug 23 11:50:30 CEST 2016
---
include/vlc_fourcc.h | 3 +++
src/misc/fourcc.c | 1 +
2 files changed, 4 insertions(+)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 5994a77..3b0aa76 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -340,6 +340,9 @@
/* VDPAU output surface RGBA */
#define VLC_CODEC_VDPAU_OUTPUT VLC_FOURCC('V','D','O','R')
+/* VAAPI opaque surface */
+#define VLC_CODEC_VAAPI_OPAQUE VLC_FOURCC('V','A','O','P')
+
/* MediaCodec/IOMX opaque buffer type */
#define VLC_CODEC_ANDROID_OPAQUE VLC_FOURCC('A','N','O','P')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 9e42045..d8ed637 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -667,6 +667,7 @@ static const struct
{ { VLC_CODEC_D3D11_OPAQUE_10B, VLC_CODEC_D3D9_OPAQUE_10B },
FAKE_FMT() },
{ { VLC_CODEC_CVPX_OPAQUE }, FAKE_FMT() },
+ { { VLC_CODEC_VAAPI_OPAQUE }, FAKE_FMT() },
{ { 0 }, FAKE_FMT() }
};
--
2.7.4
More information about the vlc-devel
mailing list