mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/libsvtav1: fine tune qp mode settings
As requested in https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1829 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
4e47ebf38b
commit
50bc872635
|
@ -188,11 +188,10 @@ static int config_enc_params(EbSvtAv1EncConfiguration *param,
|
|||
if (svt_enc->crf > 0) {
|
||||
param->qp = svt_enc->crf;
|
||||
param->rate_control_mode = 0;
|
||||
param->enable_tpl_la = 1;
|
||||
} else if (svt_enc->qp > 0) {
|
||||
param->qp = svt_enc->qp;
|
||||
param->rate_control_mode = 0;
|
||||
param->enable_tpl_la = 0;
|
||||
param->enable_adaptive_quantization = 0;
|
||||
}
|
||||
|
||||
#if SVT_AV1_CHECK_VERSION(0, 9, 1)
|
||||
|
|
Loading…
Reference in New Issue