Commit 02aade85 authored by Urvang Joshi's avatar Urvang Joshi

Tweak for recode_loop_test_global_motion() func.

There were two assignments to 'recode' earlier, out of which the 2nd one
was a no-op.

Change-Id: Ia181c736177ad9886c2d0dc4a2002d5bc2fb7742
parent 34a5f0f1
......@@ -4236,7 +4236,9 @@ static int recode_loop_test_global_motion(AV1_COMP *cpi) {
assert(cm->global_motion[i].wmtype == IDENTITY);
cpi->gmparams_cost[i] = 0;
recode = 1;
recode |= (rdc->global_motion_used[i] > 0);
// TODO(sarahparker): The earlier condition for recoding here was:
// "recode |= (rdc->global_motion_used[i] > 0);". Can we bring something
// similar to that back to speed up global motion?
}
}
return recode;
......
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