diff mbox series

[FFmpeg-devel,1/2] lavc/qsvenc: enlarge the maximum number of mfxPayload on mfxEncodeCtrl

Message ID 20230208062619.19496-1-haihao.xiang@intel.com
State New
Headers show
Series [FFmpeg-devel,1/2] lavc/qsvenc: enlarge the maximum number of mfxPayload on mfxEncodeCtrl | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 fail Make fate failed
andriy/make_x86 success Make finished
andriy/make_fate_x86 fail Make fate failed

Commit Message

Xiang, Haihao Feb. 8, 2023, 6:26 a.m. UTC
From: Haihao Xiang <haihao.xiang@intel.com>

The next commit and other commits in future may support more mfxPayload
for encoding

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
---
 libavcodec/qsv_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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