gst-libav: map P010, VUYA, Y410, P012, Y212, and Y412

P010 has been around for a long time.

VUYX introduced in:

cc5a5c9860

P012, Y212, XV30 (Y410), and XV36 (Y412) introduced in:

d75c4693fe

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4454>
This commit is contained in:
U. Artie Eoff 2023-04-19 12:54:45 -04:00
parent ab458eae56
commit bab573b59c
2 changed files with 212 additions and 202 deletions

File diff suppressed because it is too large Load diff

View file

@ -2911,6 +2911,16 @@ static const PixToFmt pixtofmttable[] = {
{GST_VIDEO_FORMAT_I422_12BE, AV_PIX_FMT_YUV422P12BE},
{GST_VIDEO_FORMAT_Y444_12LE, AV_PIX_FMT_YUV444P12LE},
{GST_VIDEO_FORMAT_Y444_12BE, AV_PIX_FMT_YUV444P12BE},
{GST_VIDEO_FORMAT_P010_10LE, AV_PIX_FMT_P010LE},
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(57,34,100)
{GST_VIDEO_FORMAT_VUYA, AV_PIX_FMT_VUYX},
#endif
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(57,36,100)
{GST_VIDEO_FORMAT_Y410, AV_PIX_FMT_XV30LE},
{GST_VIDEO_FORMAT_P012_LE, AV_PIX_FMT_P012LE},
{GST_VIDEO_FORMAT_Y212_LE, AV_PIX_FMT_Y212LE},
{GST_VIDEO_FORMAT_Y412_LE, AV_PIX_FMT_XV36LE},
#endif
};
GstVideoFormat