From: Jingning Han Date: Wed, 11 Mar 2015 23:08:59 +0000 (-0700) Subject: Remove unnecessary speed feature checking X-Git-Tag: v1.4.0~53^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=313c28f8b8fb88db23e009120388395dcd2eb13f;p=libvpx Remove unnecessary speed feature checking This commit removes the pred_mv_sad comparison from rtc motion search, given that a stronger comparison has been done at the mode search level to eliminate unlikely selected reference frames. Change-Id: I49b8d24b2174303066fd8eff2102c0648f2869df --- diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 23a2569c8..f1b19e00a 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -137,10 +137,6 @@ static int combined_motion_search(VP9_COMP *cpi, MACROBLOCK *x, int cost_list[5]; const YV12_BUFFER_CONFIG *scaled_ref_frame = vp9_get_scaled_ref_frame(cpi, ref); - if (cpi->common.show_frame && - (x->pred_mv_sad[ref] >> 3) > x->pred_mv_sad[LAST_FRAME]) - return rv; - if (scaled_ref_frame) { int i; // Swap out the reference frame for a version that's been scaled to