mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 20:42:49 +08: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:
		| @@ -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); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Storsjö
					Martin Storsjö