vp9: Adjust consec_zeromv threshold for aq-mode=3.
authorMarco <marpan@google.com>
Fri, 7 Apr 2017 15:52:54 +0000 (08:52 -0700)
committerMarco <marpan@google.com>
Fri, 7 Apr 2017 15:54:09 +0000 (08:54 -0700)
To reduce refresh on partial super-blocks on boundary,
for noisy input. Reduces some artifacts on noisy input.

Change-Id: I10b5808a296874e08c7f378b3df58466591d8dbe
Edit

vp9/encoder/vp9_aq_cyclicrefresh.c

index 8255777..b4a0bbe 100644 (file)
@@ -378,7 +378,7 @@ static void cyclic_refresh_update_map(VP9_COMP *const cpi) {
         VPXMIN(cm->mi_rows - mi_row, num_8x8_blocks_high_lookup[BLOCK_64X64]);
     if (cpi->noise_estimate.enabled && cpi->noise_estimate.level >= kMedium &&
         (xmis <= 2 || ymis <= 2))
-      consec_zero_mv_thresh_block = 10;
+      consec_zero_mv_thresh_block = 4;
     for (y = 0; y < ymis; y++) {
       for (x = 0; x < xmis; x++) {
         const int bl_index2 = bl_index + y * cm->mi_cols + x;