Commit cf83dfb2 authored by Jingning Han's avatar Jingning Han Committed by Gerrit Code Review

Merge "Enforce motion search range clamp for sub8x8"

parents 9460226a a67e654b
......@@ -1780,6 +1780,9 @@ static void rd_check_segment_txsize(VP9_COMP *cpi, MACROBLOCK *x,
further_steps = (MAX_MVSEARCH_STEPS - 1) - step_param;
// adjust src pointer for this block
mi_buf_shift(x, i);
vp9_clamp_mv_min_max(x, &bsi->ref_mv->as_mv);
if (cpi->sf.search_method == HEX) {
bestsme = vp9_hex_search(x, &mvp_full.as_mv,
step_param,
......
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