ref: abf5b8d5eb5b1214b0d6145f1ac71b4d1231d8ff
parent: be4cf6bcdca26ee4662e03bb1871daca3c136c3e
author: Jingning Han <[email protected]>
date: Wed Feb 19 10:11:12 EST 2014
Force alt reference frame off in rtc mode When non-RD coding decision is used in rtc mode, the alt reference is not used for inter frame prediction. This commit disabled alt ref option whenever speed -6 is used. Change-Id: I0b33ca03661de1db2d9bef1bcbff848cd4c9396f
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -1381,6 +1381,9 @@
cpi->oxcf = *oxcf;
+ if (cpi->oxcf.cpu_used == -6)
+ cpi->oxcf.play_alternate = 0;
+
switch (cpi->oxcf.mode) {
// Real time and one pass deprecated in test code base
case MODE_GOODQUALITY: