Commit e63792e5 authored by Yue Chen's avatar Yue Chen
Browse files

A major speed up for obmc experiment

Skip checking obmc when regular inter predictor is not so good (the
rd-cost for Y residual is greater than the total rd of the best mode
so far.)

Performance change compared to full rd search:
  +0.006% lowres, -0.056% midres
Encoding time :
  1.14X baseline (was 1.42X)

Change-Id: I11350f955a20e1a2331be458537a915e09fbedf3
parent d5c6b834
......@@ -6983,10 +6983,14 @@ static int64_t handle_inter_mode(VP10_COMP *cpi, MACROBLOCK *x,
*rate2 = INT_MAX;
*distortion = INT64_MAX;
if (mbmi->obmc) {
} else {
#endif // CONFIG_OBMC
restore_dst_buf(xd, orig_dst, orig_dst_stride);
return INT64_MAX;
#endif // CONFIG_OBMC
Supports Markdown
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