diff options
author | Konda Raju <kraju@nvidia.com> | 2017-03-07 12:02:14 +0530 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-03-09 17:24:00 +0100 |
commit | f6790b5e1075133ee39be91105f1135db7afd259 (patch) | |
tree | 7c8caceebb5bef4bccdd82da29fc04b8cdf689b3 /libavcodec/nvenc_hevc.c | |
parent | 8a60bba0aef77015111570058d5a72f0428dc748 (diff) | |
download | ffmpeg-f6790b5e1075133ee39be91105f1135db7afd259.tar.gz |
add initial QP value options
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/nvenc_hevc.c')
-rw-r--r-- | libavcodec/nvenc_hevc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index de9af6151f..62f969847a 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -87,6 +87,9 @@ static const AVOption options[] = { { "aq-strength", "When Spatial AQ is enabled, this field is used to specify AQ strength. AQ strength scale is from 1 (low) - 15 (aggressive)", OFFSET(aq_strength), AV_OPT_TYPE_INT, { .i64 = 8 }, 1, 15, VE }, { "cq", "Set target quality level (0 to 51, 0 means automatic) for constant quality mode in VBR rate control", OFFSET(quality), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 51, VE }, #endif /* NVENCAPI_MAJOR_VERSION >= 7 */ + { "init_qpP", "Initial QP value for P-frames", OFFSET(init_qp_p), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, + { "init_qpB", "Initial QP value for B-frames", OFFSET(init_qp_b), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, + { "init_qpI", "Initial QP value for I-frames", OFFSET(init_qp_i), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, { NULL } }; |