mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
checkasm: motion: Make the benchmarks more stable
Don't use the last random offset, but a static one. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
02e7853fd9
commit
237730f0e0
@ -79,7 +79,8 @@ static void test_motion(const char *name, me_cmp_func test_func)
|
||||
break;
|
||||
}
|
||||
}
|
||||
// benchmark with the final value of ptr
|
||||
// Test with a fixed offset, for benchmark stability
|
||||
ptr = img2 + 3 * WIDTH + 3;
|
||||
bench_new(NULL, img1, ptr, WIDTH, 8);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user