From 9f1cf2c8cf0baaf6b9ddd5ec8b2dc599d949f760 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Tue, 3 Feb 2015 06:45:56 -0800 Subject: [PATCH] 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 --- vp9/common/vp9_postproc.c | 2 +- vp9/encoder/vp9_speed_features.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.40.0