Commit c85a6812 authored by hui su's avatar hui su

Speed up ext-intra

Skip filtered intra modes search in inter frame when DC mode is
worse than the best mode so far.

With ext-intra enabled, the overall speed is increased by 20~40%;
performance drop is 0.03% on lowres and 0.05% on midres.

Change-Id: I75d2503b067cf5e46e3533b97fb01497e125baa7
parent 2613b5e9
......@@ -7920,6 +7920,8 @@ void vp10_rd_pick_inter_mode_sb(VP10_COMP *cpi,
mbmi->angle_delta[0] = 0;
super_block_yrd(cpi, x, &rate_y, &distortion_y, &skippable,
NULL, bsize, best_rd);
if (rate_y == INT_MAX)
continue;
}
// TODO(huisu): ext-intra is turned off in lossless mode for now to
......
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