shithub: libvpx

Download patch

ref: 0907bfef4c345c1e3db279ab1e2f076e152e799c
parent: dfcf95162b6a1be91c771fb39f22a0116c802f41
parent: 54c0f0de444dae1f37a44acd81bb90a84b2c10cc
author: Paul Wilkins <paulwilkins@google.com>
date: Thu Feb 28 07:58:20 EST 2019

Merge "Change to direction of scan for GF only group boost."

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2636,7 +2636,8 @@
     rc->gfu_boost = calc_arf_boost(cpi, forward_frames, (i - 1));
     rc->source_alt_ref_pending = 1;
   } else {
-    rc->gfu_boost = VPXMIN(MAX_GF_BOOST, calc_arf_boost(cpi, 0, (i - 1)));
+    reset_fpf_position(twopass, start_pos);
+    rc->gfu_boost = VPXMIN(MAX_GF_BOOST, calc_arf_boost(cpi, (i - 1), 0));
     rc->source_alt_ref_pending = 0;
   }