Commit 838eae39 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Correct 3 step search site initialziation

39c7b01d accidently reverted the row/col initialization, which broke
mv clamps, which is dependent on the sites for valid motion vector
range. This commit fixed the issue.

Change-Id: Ibcce0226e0360b1ef483fe760b2e33f1af4bf494
parent 54c87058
......@@ -144,8 +144,8 @@ void vp9_init3smotion_compensation(MACROBLOCK *x, int stride) {
for (len = MAX_FIRST_STEP; len > 0; len /= 2) {
// Generate offsets for 8 search sites per step.
const MV ss_mvs[8] = {
{ 0, -len}, {0, len}, {-len, 0 }, {len, 0 },
{-len, -len}, {len, -len}, {-len, len}, {len, len}
{-len, 0 }, {len, 0 }, { 0, -len}, {0, len},
{-len, -len}, {-len, len}, {len, -len}, {len, len}
};
int i;
for (i = 0; i < 8; ++i) {
......
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