Searched refs:PATCH_SIZE (Results 1 – 1 of 1) sorted by relevance
41 #define PATCH_SIZE 8 macro43 #define PATCH_CENTER ((PATCH_SIZE + 1) >> 1)476 return (x > (PATCH_SIZE + PATCH_CENTER)) && in valid_point()477 (x < (width - PATCH_SIZE - PATCH_CENTER)) && in valid_point()478 (y > (PATCH_SIZE + PATCH_CENTER)) && in valid_point()479 (y < (height - PATCH_SIZE - PATCH_CENTER)); in valid_point()612 for (i = y; i < y + PATCH_SIZE; ++i) in compute_warp_and_error()613 for (j = x; j < x + PATCH_SIZE; ++j) { in compute_warp_and_error()619 dt[(i - y) * PATCH_SIZE + (j - x)] = err; in compute_warp_and_error()622 mse /= (PATCH_SIZE * PATCH_SIZE); in compute_warp_and_error()[all …]