mirror of https://git.ffmpeg.org/ffmpeg.git
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