]> granicus.if.org Git - libvpx/commitdiff
make low bitrates a lot less blocky
authorJim Bankoski <jimbankoski@google.com>
Tue, 3 Feb 2015 14:45:56 +0000 (06:45 -0800)
committerJim Bankoski <jimbankoski@google.com>
Tue, 3 Feb 2015 14:45:56 +0000 (06:45 -0800)
Remove loop filter skip at speed 7+ because of bad visual artifacts and
up the postprocessing.

Change-Id: Ibdd0bac71aaee232d2bb2e14462733c51517768d

vp9/common/vp9_postproc.c
vp9/encoder/vp9_speed_features.c

index 7eac70be2d4074f3c4f929f635b99b008f3f20af..bb21ade4037c9e58cf7ec5181d131b56452607b0 100644 (file)
@@ -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;
index 81f3195fef3306ecb4c70063da296ac714c81f67..23eabf0d3b8b18861979033669f6ceb10f7e3baa 100644 (file)
@@ -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;