avcodec/nvenc: Deprecate usage of global_quality, introducing qp

This commit is contained in:
Timo Rothenpieler
2017-03-23 17:01:40 +01:00
parent 038e6aef7a
commit 7fb2a7afa1
5 changed files with 17 additions and 6 deletions

View File

@@ -109,6 +109,8 @@ static const AVOption options[] = {
{ "init_qpP", "Initial QP value for P frame", OFFSET(init_qp_p), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE },
{ "init_qpB", "Initial QP value for B frame", OFFSET(init_qp_b), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE },
{ "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 },
{ NULL }
};