From: Marco Paniconi Date: Wed, 20 Nov 2013 01:10:57 +0000 (-0800) Subject: Undo the vp8 change in "Reduce loop filter in..." X-Git-Tag: v1.4.0~2994 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d486427cf1bb1b64ab1e0a746e5e2b7c5bb3a0e2;p=libvpx Undo the vp8 change in "Reduce loop filter in..." Patch in https://gerrit.chromium.org/gerrit/#/c/41176/ was merged into repository by mistake. Change-Id: I235c71af26bb2d72698c8aac2301e5a7e9c5f960 --- diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 1c773b731..881ada153 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -3808,22 +3808,11 @@ static void encode_frame_to_data_rate /* Setup background Q adjustment for error resilient mode. * For multi-layer encodes only enable this for the base layer. - * Reduce loop filter to reduce "dot" artifacts that can occur for repeated - * loop filtering on ZEROMV_LASTREF blocks. - * For now reducing it to -32, only for resolutions above CIF and - * #temporal_layers < 3 (artifact is hard to see at low spatial resolution - * and/or high #temporal layers). */ if (cpi->cyclic_refresh_mode_enabled) { - int delta_loop_filter = 0; - if (cm->Width > 352 && cm->Height > 288 && - cpi->oxcf.number_of_layers < 3) - { - delta_loop_filter = -32; - } if (cpi->current_layer==0) - cyclic_background_refresh(cpi, Q, delta_loop_filter); + cyclic_background_refresh(cpi, Q, 0); else disable_segmentation(cpi); }