Commit f4909db3 authored by David Barker's avatar David Barker Committed by Debargha Mukherjee

Change erroradvantage measure for global motion

lowres: -0.594% (BDRATE)

tempete: -5.609%
waterfall: -7.227%

Change-Id: Ia68ed6ab3dd6b5b17c3e33658c4b75be28796e8e
parent 487a3889
......@@ -512,8 +512,8 @@ static double warp_erroradv(WarpedMotionParams *wm, uint8_t *ref, int width,
warp_interpolate(ref, out[0], out[1], width, height, stride);
no_gm_err = dst[(j - p_col) + (i - p_row) * p_stride] -
ref[(j - p_col) + (i - p_row) * stride];
gm_sumerr += gm_err * gm_err;
no_gm_sumerr += no_gm_err * no_gm_err;
gm_sumerr += abs(gm_err);
no_gm_sumerr += abs(no_gm_err);
}
}
return (double)gm_sumerr / no_gm_sumerr;
......
......@@ -4613,7 +4613,7 @@ static int input_fpmb_stats(FIRSTPASS_MB_STATS *firstpass_mb_stats,
#if CONFIG_GLOBAL_MOTION
#define MIN_TRANS_THRESH (1 * GM_TRANS_DECODE_FACTOR)
#define GLOBAL_MOTION_ADVANTAGE_THRESH 0.60
#define GLOBAL_MOTION_ADVANTAGE_THRESH 0.75
#define GLOBAL_MOTION_MODEL ROTZOOM
// Adds some offset to a global motion parameter and handles
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment