Searched refs:new_a (Results 1 – 2 of 2) sorted by relevance
/PHP-8.0/ext/gd/libgd/ |
H A D | gd_filter.c | 337 int x, y, i, j, new_a; in gdImageConvolution() local 366 new_a = gdImageAlpha(srcback, pxl); in gdImageConvolution() 386 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageConvolution() 388 new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageConvolution() 401 int new_pxl, cpxl, pxl, new_a=0; in gdImageSelectiveBlur() local 435 new_a = gdImageAlpha(srcback, pxl); in gdImageSelectiveBlur() 505 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageSelectiveBlur() 507 new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); in gdImageSelectiveBlur()
|
H A D | gd_interpolation.c | 758 double new_r = 0.0f, new_g = 0.0f, new_b = 0.0f, new_a = 0.0f; in getPixelInterpolated() local 800 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated() 810 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated() 818 new_a = CLAMP(new_a, 0, gdAlphaMax); in getPixelInterpolated() 820 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a)); in getPixelInterpolated()
|
Completed in 20 milliseconds