summaryrefslogtreecommitdiffstats
path: root/libavcodec/nvenc_hevc.c
diff options
context:
space:
mode:
authorKonda Raju <kraju@nvidia.com>2017-02-28 11:09:12 +0530
committerTimo Rothenpieler <timo@rothenpieler.org>2017-03-01 13:15:34 +0100
commit5f44a4a0a97e802479e6ce689d719e5277267f22 (patch)
treefa5039683cc3e42b3a98a8bb5e240341e22f50e3 /libavcodec/nvenc_hevc.c
parenta549243b89da7df5504253b9679b777834014b7f (diff)
downloadffmpeg-streaming-5f44a4a0a97e802479e6ce689d719e5277267f22.zip
ffmpeg-streaming-5f44a4a0a97e802479e6ce689d719e5277267f22.tar.gz
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 1c97fb0..2804d7d 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 }
};
OpenPOWER on IntegriCloud