It is used to allocate scratch buffers by the qsv hwaccel.
---
 libavutil/hwcontext_vaapi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index b2e212c..e955add 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -111,6 +111,8 @@ static struct {
   //MAP(XBGR, RGB32,   0BGR),
     MAP(ARGB, RGB32,   ARGB),
   //MAP(XRGB, RGB32,   0RGB),
+    // Special scratch buffer format
+    { VA_FOURCC_P208, VA_FOURCC_P208, AV_PIX_FMT_PAL8 },
 };
 #undef MAP
 
-- 
2.9.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to