Add no-vaq option to vaq

This commit is contained in:
siivonek 2020-02-04 14:14:39 +02:00 committed by siivonek
parent 09f0a1c52e
commit ad40a88c09
2 changed files with 2 additions and 1 deletions

View file

@ -1250,7 +1250,7 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
else if (OPT("fast-residual-cost"))
cfg->fast_residual_cost_limit = atoi(value);
else if (OPT("vaq")) {
cfg->vaq = true;
cfg->vaq = (bool)atobool(value);
}
else if (OPT("max-merge")) {
int max_merge = atoi(value);

View file

@ -134,6 +134,7 @@ static const struct option long_options[] = {
{ "open-gop", no_argument, NULL, 0 },
{ "no-open-gop", no_argument, NULL, 0 },
{ "vaq", no_argument, NULL, 0 },
{ "no-vaq", no_argument, NULL, 0 },
{ "scaling-list", required_argument, NULL, 0 },
{ "max-merge", required_argument, NULL, 0 },
{ "early-skip", no_argument, NULL, 0 },