diff options
author | Sumit Agarwal <sumita@nvidia.com> | 2017-05-09 17:24:54 +0300 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2017-05-10 11:22:41 +0300 |
commit | 01775730fd1e1877c142518f8cce9d23c47060b1 (patch) | |
tree | 19520b5c59789e3d671f03a797e770bd323ae9ea /libavcodec/nvenc_hevc.c | |
parent | 18a659d1b653c24de1a691c13f7db1b6e6a95aee (diff) |
avcodec/nvenc: add weighted prediction support
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc_hevc.c')
-rw-r--r-- | libavcodec/nvenc_hevc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index b5ce84a1d2..66db1457a5 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -114,6 +114,8 @@ static const AVOption options[] = { { "init_qpI", "Initial QP value for I frame", OFFSET(init_qp_i), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, { "qp", "Constant quantization parameter rate control method", OFFSET(cqp), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, + { "weighted_pred","Set 1 to enable weighted prediction", + OFFSET(weighted_pred),AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE }, { NULL } }; |