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_hevc.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_hevc.c')
-rw-r--r-- | libavcodec/qsvenc_hevc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index a6bf39c148..da2bf457af 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsvenc_hevc.c @@ -233,6 +233,7 @@ static const AVOption options[] = { QSV_OPTION_B_STRATEGY QSV_OPTION_DBLK_IDC QSV_OPTION_LOW_DELAY_BRC + QSV_OPTION_MAX_MIN_QP { "idr_interval", "Distance (in I-frames) between IDR frames", OFFSET(qsv.idr_interval), AV_OPT_TYPE_INT, { .i64 = 0 }, -1, INT_MAX, VE, "idr_interval" }, { "begin_only", "Output an IDR-frame only at the beginning of the stream", 0, AV_OPT_TYPE_CONST, { .i64 = -1 }, 0, 0, VE, "idr_interval" }, |