diff options
author | Sumit Agarwal <sumita@nvidia.com> | 2017-05-09 19:54:54 +0530 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2017-05-10 10:22:41 +0200 |
commit | 01775730fd1e1877c142518f8cce9d23c47060b1 (patch) | |
tree | 19520b5c59789e3d671f03a797e770bd323ae9ea /libavcodec/nvenc_h264.c | |
parent | 18a659d1b653c24de1a691c13f7db1b6e6a95aee (diff) | |
download | ffmpeg-01775730fd1e1877c142518f8cce9d23c47060b1.tar.gz |
avcodec/nvenc: add weighted prediction support
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc_h264.c')
-rw-r--r-- | libavcodec/nvenc_h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c index 595e882ed2..20f47ec727 100644 --- a/libavcodec/nvenc_h264.c +++ b/libavcodec/nvenc_h264.c @@ -117,6 +117,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 } }; |