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.
This commit is contained in:
Mark Thompson 2018-02-19 20:03:08 +00:00
parent 6c0bfa30c0
commit fabcbfba38
1 changed files with 3 additions and 0 deletions

View File

@ -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),