[vlc-commits] fourcc: add entry for Android opaque buffer type.

Felix Abecassis git at videolan.org
Fri Dec 13 18:36:16 CET 2013


vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Nov 15 15:47:20 2013 +0100| [763d18f3bb80a0319f0aca178b58d7720b0941be] | committer: Jean-Baptiste Kempf

fourcc: add entry for Android opaque buffer type.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=763d18f3bb80a0319f0aca178b58d7720b0941be
---

 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 8cd821a..9e35015 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, 0 } }
 };



More information about the vlc-commits mailing list