Commit 3db59617 authored by Jun Zhao's avatar Jun Zhao Committed by Mark Thompson

hwcontext_vaapi: add the fourcc of I420 format map.

VA-API 2.0 have enable the I420, so enable this map.
Signed-off-by: 's avatarJun Zhao <jun.zhao@intel.com>
Signed-off-by: 's avatarMark Thompson <sw@jkqxz.net>
parent 6b77a10e
...@@ -101,7 +101,9 @@ static const struct { ...@@ -101,7 +101,9 @@ static const struct {
MAP(NV12, YUV420, NV12), MAP(NV12, YUV420, NV12),
MAP(YV12, YUV420, YUV420P), // With U/V planes swapped. MAP(YV12, YUV420, YUV420P), // With U/V planes swapped.
MAP(IYUV, YUV420, YUV420P), MAP(IYUV, YUV420, YUV420P),
//MAP(I420, YUV420, YUV420P), // Not in libva but used by Intel driver. #ifdef VA_FOURCC_I420
MAP(I420, YUV420, YUV420P),
#endif
#ifdef VA_FOURCC_YV16 #ifdef VA_FOURCC_YV16
MAP(YV16, YUV422, YUV422P), // With U/V planes swapped. MAP(YV16, YUV422, YUV422P), // With U/V planes swapped.
#endif #endif
......
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