[vlc-devel] [PATCH 2/3] fourcc: add entry for Android opaque buffer type.
Felix Abecassis
felix.abecassis at gmail.com
Fri Nov 15 15:47:20 CET 2013
---
include/vlc_fourcc.h | 3 +++
src/misc/fourcc.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index abbfb12..543f082 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -247,6 +247,9 @@
/* VDPAU output surface RGBA */
#define VLC_CODEC_VDPAU_OUTPUT VLC_FOURCC('V','D','O','R')
+/* MediaCodec/IOMX opaque buffer type */
+#define VLC_CODEC_ANDROID_OPAQUE VLC_FOURCC('A','N','O','P')
+
/* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
#define VLC_CODEC_PPM VLC_FOURCC('p','p','m',' ')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 5cd04fd..98a53fa 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -2002,7 +2002,8 @@ static const struct
{ { VLC_CODEC_VDPAU_VIDEO_420, VLC_CODEC_VDPAU_VIDEO_422,
VLC_CODEC_VDPAU_VIDEO_444,
- VLC_CODEC_VDPAU_OUTPUT, 0 }, FAKE_FMT() },
+ VLC_CODEC_VDPAU_OUTPUT,
+ VLC_CODEC_ANDROID_OPAQUE, 0 }, FAKE_FMT() },
{ {0}, { 0, {}, 0, 0 } }
};
--
1.8.3.2
More information about the vlc-devel
mailing list