Searched refs:new_g (Results 1 – 2 of 2) sorted by relevance
/PHP-7.3/ext/gd/libgd/ |
H A D | gd_filter.c | 240 float new_r, new_g, new_b; in gdImageConvolution() local 266 new_r = new_g = new_b = 0; in gdImageConvolution() 281 new_g = (new_g/filter_div)+offset; in gdImageConvolution() 285 new_g = (new_g > 255.0f)? 255.0f : ((new_g < 0.0f)? 0.0f:new_g); in gdImageConvolution() 302 float new_r, new_g, new_b; in gdImageSelectiveBlur() local 352 if (new_g < 0.0f) { in gdImageSelectiveBlur() 353 new_g = -new_g; in gdImageSelectiveBlur() 355 if (new_g != 0) { in gdImageSelectiveBlur() 356 flt_g[j][i] = 1.0f/new_g; in gdImageSelectiveBlur() 393 new_r = new_g = new_b = 0.0; in gdImageSelectiveBlur() [all …]
|
H A D | gd_interpolation.c | 753 double new_r = 0.0f, new_g = 0.0f, new_b = 0.0f, new_a = 0.0f; in getPixelInterpolated() local 793 new_g += kernel * gdTrueColorGetGreen(rgbs); in getPixelInterpolated() 803 new_g += kernel * gdTrueColorGetGreen(rgbs); in getPixelInterpolated() 811 new_g = CLAMP(new_g, 0, 255); in getPixelInterpolated() 815 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a)); in getPixelInterpolated()
|
Completed in 13 milliseconds