]> granicus.if.org Git - libvpx/commitdiff
vp9-dynamic resize: On a resize trigger frame refresh alt_ref.
authorMarco <marpan@google.com>
Fri, 5 Feb 2016 23:43:42 +0000 (15:43 -0800)
committerMarco <marpan@google.com>
Sat, 6 Feb 2016 00:32:49 +0000 (16:32 -0800)
For 1 pass real-time mode. No change in behavior as only last
and golden are used as references in 1 pass real-time mode.

Change-Id: Ie4655014eee1a8b271542f29d74b2c6f7fed54c9

vp9/encoder/vp9_aq_cyclicrefresh.c

index a2e3918419afac263ce7e98bdbe2f956e37ddd9e..b7cfdf6bf4c6d71530c0dd6e811bac2b66b768a9 100644 (file)
@@ -608,4 +608,5 @@ void vp9_cyclic_refresh_reset_resize(VP9_COMP *const cpi) {
   memset(cr->consec_zero_mv, 0, cm->mi_rows * cm->mi_cols);
   cr->sb_index = 0;
   cpi->refresh_golden_frame = 1;
+  cpi->refresh_alt_ref_frame = 1;
 }