Searched refs:new_b (Results 1 – 2 of 2) sorted by relevance
/PHP-5.6/ext/gd/libgd/ |
H A D | gd_filter.c | 233 float new_r, new_g, new_b; in gdImageConvolution() local 259 new_r = new_g = new_b = 0; in gdImageConvolution() 274 new_b = (new_b/filter_div)+offset; in gdImageConvolution() 278 new_b = (new_b > 255.0f)? 255.0f : ((new_b < 0.0f)? 0.0f:new_b); in gdImageConvolution() 294 float new_r, new_g, new_b; in gdImageSelectiveBlur() local 355 if (new_b < 0.0f) { in gdImageSelectiveBlur() 356 new_b = -new_b; in gdImageSelectiveBlur() 358 if (new_b != 0) { in gdImageSelectiveBlur() 359 flt_b[j][i] = 1.0f/new_b; in gdImageSelectiveBlur() 385 new_r = new_g = new_b = 0.0; in gdImageSelectiveBlur() [all …]
|
H A D | gd_interpolation.c | 814 double new_r = 0.0f, new_g = 0.0f, new_b = 0.0f, new_a = 0.0f; in getPixelInterpolated() local 855 new_b += kernel * gdTrueColorGetBlue(rgbs); in getPixelInterpolated() 865 new_b += kernel * gdTrueColorGetBlue(rgbs); in getPixelInterpolated() 873 new_b = CLAMP(new_b, 0, 255); in getPixelInterpolated() 876 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a)); in getPixelInterpolated()
|
Completed in 14 milliseconds