diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-09-02 18:38:58 +0800 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2021-09-06 14:25:26 +0200 |
commit | 75001ae8440d819d23443709091fca4c39e395a1 (patch) | |
tree | 4c21f37c98190d5c31e25a5f0b4a7d6717f6101f /libavcodec/nvenc_hevc.c | |
parent | 3756525a59cc63db431fc301ea3748958964af16 (diff) | |
download | ffmpeg-75001ae8440d819d23443709091fca4c39e395a1.tar.gz |
avcodec/nvenc: add constrainedFrame encoding support
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
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 d8cfeca7a9..a13ac5a395 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -173,6 +173,8 @@ static const AVOption options[] = { OFFSET(intra_refresh),AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, { "single-slice-intra-refresh", "Use single slice intra refresh", OFFSET(single_slice_intra_refresh), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, + { "constrained-encoding", "Enable constrainedFrame encoding where each slice in the constrained picture is independent of other slices", + OFFSET(constrained_encoding), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, { NULL } }; |