vp8: Small adjustment to cyclic_refresh max_mbs_perframe.
authorMarco <marpan@chromium.org>
Wed, 9 Sep 2015 21:51:14 +0000 (14:51 -0700)
committerMarco <marpan@chromium.org>
Wed, 9 Sep 2015 22:34:58 +0000 (15:34 -0700)
For 3 temporal layers, reduce somewhat the
cyclic_refresh_mode_max_mbs_perframe parameter, from 20% to ~14%.
Small increase in PSNR/SSIM metrics.

Change-Id: Ia216fa5474048f1ef7fe3db88cd60dfef2a1bf8a

vp8/encoder/onyx_if.c

index 30a0477..f1b9326 100644 (file)
@@ -1918,7 +1918,7 @@ struct VP8_COMP* vp8_create_compressor(VP8_CONFIG *oxcf)
      * Currently this is tied to error resilliant mode
      */
     cpi->cyclic_refresh_mode_enabled = cpi->oxcf.error_resilient_mode;
-    cpi->cyclic_refresh_mode_max_mbs_perframe = (cpi->common.mb_rows * cpi->common.mb_cols) / 5;
+    cpi->cyclic_refresh_mode_max_mbs_perframe = (cpi->common.mb_rows * cpi->common.mb_cols) / 7;
     if (cpi->oxcf.number_of_layers == 1) {
         cpi->cyclic_refresh_mode_max_mbs_perframe =
             (cpi->common.mb_rows * cpi->common.mb_cols) / 20;