Searched refs:MAX_RADIUS (Results 1 – 4 of 4) sorted by relevance
98 params.r[0] = run_times == 1 ? (rng_.Rand8() % MAX_RADIUS) : (iter % 2); in RunPixelProjErrorTest()99 params.r[1] = run_times == 1 ? (rng_.Rand8() % MAX_RADIUS) : (iter / 2); in RunPixelProjErrorTest()100 params.s[0] = run_times == 1 ? (rng_.Rand8() % MAX_RADIUS) : (iter % 2); in RunPixelProjErrorTest()101 params.s[1] = run_times == 1 ? (rng_.Rand8() % MAX_RADIUS) : (iter / 2); in RunPixelProjErrorTest()152 params.r[0] = rng_.Rand8() % MAX_RADIUS; in RunPixelProjErrorTest_ExtremeValues()153 params.r[1] = rng_.Rand8() % MAX_RADIUS; in RunPixelProjErrorTest_ExtremeValues()154 params.s[0] = rng_.Rand8() % MAX_RADIUS; in RunPixelProjErrorTest_ExtremeValues()155 params.s[1] = rng_.Rand8() % MAX_RADIUS; in RunPixelProjErrorTest_ExtremeValues()263 params.r[0] = run_times == 1 ? (rng_.Rand8() % MAX_RADIUS) : (iter % 2); in RunPixelProjErrorTest()264 params.r[1] = run_times == 1 ? (rng_.Rand8() % MAX_RADIUS) : (iter / 2); in RunPixelProjErrorTest()[all …]
111 #define MAX_RADIUS 2 // Only 1, 2, 3 allowed macro112 #define MAX_NELEM ((2 * MAX_RADIUS + 1) * (2 * MAX_RADIUS + 1))
680 assert(r <= MAX_RADIUS && "Need MAX_RADIUS >= r"); in calculate_intermediate_result()
1161 assert(r <= MAX_RADIUS && "Need MAX_RADIUS >= r"); in restoration_fast_internal()1218 assert(r <= MAX_RADIUS && "Need MAX_RADIUS >= r"); in restoration_internal()