From: Marco Paniconi Date: Fri, 14 Dec 2018 03:33:11 +0000 (-0800) Subject: vp8-mfqe: Increase initial frame# threshold X-Git-Tag: v1.8.0~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18d260d13f2be7ff1c5bc7b75edc3ab2b917cf83;p=libvpx vp8-mfqe: Increase initial frame# threshold Increase the initial frame number threshold for the mfqe, as using the running average of last_base_qindex doesn't work well after very first frame. Only affects the very first few frames. Fixes an issue with a test. Change-Id: Ia249924257b44263e0b9f43cbff473902f08e28c --- diff --git a/vp8/common/postproc.c b/vp8/common/postproc.c index 8c292d616..1ff2e5cc5 100644 --- a/vp8/common/postproc.c +++ b/vp8/common/postproc.c @@ -325,7 +325,7 @@ int vp8_post_proc_frame(VP8_COMMON *oci, YV12_BUFFER_CONFIG *dest, vpx_clear_system_state(); if ((flags & VP8D_MFQE) && oci->postproc_state.last_frame_valid && - oci->current_video_frame >= 2 && + oci->current_video_frame > 10 && oci->postproc_state.last_base_qindex < 60 && oci->base_qindex - oci->postproc_state.last_base_qindex >= 20) { vp8_multiframe_quality_enhance(oci);