Added CC ALF parameter for encoding.

This commit is contained in:
Arttu Makinen 2020-11-13 16:53:21 +02:00
parent 0e74bfb2a8
commit 2b62b91589
3 changed files with 4 additions and 4 deletions

View file

@ -1841,10 +1841,6 @@ void kvz_alf_enc_process(encoder_state_t *const state)
rec_yuv->width >> chroma_scale_x,
rec_yuv->height >> chroma_scale_y);
const kvz_picture rec_yuv_buf;
memcpy(&rec_yuv_buf, state->tile->frame->rec, sizeof(rec_yuv_buf));

View file

@ -809,6 +809,8 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
}
else if OPT("alf")
cfg->alf_enable = atobool(value);
else if OPT("ccalf")
cfg->alf_cc_enabled_flag = atobool(value);
else if OPT("rdoq")
cfg->rdoq_enable = atobool(value);
else if OPT("signhide")

View file

@ -51,6 +51,8 @@ static const struct option long_options[] = {
{ "no-sao", no_argument, NULL, 0 },
{ "alf", no_argument, NULL, 0 },
{ "no-alf", no_argument, NULL, 0 },
{ "ccalf", no_argument, NULL, 0 },
{ "no-ccalf", no_argument, NULL, 0 },
{ "rdoq", no_argument, NULL, 0 },
{ "no-rdoq", no_argument, NULL, 0 },
{ "signhide", no_argument, NULL, 0 },