[FFmpeg-devel] [PATCH 2/4] avutil: hwcontext_vaapi, add AV_VAAPI_DRIVER_QUIRK_FRAME_POOL_RESIZING

Xu Guangxin guangxin.xu at intel.com
Thu Nov 18 06:05:47 EET 2021


---
 libavutil/hwcontext_vaapi.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavutil/hwcontext_vaapi.h b/libavutil/hwcontext_vaapi.h
index 0b2e071cb3..e4c7707861 100644
--- a/libavutil/hwcontext_vaapi.h
+++ b/libavutil/hwcontext_vaapi.h
@@ -58,6 +58,12 @@ enum {
      * and the results of the vaQuerySurfaceAttributes() call will be faked.
      */
     AV_VAAPI_DRIVER_QUIRK_SURFACE_ATTRIBUTES = (1 << 3),
+
+    /**
+     * The driver does not support dynamically frame pool resizing.
+     * We need to provide all va surfaces at vaCreateContext
+     */
+    AV_VAAPI_DRIVER_QUIRK_FRAME_POOL_RESIZING = (1 << 4),
 };
 
 /**
-- 
2.25.1



More information about the ffmpeg-devel mailing list