avformat/riff: map Y210 and Y216 fourcc to RAWVIDEO decoder

As defined in https://learn.microsoft.com/en-us/windows/win32/medfound/10-bit-and-16-bit-yuv-video-formats#422-formats

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-10-21 22:10:48 -03:00
parent db7b4fc89f
commit faec8763e8
11 changed files with 20 additions and 16 deletions

View file

@ -74,6 +74,8 @@ static const PixelFormatTag raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_NV21, MKTAG('N', 'V', '2', '1') },
{ AV_PIX_FMT_VUYA, MKTAG('A', 'Y', 'U', 'V') }, /* MS 4:4:4:4 */
{ AV_PIX_FMT_XV30LE, MKTAG('Y', '4', '1', '0') },
{ AV_PIX_FMT_Y210LE, MKTAG('Y', '2', '1', '0') },
{ AV_PIX_FMT_Y216LE, MKTAG('Y', '2', '1', '6') },
/* nut */
{ AV_PIX_FMT_RGB555LE, MKTAG('R', 'G', 'B', 15) },