Home
last modified time | relevance | path

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

/PHP-5.6/ext/gd/libgd/
H A Dgd_filter.c233 float new_r, new_g, new_b; in gdImageConvolution() local
259 new_r = new_g = new_b = 0; in gdImageConvolution()
272 new_r = (new_r/filter_div)+offset; in gdImageConvolution()
276 new_r = (new_r > 255.0f)? 255.0f : ((new_r < 0.0f)? 0.0f:new_r); in gdImageConvolution()
294 float new_r, new_g, new_b; in gdImageSelectiveBlur() local
333 if (new_r < 0.0f) { in gdImageSelectiveBlur()
334 new_r = -new_r; in gdImageSelectiveBlur()
336 if (new_r != 0) { in gdImageSelectiveBlur()
337 flt_r[j][i] = 1.0f/new_r; in gdImageSelectiveBlur()
385 new_r = new_g = new_b = 0.0; in gdImageSelectiveBlur()
[all …]
H A Dgd_interpolation.c814 double new_r = 0.0f, new_g = 0.0f, new_b = 0.0f, new_a = 0.0f; in getPixelInterpolated() local
853 new_r += kernel * gdTrueColorGetRed(rgbs); in getPixelInterpolated()
863 new_r += kernel * gdTrueColorGetRed(rgbs); in getPixelInterpolated()
871 new_r = CLAMP(new_r, 0, 255); in getPixelInterpolated()
876 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a)); in getPixelInterpolated()

Completed in 54 milliseconds