Remove unnecessary bounds checking in motion search
authorYunqing Wang <yunqingwang@google.com>
Fri, 17 Jun 2011 18:19:51 +0000 (14:19 -0400)
committerYunqing Wang <yunqingwang@google.com>
Fri, 17 Jun 2011 18:19:51 +0000 (14:19 -0400)
commit2cd1c2855e0b53ce2177f5c8a555a0980fd15492
tree6d2efbcee3231daef63d9d8aee36e2e42b57746b
parent87fd66bb0ec49a125feaf37355b75f31945aae60
Remove unnecessary bounds checking in motion search

The starting points are always within the limits, and bounds
checking on these points is not needed. For speed < 5, the
encoded result changes a little because different treatment
is taken while starting point equals the bounds.

Change-Id: I09a402d310f51e305a3519f1601b1d17b05c6152
vp8/encoder/mcomp.c