Commit 8b69f37b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

swscale/avcodec: Add I422 9-bit chroma pix_fmt

parent 639eca0e
...@@ -89,8 +89,11 @@ static const struct ...@@ -89,8 +89,11 @@ static const struct
{VLC_CODEC_I420_10L, PIX_FMT_YUV420P10LE, 0, 0, 0 }, {VLC_CODEC_I420_10L, PIX_FMT_YUV420P10LE, 0, 0, 0 },
{VLC_CODEC_I420_10B, PIX_FMT_YUV420P10BE, 0, 0, 0 }, {VLC_CODEC_I420_10B, PIX_FMT_YUV420P10BE, 0, 0, 0 },
#endif #endif
#if LIBAVUTIL_VERSION_INT > ((51<<16)+(12<<8)+0)
{VLC_CODEC_I422_9L, PIX_FMT_YUV422P9LE, 0, 0, 0 },
{VLC_CODEC_I422_9B, PIX_FMT_YUV422P9BE, 0, 0, 0 },
#endif
#if LIBAVUTIL_VERSION_INT >= ((51<<16)+(9<<8)+0) #if LIBAVUTIL_VERSION_INT >= ((51<<16)+(9<<8)+0)
/* I422 9-bit seems missing */
{VLC_CODEC_I422_10L, PIX_FMT_YUV422P10LE, 0, 0, 0 }, {VLC_CODEC_I422_10L, PIX_FMT_YUV422P10LE, 0, 0, 0 },
{VLC_CODEC_I422_10B, PIX_FMT_YUV422P10BE, 0, 0, 0 }, {VLC_CODEC_I422_10B, PIX_FMT_YUV422P10BE, 0, 0, 0 },
......
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