Commit 22a9c02f authored by Tristan Matthews's avatar Tristan Matthews

avcodec: add mappings for gbrp 9/10-bit LE,BE

Fixes #14909
parent 56b775d9
......@@ -45,6 +45,7 @@ Decoder:
* Basic TTML subtitles support
* Support hardware decoding using Direct3D11, including GPU-zerocopy mode
* DxVA2 GPU-zerocopy for hardware decoding and displaying on Windows
* Support 9-bit and 10-bit GBR planar formats
Demuxers:
* Support HD-DVD .evo (H.264, VC-1, MPEG-2, PCM, AC-3, E-AC3, MLP, DTS)
......
......@@ -135,6 +135,10 @@ static const struct
{VLC_CODEC_RGBP, PIX_FMT_PAL8, 0, 0, 0},
{VLC_CODEC_GBR_PLANAR, AV_PIX_FMT_GBRP, 0, 0, 0 },
{VLC_CODEC_GBR_PLANAR_9L, AV_PIX_FMT_GBRP9LE, 0, 0, 0 },
{VLC_CODEC_GBR_PLANAR_9B, AV_PIX_FMT_GBRP9BE, 0, 0, 0 },
{VLC_CODEC_GBR_PLANAR_10L, AV_PIX_FMT_GBRP10LE, 0, 0, 0 },
{VLC_CODEC_GBR_PLANAR_10B, AV_PIX_FMT_GBRP10BE, 0, 0, 0 },
/* XYZ */
#if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100)
......
......@@ -590,6 +590,10 @@ static const struct
{ { VLC_CODEC_YUV422A }, PLANAR_8(4, 2, 1) },
{ { VLC_CODEC_GBR_PLANAR }, PLANAR_8(3, 1, 1) },
{ { VLC_CODEC_GBR_PLANAR_9L,
VLC_CODEC_GBR_PLANAR_9B }, PLANAR_16(3, 1, 1, 9) },
{ { VLC_CODEC_GBR_PLANAR_10L,
VLC_CODEC_GBR_PLANAR_10B }, PLANAR_16(3, 1, 1, 10) },
{ { VLC_CODEC_I420_10L,
VLC_CODEC_I420_10B }, PLANAR_16(3, 2, 2, 10) },
......
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