---
libavcodec/nvenc_av1.c | 1 +
libavcodec/nvenc_hevc.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/libavcodec/nvenc_av1.c b/libavcodec/nvenc_av1.c
index df6a93edcb..8421697636 100644
--- a/libavcodec/nvenc_av1.c
+++ b/libavcodec/nvenc_av1.c
@@ -180,6 +180,7 @@ static const AVOption options[] = {
{ "forced", "Enabled with number of horizontal strips selected
by the driver", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_AUTO_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
{ "2", "Enabled with number of horizontal strips forced to
2 when number of NVENCs > 1", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_TWO_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
{ "3", "Enabled with number of horizontal strips forced to
3 when number of NVENCs > 2", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_THREE_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
+ { "4", "Enabled with number of horizontal strips forced
to 4 when number of NVENCs > 3", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_FOUR_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
#endif
{ NULL }
};
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 54e2fe323e..0d988eded5 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -238,6 +238,7 @@ static const AVOption options[] = {
{ "forced", "Enabled with number of horizontal strips selected
by the driver", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_AUTO_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
{ "2", "Enabled with number of horizontal strips forced to
2 when number of NVENCs > 1", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_TWO_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
{ "3", "Enabled with number of horizontal strips forced to
3 when number of NVENCs > 2", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_THREE_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
+ { "4", "Enabled with number of horizontal strips forced
to 4 when number of NVENCs > 3", 0, AV_OPT_TYPE_CONST, { .i64 =
NV_ENC_SPLIT_FOUR_FORCED_MODE }, 0, 0, VE, .unit = "split_encode_mode" },
#endif
{ NULL }
};
--
2.52.0
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]