shithub: libvpx

Download patch

ref: 7e79831016bb6fd58118dc4d585ee4004ce42742
parent: 66f36f473563042f1fd8eadaf7610739328f34af
author: Marco <[email protected]>
date: Wed Feb 22 05:45:21 EST 2017

vp9: aq-mode=3: On key frame reset cr->reduce_refresh to 0.

This prevent possible reduction of cyclic refresh after key frame.

Change-Id: Idd4e49b69cd95476e7eccfa31b2bd8669569e9e8

--- a/vp9/encoder/vp9_aq_cyclicrefresh.c
+++ b/vp9/encoder/vp9_aq_cyclicrefresh.c
@@ -531,6 +531,7 @@
       memset(cr->last_coded_q_map, MAXQ,
              cm->mi_rows * cm->mi_cols * sizeof(*cr->last_coded_q_map));
       cr->sb_index = 0;
+      cr->reduce_refresh = 0;
     }
     return;
   } else {