Searched refs:scale_index (Results 1 – 3 of 3) sorted by relevance
2283 size_t scale_index = 0; in TEST_F() local2309 scale_index = 0; in TEST_F()2312 while (std::abs(tile->contents_scale() - expected_scales[scale_index]) > in TEST_F()2314 ++scale_index; in TEST_F()2315 ASSERT_LT(scale_index, arraysize(expected_scales)); in TEST_F()2318 EXPECT_FLOAT_EQ(tile->contents_scale(), expected_scales[scale_index]); in TEST_F()2340 scale_index = 0; in TEST_F()2353 scale_index = 0; in TEST_F()2356 while (std::abs(tile->contents_scale() - expected_scales[scale_index]) > in TEST_F()2358 ++scale_index; in TEST_F()[all …]
1167 float len, scale_index; in icvBilateralFiltering_32f() local1207 scale_index = kExpNumBins/len; in icvBilateralFiltering_32f()1214 double val = i / scale_index; in icvBilateralFiltering_32f()1247 float alpha = (float)(fabs(val - val0)*scale_index); in icvBilateralFiltering_32f()1268 float alpha = (float)((fabs(b - b0) + fabs(g - g0) + fabs(r - r0))*scale_index); in icvBilateralFiltering_32f()
176 int scale_index = in HandleMagnifyScreen() local179 int new_scale_index = std::max(0, std::min(8, scale_index + delta_index)); in HandleMagnifyScreen()