diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-02-19 20:03:08 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-02-21 23:38:10 +0000 |
commit | fabcbfba3846667869e14a562bd84c7b4dd0c6a4 (patch) | |
tree | c6a86e1fe8adefc1d9f6d712357ffa446c35989f /libavutil/hwcontext_vaapi.c | |
parent | 6c0bfa30c00d062737b10f22c2532f60d94afdf2 (diff) | |
download | ffmpeg-fabcbfba3846667869e14a562bd84c7b4dd0c6a4.tar.gz |
hwcontext_vaapi: Add more surface formats
Adds YUV 4:1:1, 4:4:0 and 4:4:4 - these will be needed for JPEG decoding.
Diffstat (limited to 'libavutil/hwcontext_vaapi.c')
-rw-r--r-- | libavutil/hwcontext_vaapi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index 29698d1b27..68f88ecd6b 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@ -110,6 +110,9 @@ static const struct { MAP(422H, YUV422, YUV422P), MAP(UYVY, YUV422, UYVY422), MAP(YUY2, YUV422, YUYV422), + MAP(411P, YUV411, YUV411P), + MAP(422V, YUV422, YUV440P), + MAP(444P, YUV444, YUV444P), MAP(Y800, YUV400, GRAY8), #ifdef VA_FOURCC_P010 MAP(P010, YUV420_10BPP, P010), |