Adjust alt-ref selection in define_gf_group()
authorhui su <huisu@google.com>
Thu, 20 Apr 2017 22:49:52 +0000 (15:49 -0700)
committerhui su <huisu@google.com>
Wed, 26 Apr 2017 01:03:47 +0000 (18:03 -0700)
commit8069f310767e1a9a3de77f25ef0db09cbafbf0cd
tree115ce75ab497527bff1642f4d133c89bdb42bd43
parent29938b3a5acb18000d2db55f617ae38310e24973
Adjust alt-ref selection in define_gf_group()

107de19698 changes the encoder alt-ref selection behavior. Assuming
min_gf_interval = max_gf_interval = 4, the frame order would be
frm_1  arf_1  frm_2  frm_3  frm_4  frm_5  arf_2 before 107de19698;
frm_1  arf_1  frm_2  frm_3  frm_4  arf_2  frm_5 after 107de19698.

This patch reverts such alt-ref placement change.

Change-Id: I93a4a65036575151286f004d455d4fcea88a1550
vp9/encoder/vp9_firstpass.c