Home
last modified time | relevance | path

Searched refs:fsy1 (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/modules/core/include/opencv2/core/cuda/
Dfilters.hpp194 float fsy1 = y * scale_y; in operator ()() local
195 float fsy2 = fsy1 + scale_y; in operator ()()
197 int sy1 = __float2int_ru(fsy1); in operator ()()
232 float fsy1 = y * scale_y; in operator ()() local
233 float fsy2 = fsy1 + scale_y; in operator ()()
235 int sy1 = __float2int_ru(fsy1); in operator ()()
238 … float scale = 1.f / (fminf(scale_x, src.width - fsx1) * fminf(scale_y, src.height - fsy1)); in operator ()()
255 if (sy1 > fsy1) in operator ()()
257 out = out + src( (sy1 - 1) , dx) * ((sy1 -fsy1) * scale); in operator ()()
263 if ((sy1 > fsy1) && (sx1 > fsx1)) in operator ()()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
Dinterpolation.hpp315 const float fsy1 = y; in operator ()() local
316 const float fsy2 = fsy1 + area_height; in operator ()()
318 const int sy1 = __float2int_rd(fsy1); in operator ()()
335 if (sy1 > fsy1) in operator ()()
338 … out = out + saturate_cast<work_type>(src(sy1 - 1, dx)) * static_cast<work_elem_type>(sy1 - fsy1); in operator ()()
347 if ((sy1 > fsy1) && (sx1 > fsx1)) in operator ()()
348 …_cast<work_type>(src(sy1 - 1, sx1 - 1)) * static_cast<work_elem_type>((sy1 - fsy1) * (sx1 - fsx1)); in operator ()()
350 if ((sy1 > fsy1) && (sx2 < fsx2)) in operator ()()
351 …rate_cast<work_type>(src(sy1 - 1, sx2)) * static_cast<work_elem_type>((sy1 - fsy1) * (fsx2 - sx2)); in operator ()()
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp_strict.cpp466 double fsy0 = 0, fsy1 = scale_y; in resize_area() local
470 int isy0 = cvFloor(fsy0), isy1 = std::min(cvFloor(fsy1), ssize.height - 1); in resize_area()
493 double wy = getWeight(fsy0, fsy1, sy); in resize_area()
507 fsy1 = std::min((fsy0 = fsy1) + scale_y, static_cast<double>(ssize.height)); in resize_area()