Searched refs:new_a (Results 1 – 2 of 2) sorted by relevance
/PHP-7.2/ext/gd/libgd/ |
H A D | gd_filter.c | 239 int x, y, i, j, new_a; in gdImageConvolution() local 267 new_a = gdImageAlpha(srcback, pxl); in gdImageConvolution() 287 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageConvolution() 289 new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageConvolution() 302 int new_pxl, cpxl, pxl, new_a=0; in gdImageSelectiveBlur() local 336 new_a = gdImageAlpha(srcback, pxl); in gdImageSelectiveBlur() 406 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageSelectiveBlur() 408 new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageSelectiveBlur()
|
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 795 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated() 805 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated() 813 new_a = CLAMP(new_a, 0, gdAlphaMax); in getPixelInterpolated() 815 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a)); in getPixelInterpolated()
|
Completed in 15 milliseconds