diff options
author | Yue Heng <yue.heng@intel.com> | 2022-05-25 21:13:41 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-06-06 13:56:10 +0800 |
commit | 11912f65ef5ad12db938e404eafc855af1bc3859 (patch) | |
tree | d178b8c9e6559ad9f4c2f4316f0a30a0b5fec09d /libavcodec/qsvenc_h264.c | |
parent | e8381691813a4f10a280169a782a716568e57614 (diff) |
libavcodec/qsvenc: Add min/max QP control options for I/P/B frame
To do more accurate QP control, add min/max QP control on I/P/B frame
separately to qsv encoder. qmax and qmin still work but newly-added
options have higher priority.
Signed-off-by: Yue Heng <yue.heng@intel.com>
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Diffstat (limited to 'libavcodec/qsvenc_h264.c')
-rw-r--r-- | libavcodec/qsvenc_h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c index cf77ea575b..87b09360cb 100644 --- a/libavcodec/qsvenc_h264.c +++ b/libavcodec/qsvenc_h264.c @@ -114,6 +114,7 @@ static const AVOption options[] = { QSV_OPTION_B_STRATEGY QSV_OPTION_DBLK_IDC QSV_OPTION_LOW_DELAY_BRC + QSV_OPTION_MAX_MIN_QP { "cavlc", "Enable CAVLC", OFFSET(qsv.cavlc), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, #if QSV_HAVE_VCM |