You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
motion-test: fix height parameter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user