Commit 96c37b6a authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

FourCC: add D3D9 opaque GPU surface

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 46437d4a
...@@ -332,6 +332,9 @@ ...@@ -332,6 +332,9 @@
/* Broadcom MMAL opaque buffer type */ /* Broadcom MMAL opaque buffer type */
#define VLC_CODEC_MMAL_OPAQUE VLC_FOURCC('M','M','A','L') #define VLC_CODEC_MMAL_OPAQUE VLC_FOURCC('M','M','A','L')
/* DXVA2 opaque video surface for use with D3D9 */
#define VLC_CODEC_D3D9_OPAQUE VLC_FOURCC('D','X','A','9')
/* Image codec (video) */ /* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ') #define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
#define VLC_CODEC_PPM VLC_FOURCC('p','p','m',' ') #define VLC_CODEC_PPM VLC_FOURCC('p','p','m',' ')
......
...@@ -2190,7 +2190,7 @@ static const struct ...@@ -2190,7 +2190,7 @@ static const struct
{ { VLC_CODEC_VDPAU_VIDEO_420, VLC_CODEC_VDPAU_VIDEO_422, { { VLC_CODEC_VDPAU_VIDEO_420, VLC_CODEC_VDPAU_VIDEO_422,
VLC_CODEC_VDPAU_VIDEO_444, VLC_CODEC_VDPAU_OUTPUT }, VLC_CODEC_VDPAU_VIDEO_444, VLC_CODEC_VDPAU_OUTPUT },
FAKE_FMT() }, FAKE_FMT() },
{ { VLC_CODEC_ANDROID_OPAQUE, VLC_CODEC_MMAL_OPAQUE, }, { { VLC_CODEC_ANDROID_OPAQUE, VLC_CODEC_MMAL_OPAQUE, VLC_CODEC_D3D9_OPAQUE, },
FAKE_FMT() }, FAKE_FMT() },
{ { 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