mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Add no-vaq option to vaq
This commit is contained in:
parent
09f0a1c52e
commit
ad40a88c09
|
@ -1250,7 +1250,7 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
||||||
else if (OPT("fast-residual-cost"))
|
else if (OPT("fast-residual-cost"))
|
||||||
cfg->fast_residual_cost_limit = atoi(value);
|
cfg->fast_residual_cost_limit = atoi(value);
|
||||||
else if (OPT("vaq")) {
|
else if (OPT("vaq")) {
|
||||||
cfg->vaq = true;
|
cfg->vaq = (bool)atobool(value);
|
||||||
}
|
}
|
||||||
else if (OPT("max-merge")) {
|
else if (OPT("max-merge")) {
|
||||||
int max_merge = atoi(value);
|
int max_merge = atoi(value);
|
||||||
|
|
|
@ -134,6 +134,7 @@ static const struct option long_options[] = {
|
||||||
{ "open-gop", no_argument, NULL, 0 },
|
{ "open-gop", no_argument, NULL, 0 },
|
||||||
{ "no-open-gop", no_argument, NULL, 0 },
|
{ "no-open-gop", no_argument, NULL, 0 },
|
||||||
{ "vaq", no_argument, NULL, 0 },
|
{ "vaq", no_argument, NULL, 0 },
|
||||||
|
{ "no-vaq", no_argument, NULL, 0 },
|
||||||
{ "scaling-list", required_argument, NULL, 0 },
|
{ "scaling-list", required_argument, NULL, 0 },
|
||||||
{ "max-merge", required_argument, NULL, 0 },
|
{ "max-merge", required_argument, NULL, 0 },
|
||||||
{ "early-skip", no_argument, NULL, 0 },
|
{ "early-skip", no_argument, NULL, 0 },
|
||||||
|
|
Loading…
Reference in a new issue