Searched refs:PATCH_SIZE (Results 1 – 1 of 1) sorted by relevance
42 #define PATCH_SIZE 8 macro44 #define PATCH_CENTER ((PATCH_SIZE + 1) >> 1)345 return (x > (PATCH_SIZE + PATCH_CENTER)) && in valid_point()346 (x < (width - PATCH_SIZE - PATCH_CENTER)) && in valid_point()347 (y > (PATCH_SIZE + PATCH_CENTER)) && in valid_point()348 (y < (height - PATCH_SIZE - PATCH_CENTER)); in valid_point()481 for (i = y; i < y + PATCH_SIZE; ++i) in compute_warp_and_error()482 for (j = x; j < x + PATCH_SIZE; ++j) { in compute_warp_and_error()488 dt[(i - y) * PATCH_SIZE + (j - x)] = err; in compute_warp_and_error()491 mse /= (PATCH_SIZE * PATCH_SIZE); in compute_warp_and_error()[all …]