Home
last modified time | relevance | path

Searched refs:gdTrueColorGetAlpha (Results 1 – 11 of 11) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dgd_interpolation.c635 const int dst_alpha = gdTrueColorGetAlpha(dst); in _color_blend()
717 …a = (int)(m1*gdTrueColorGetAlpha(c1) + m2*gdTrueColorGetAlpha(c2) + m3*gdTrueColorGetAlpha(c3) + m… in getPixelInterpolateWeight()
799 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated()
809 new_a += kernel * gdTrueColorGetAlpha(rgbs); in getPixelInterpolated()
1242 f_a1 = gd_itofx(gdTrueColorGetAlpha(pixel1)); in gdImageScaleBilinearPalette()
1243 f_a2 = gd_itofx(gdTrueColorGetAlpha(pixel2)); in gdImageScaleBilinearPalette()
1244 f_a3 = gd_itofx(gdTrueColorGetAlpha(pixel3)); in gdImageScaleBilinearPalette()
1245 f_a4 = gd_itofx(gdTrueColorGetAlpha(pixel4)); in gdImageScaleBilinearPalette()
1332 f_a1 = gd_itofx(gdTrueColorGetAlpha(pixel1)); in gdImageScaleBilinearTC()
1564 f_ba = gd_itofx(gdTrueColorGetAlpha(c)); in gdImageScaleBicubicFixed()
[all …]
H A Dgd_color_match.c43 *(bp++) += gdTrueColorGetAlpha(rgb); in gdImageColorMatch()
H A Dwebpng.c201 alpha = gdTrueColorGetAlpha(pix); in main()
H A Dgd_webp.c143 a = gdTrueColorGetAlpha(c); in gdImageWebpCtx()
H A Dgd.c903 gdTrueColorGetAlpha(p))); in gdImageBrushApply()
943 gdTrueColorGetAlpha(p))); in gdImageTileApply()
2504 gdTrueColorGetAlpha (c)); in gdImageCopyResized()
2593 alpha_factor = ((gdAlphaMax - gdTrueColorGetAlpha(p))) * pcontribution; in gdImageCopyResampled()
2597 alpha += gdTrueColorGetAlpha (p) * pcontribution; in gdImageCopyResampled()
2937 int src_alpha = gdTrueColorGetAlpha(src); in gdAlphaBlend()
2947 dst_alpha = gdTrueColorGetAlpha(dst); in gdAlphaBlend()
2994 a1 = gdAlphaMax - gdTrueColorGetAlpha(dst); in gdLayerOverlay()
2995 a2 = gdAlphaMax - gdTrueColorGetAlpha(src); in gdLayerOverlay()
3027 a1 = gdAlphaMax - gdTrueColorGetAlpha(src); in gdLayerMultiply()
[all …]
H A Dgdft.c618 gdAlphaMax - (gdTrueColorGetAlpha (fg) * pixel / NUMCOLORS));
680 level = level * (gdAlphaMax - gdTrueColorGetAlpha(fg)) / gdAlphaMax;
698 if (gdTrueColorGetAlpha(opixel) != gdAlphaTransparent) {
H A Dgd.h85 #define gdTrueColorGetAlpha(c) (((c) & 0x7F000000) >> 24) macro
775 #define gdImageAlpha(im, c) ((im)->trueColor ? gdTrueColorGetAlpha(c) : \
H A Dgd_avif.c562 *(p++) = alpha7BitTo8Bit(gdTrueColorGetAlpha(val)); in gdImageAvifCtx()
H A Dgd_png.c739 a = gdTrueColorGetAlpha(thisPixel); in gdImagePngCtxEx()
H A Dgd_gd2.c765 chunkData[chunkLen++] = gdTrueColorGetAlpha(p); in _gdImageGd2()
/PHP-8.2/ext/gd/
H A Dgd.c2308 gdTrueColorGetAlpha(c) in PHP_FUNCTION()

Completed in 51 milliseconds