From: Jingning Han Date: Wed, 19 Feb 2014 23:11:12 +0000 (-0800) Subject: Force alt reference frame off in rtc mode X-Git-Tag: v1.4.0~2302^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abf5b8d5eb5b1214b0d6145f1ac71b4d1231d8ff;p=libvpx 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 --- diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 73ac9bc88..e11232e61 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -1381,6 +1381,9 @@ void vp9_change_config(VP9_PTR ptr, VP9_CONFIG *oxcf) { 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: