Home
last modified time | relevance | path

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

/dports/graphics/vips/vips-8.12.0/libvips/resample/
H A Dtemplates.h46 const int sign_of_val = 2 * ( val >= 0. ) - 1; in to_withsign() local
47 const int rounded_abs_val = .5 + sign_of_val * val; in to_withsign()
48 const T newval = sign_of_val * rounded_abs_val; in to_withsign()
112 const int sign_of_val = 2 * ( val >= 0. ) - 1; in bilinear_withsign() local
114 const int rounded_abs_val = .5 + sign_of_val * val; in bilinear_withsign()
116 const T newval = sign_of_val * rounded_abs_val; in bilinear_withsign()