Commit d5545aaa authored by Julian Scheel's avatar Julian Scheel Committed by Jean-Baptiste Kempf

mmal: Register opaque fourcc in core as fake_fmt

Add a new fourcc, which will be used by the mmal decoder and vout plugins for
passing around opaque picture pointers to realize a zerocopy pipeline on mmal
enabled platforms.
Signed-off-by: default avatarJulian Scheel <julian@jusst.de>
Signed-off-by: default avatarDennis Hamester <dennis.hamester@gmail.com>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5beb533f
......@@ -279,6 +279,9 @@
/* MediaCodec/IOMX opaque buffer type */
#define VLC_CODEC_ANDROID_OPAQUE VLC_FOURCC('A','N','O','P')
/* Broadcom MMAL opaque buffer type */
#define VLC_CODEC_MMAL_OPAQUE VLC_FOURCC('M','M','A','L')
/* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
#define VLC_CODEC_PPM VLC_FOURCC('p','p','m',' ')
......
......@@ -2097,7 +2097,8 @@ static const struct
{ { VLC_CODEC_VDPAU_VIDEO_420, VLC_CODEC_VDPAU_VIDEO_422,
VLC_CODEC_VDPAU_VIDEO_444,
VLC_CODEC_VDPAU_OUTPUT,
VLC_CODEC_ANDROID_OPAQUE, 0 }, FAKE_FMT() },
VLC_CODEC_ANDROID_OPAQUE,
VLC_CODEC_MMAL_OPAQUE, 0 }, FAKE_FMT() },
{ { 0 }, FAKE_FMT() }
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment