Commit 45e14928 authored by Thomas Guillem's avatar Thomas Guillem

fourcc: add VLC_CODEC_P010 fallbacks

parent 2d60ef9f
......@@ -218,6 +218,9 @@ const char *vlc_fourcc_GetDescription(int cat, vlc_fourcc_t fourcc)
#define VLC_CODEC_YUV_PLANAR_420_16 \
VLC_CODEC_I420_16L, VLC_CODEC_I420_16B, VLC_CODEC_I420_12L, VLC_CODEC_I420_12B, VLC_CODEC_I420_10L, VLC_CODEC_I420_10B, VLC_CODEC_I420_9L, VLC_CODEC_I420_9B
#define VLC_CODEC_YUV_SEMIPLANAR_420_16 \
VLC_CODEC_P010
#define VLC_CODEC_YUV_PLANAR_422 \
VLC_CODEC_I422, VLC_CODEC_J422
......@@ -289,6 +292,9 @@ static const vlc_fourcc_t p_I420_16L_fallback[] = {
static const vlc_fourcc_t p_I420_16B_fallback[] = {
VLC_CODEC_I420_16B, VLC_CODEC_I420_16L, VLC_CODEC_FALLBACK_420_16, 0
};
static const vlc_fourcc_t p_P010_fallback[] = {
VLC_CODEC_P010, VLC_CODEC_FALLBACK_420_16, 0
};
#define VLC_CODEC_FALLBACK_422 \
......@@ -467,6 +473,7 @@ static const vlc_fourcc_t *pp_YUV_fallback[] = {
p_UYVY_fallback,
p_VYUY_fallback,
p_NV12_fallback,
p_P010_fallback,
p_CVPX_VIDEO_NV12_fallback,
p_CVPX_VIDEO_UYVY_fallback,
p_CVPX_VIDEO_I420_fallback,
......@@ -486,6 +493,7 @@ static const vlc_fourcc_t p_list_YUV[] = {
VLC_CODEC_YUV_PACKED,
VLC_CODEC_I411, VLC_CODEC_YUV_PLANAR_410, VLC_CODEC_Y211,
VLC_CODEC_YUV_PLANAR_420_16,
VLC_CODEC_YUV_SEMIPLANAR_420_16,
VLC_CODEC_YUV_PLANAR_422_16,
VLC_CODEC_YUV_PLANAR_444_16,
VLC_CODEC_VDPAU_VIDEO_420,
......
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