Home
last modified time | relevance | path

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

/PHP-8.3/ext/gd/libgd/
H A Dgd_filter.c337 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 Dgd_interpolation.c757 double new_r = 0.0f, new_g = 0.0f, new_b = 0.0f, new_a = 0.0f; in getPixelInterpolated() local
799 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated()
809 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated()
817 new_a = CLAMP(new_a, 0, gdAlphaMax); in getPixelInterpolated()
819 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a)); in getPixelInterpolated()

Completed in 25 milliseconds