From: Jim Bankoski Date: Tue, 3 Feb 2015 14:45:56 +0000 (-0800) Subject: make low bitrates a lot less blocky X-Git-Tag: v1.4.0~191^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f1cf2c8cf0baaf6b9ddd5ec8b2dc599d949f760;p=libvpx make low bitrates a lot less blocky Remove loop filter skip at speed 7+ because of bad visual artifacts and up the postprocessing. Change-Id: Ibdd0bac71aaee232d2bb2e14462733c51517768d --- diff --git a/vp9/common/vp9_postproc.c b/vp9/common/vp9_postproc.c index 7eac70be2..bb21ade40 100644 --- a/vp9/common/vp9_postproc.c +++ b/vp9/common/vp9_postproc.c @@ -632,7 +632,7 @@ static void swap_mi_and_prev_mi(VP9_COMMON *cm) { int vp9_post_proc_frame(struct VP9Common *cm, YV12_BUFFER_CONFIG *dest, vp9_ppflags_t *ppflags) { - const int q = MIN(63, cm->lf.filter_level * 10 / 6); + const int q = MIN(105, cm->lf.filter_level * 2); const int flags = ppflags->post_proc_flag; YV12_BUFFER_CONFIG *const ppbuf = &cm->post_proc_buffer; struct postproc_state *const ppstate = &cm->postproc_state; diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index 81f3195fe..23eabf0d3 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -337,7 +337,6 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf, sf->adaptive_rd_thresh = 3; sf->mv.search_method = FAST_DIAMOND; sf->mv.fullpel_search_step_param = 10; - sf->lpf_pick = LPF_PICK_MINIMAL_LPF; } if (speed >= 8) { sf->adaptive_rd_thresh = 4;