Commit f9b0694c authored by Michael Niedermayer's avatar Michael Niedermayer

motion-test: fix height parameter

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d58b25aa
......@@ -80,8 +80,8 @@ static void test_motion(const char *name,
for(y=0;y<HEIGHT-17;y++) {
for(x=0;x<WIDTH-17;x++) {
ptr = img2 + y * WIDTH + x;
d1 = test_func(NULL, img1, ptr, WIDTH, 1);
d2 = ref_func(NULL, img1, ptr, WIDTH, 1);
d1 = test_func(NULL, img1, ptr, WIDTH, 8);
d2 = ref_func(NULL, img1, ptr, WIDTH, 8);
if (d1 != d2) {
printf("error: mmx=%d c=%d\n", d1, d2);
}
......@@ -97,7 +97,7 @@ static void test_motion(const char *name,
for(y=0;y<HEIGHT-17;y++) {
for(x=0;x<WIDTH-17;x++) {
ptr = img2 + y * WIDTH + x;
d1 += test_func(NULL, img1, ptr, WIDTH, 1);
d1 += test_func(NULL, img1, ptr, WIDTH, 8);
}
}
}
......
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