Commit 0aa2985f authored by Thomas Guillem's avatar Thomas Guillem

fourcc: add more CVPX fourcc

parent 41672aab
...@@ -363,6 +363,9 @@ ...@@ -363,6 +363,9 @@
/* CVPixelBuffer opaque buffer type */ /* CVPixelBuffer opaque buffer type */
#define VLC_CODEC_CVPX_NV12 VLC_FOURCC('C','V','P','N') #define VLC_CODEC_CVPX_NV12 VLC_FOURCC('C','V','P','N')
#define VLC_CODEC_CVPX_UYVY VLC_FOURCC('C','V','P','Y')
#define VLC_CODEC_CVPX_I420 VLC_FOURCC('C','V','P','I')
#define VLC_CODEC_CVPX_BGRA VLC_FOURCC('C','V','P','B')
/* Image codec (video) */ /* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ') #define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
......
...@@ -676,7 +676,10 @@ static const struct ...@@ -676,7 +676,10 @@ static const struct
FAKE_FMT() }, FAKE_FMT() },
{ { VLC_CODEC_D3D11_OPAQUE_10B, VLC_CODEC_D3D9_OPAQUE_10B }, { { VLC_CODEC_D3D11_OPAQUE_10B, VLC_CODEC_D3D9_OPAQUE_10B },
FAKE_FMT() }, FAKE_FMT() },
{ { VLC_CODEC_CVPX_NV12 }, FAKE_FMT() },
{ { VLC_CODEC_CVPX_NV12, VLC_CODEC_CVPX_UYVY,
VLC_CODEC_CVPX_I420, VLC_CODEC_CVPX_BGRA },
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