Commit 129c6b93 authored by Thomas Guillem's avatar Thomas Guillem

fourcc: add VLC_CODEC_CVPX_P010

(cherry picked from commit 7a79d8be)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 78eb0e16
......@@ -373,6 +373,7 @@
#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')
#define VLC_CODEC_CVPX_P010 VLC_FOURCC('C','V','P','P')
/* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
......
......@@ -385,6 +385,9 @@ static const vlc_fourcc_t p_CVPX_VIDEO_I420_fallback[] = {
static const vlc_fourcc_t p_CVPX_VIDEO_BGRA_fallback[] = {
VLC_CODEC_CVPX_BGRA, VLC_CODEC_BGRA, 0,
};
static const vlc_fourcc_t p_CVPX_VIDEO_P010_fallback[] = {
VLC_CODEC_CVPX_P010, VLC_CODEC_P010, VLC_CODEC_I420_10B, 0
};
static const vlc_fourcc_t p_VAAPI_420_fallback[] = {
VLC_CODEC_VAAPI_420, VLC_CODEC_I420, 0,
......@@ -489,6 +492,7 @@ static const vlc_fourcc_t *pp_YUV_fallback[] = {
p_CVPX_VIDEO_NV12_fallback,
p_CVPX_VIDEO_UYVY_fallback,
p_CVPX_VIDEO_I420_fallback,
p_CVPX_VIDEO_P010_fallback,
p_VAAPI_420_fallback,
p_VAAPI_420_10BPP_fallback,
p_D3D9_OPAQUE_fallback,
......@@ -740,6 +744,8 @@ static const struct
VLC_CODEC_CVPX_I420, VLC_CODEC_CVPX_BGRA },
FAKE_FMT() },
{ { VLC_CODEC_CVPX_P010, 0 }, FAKE_FMT() },
{ { VLC_CODEC_VAAPI_420, VLC_CODEC_VAAPI_420_10BPP },
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