diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-06-22 11:53:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-07-03 09:13:29 +0200 |
commit | 92736c74fb1633e36f7134a880422a9b7db14d3f (patch) | |
tree | c9d02427bf74cf19dc5d12064fb4d1feb997e9e3 /libavcodec/qsv.c | |
parent | ce320cf1c4daab3e2e3726ed7d2e879d10f7b991 (diff) | |
download | ffmpeg-92736c74fb1633e36f7134a880422a9b7db14d3f.tar.gz |
qsvdec: add support for P010 (10-bit 420) decoding
Diffstat (limited to 'libavcodec/qsv.c')
-rw-r--r-- | libavcodec/qsv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 5be6405d47..5f7653a3bf 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -96,6 +96,9 @@ int ff_qsv_map_pixfmt(enum AVPixelFormat format, uint32_t *fourcc) case AV_PIX_FMT_YUVJ420P: *fourcc = MFX_FOURCC_NV12; return AV_PIX_FMT_NV12; + case AV_PIX_FMT_YUV420P10: + *fourcc = MFX_FOURCC_P010; + return AV_PIX_FMT_P010; default: return AVERROR(ENOSYS); } |