[FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: enlarge the maximum number of mfxPayload on mfxEncodeCtrl
Xiang, Haihao
haihao.xiang at intel.com
Wed Feb 8 08:26:18 EET 2023
From: Haihao Xiang <haihao.xiang at intel.com>
The next commit and other commits in future may support more mfxPayload
for encoding
Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
---
libavcodec/qsv_internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
index 5119ef4dff..3cc8a1bc95 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -50,7 +50,7 @@
#define ASYNC_DEPTH_DEFAULT 4 // internal parallelism
-#define QSV_MAX_ENC_PAYLOAD 2 // # of mfxEncodeCtrl payloads supported
+#define QSV_MAX_ENC_PAYLOAD 8 // # of mfxEncodeCtrl payloads supported
#define QSV_MAX_ENC_EXTPARAM 8 // # of mfxEncodeCtrl extparam supported
#define QSV_MAX_ROI_NUM 256
--
2.17.1
More information about the ffmpeg-devel
mailing list