Home
last modified time | relevance | path

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

/PHP-5.6/ext/gd/libgd/
H A Dgd_filter.c232 int x, y, i, j, new_a; in gdImageConvolution() local
260 new_a = gdImageAlpha(srcback, pxl); in gdImageConvolution()
280 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageConvolution()
282 new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageConvolution()
295 int new_pxl, cpxl, pxl, new_a=0; in gdImageSelectiveBlur() local
329 new_a = gdImageAlpha(srcback, pxl); in gdImageSelectiveBlur()
399 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageSelectiveBlur()
401 new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageSelectiveBlur()
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
856 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated()
866 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated()
874 new_a = CLAMP(new_a, 0, gdAlphaMax); in getPixelInterpolated()
876 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a)); in getPixelInterpolated()

Completed in 13 milliseconds