Disconnect ARF breakout from frame boost.
authorpaulwilkins <paulwilkins@google.com>
Wed, 15 Feb 2017 10:33:10 +0000 (10:33 +0000)
committerpaulwilkins <paulwilkins@google.com>
Wed, 15 Feb 2017 10:46:14 +0000 (10:46 +0000)
commitcfc79a357a4a6c954781d755b786fadf65f46b60
treeba2080b94ec2006fb4fe1d758367158533434145
parentb89ba05ab45cfafaf92a95fda21b9e4c5142db88
Disconnect ARF breakout from frame boost.

This small change replaces the frame boost check in the arf group
length break out clause with a test against a prediction decay value.

The boost value is in fact partly dependent on the decay value but
this change means that the per frame boost calculation can be adjusted
without influencing the group length calculation.

The value chosen gives a close match on all the test sets with the previous
code (on average) but it was noted that a lower threshold was slightly better
for 1080P and up and a slightly higher value for small image sizes.

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