diff options
author | Konda Raju <kraju@nvidia.com> | 2017-02-28 11:09:12 +0530 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2017-03-01 13:15:34 +0100 |
commit | 5f44a4a0a97e802479e6ce689d719e5277267f22 (patch) | |
tree | fa5039683cc3e42b3a98a8bb5e240341e22f50e3 /libavcodec/nvenc_hevc.c | |
parent | a549243b89da7df5504253b9679b777834014b7f (diff) |
avcodec/nvenc: add initial QP value options
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
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 1c97fb0e45..2804d7df5a 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -106,6 +106,9 @@ static const AVOption options[] = { OFFSET(quality), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 51, VE }, { "aud", "Use access unit delimiters", OFFSET(aud), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, { "bluray-compat", "Bluray compatibility workarounds", OFFSET(bluray_compat),AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, + { "init_qpP", "Initial QP value for P frame", OFFSET(init_qp_p), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, + { "init_qpB", "Initial QP value for B frame", OFFSET(init_qp_b), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, + { "init_qpI", "Initial QP value for I frame", OFFSET(init_qp_i), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, { NULL } }; |