ref: 0b08f8892fb1e7f39077c127123004c6925ba570
parent: f7b276c26be7564cbbfe6bd3e1a9bf7b59580cf1
parent: 42373b21cea6651b3063e14a8cdaaaf646ae7f14
author: Marco Paniconi <marpan@google.com>
date: Wed Sep 20 21:33:12 EDT 2017
Merge "vp9: Modify pickmode early exit for ARF in 1pass."
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1678,6 +1678,7 @@
continue;
if (cpi->rc.alt_ref_gf_group && cm->show_frame &&
+ cpi->rc.frames_since_golden > 0 &&
cpi->rc.frames_since_golden < (cpi->rc.baseline_gf_interval >> 1) &&
ref_frame == ALTREF_FRAME &&
frame_mv[this_mode][ref_frame].as_int != 0)