[vlc-commits] core: add fake format for CVPixelBuffer
Felix Paul Kühne
git at videolan.org
Fri Aug 21 19:10:32 CEST 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Jul 2 16:31:52 2015 +0200| [2bd1272b2a7640c3ee9efba01b250796c8c22cd0] | committer: Felix Paul Kühne
core: add fake format for CVPixelBuffer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2bd1272b2a7640c3ee9efba01b250796c8c22cd0
---
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 4bb050d..c8253bb 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -336,6 +336,9 @@
/* D3D11VA opaque video surface for use with D3D11 */
#define VLC_CODEC_D3D11_OPAQUE VLC_FOURCC('D','X','1','1')
+/* CVPixelBuffer opaque buffer type */
+#define VLC_CODEC_CVPX_OPAQUE VLC_FOURCC('C','V','P','X')
+
/* 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 00e3609..84cd034 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -633,6 +633,7 @@ static const struct
{ { VLC_CODEC_ANDROID_OPAQUE, VLC_CODEC_MMAL_OPAQUE,
VLC_CODEC_D3D9_OPAQUE, VLC_CODEC_D3D11_OPAQUE },
FAKE_FMT() },
+ { { VLC_CODEC_CVPX_OPAQUE }, FAKE_FMT() },
{ { 0 }, FAKE_FMT() }
};
More information about the vlc-commits
mailing list