]> granicus.if.org Git - libvpx/commit
vp9: Fix to usage of flag USE_ALTREF_FOR_ONE_PASS
authorMarco <marpan@google.com>
Wed, 14 Dec 2016 22:08:09 +0000 (14:08 -0800)
committerMarco <marpan@google.com>
Wed, 14 Dec 2016 23:07:38 +0000 (15:07 -0800)
commit5de798f2b26fce3e82f0c28219fe13c3cf88dde7
treea1581a95b4b57c4beb0ebac50cd5d4807fc49885
parent86e340c76e73c5336b2a39142ab858431d441d6b
vp9: Fix to usage of flag USE_ALTREF_FOR_ONE_PASS

The flag USE_ALTREF_FOR_ONE_PASS allows for alt-ref lookahead
in 1 pass vbr (from https://chromium-review.googlesource.com/#/c/365498).
This change is to make sure this macro flag only has effect if
the config flag cpi->oxcf.enable_auto_altef is also on.

No change in ytlive encoding, as USE_ALTREF_FOR_ONE_PASS is not
yet enabled.

Change-Id: I1a69681e4a15c5244581a3dab4587fca08f02e0f
vp9/encoder/vp9_ratectrl.c