summaryrefslogtreecommitdiff
path: root/libavcodec/libsvtav1.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-07-30 22:32:00 +0100
committerMark Thompson <sw@jkqxz.net>2020-07-31 22:30:41 +0100
commit11a2d05b3fa977ea9437725531a4875b735c977e (patch)
treec01204f7e9dae6bbc931064b13ba85d69453c237 /libavcodec/libsvtav1.c
parentad7aa1e8e7e60d3db1264c16c8cd891782ab8887 (diff)
libsvtav1: Fix the documentation to match the actual options
Diffstat (limited to 'libavcodec/libsvtav1.c')
-rw-r--r--libavcodec/libsvtav1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
index 13d3adc0f8..40942c6f6a 100644
--- a/libavcodec/libsvtav1.c
+++ b/libavcodec/libsvtav1.c
@@ -489,7 +489,7 @@ static const AVOption options[] = {
{ "preset", "Encoding preset [0, 8]",
OFFSET(enc_mode), AV_OPT_TYPE_INT, { .i64 = MAX_ENC_PRESET }, 0, MAX_ENC_PRESET, VE },
- { "tier", "Set tier (general_tier_flag)", OFFSET(tier),
+ { "tier", "Set operating point tier", OFFSET(tier),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE, "tier" },
{ "main", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, 0, 0, VE, "tier" },
{ "high", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, 0, 0, VE, "tier" },
@@ -526,11 +526,11 @@ static const AVOption options[] = {
{ "rc", "Bit rate control mode", OFFSET(rc_mode),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 3, VE , "rc"},
- { "cqp", "Const Quantization Parameter", 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, INT_MIN, INT_MAX, VE, "rc" },
+ { "cqp", "Constant quantizer", 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, INT_MIN, INT_MAX, VE, "rc" },
{ "vbr", "Variable Bit Rate, use a target bitrate for the entire stream", 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, INT_MIN, INT_MAX, VE, "rc" },
{ "cvbr", "Constrained Variable Bit Rate, use a target bitrate for each GOP", 0, AV_OPT_TYPE_CONST,{ .i64 = 2 }, INT_MIN, INT_MAX, VE, "rc" },
- { "qp", "QP value for intra frames", OFFSET(qp),
+ { "qp", "Quantizer to use with cqp rate control mode", OFFSET(qp),
AV_OPT_TYPE_INT, { .i64 = 50 }, 0, 63, VE },
{ "sc_detection", "Scene change detection", OFFSET(scd),