Lines Matching refs:gdAlphaMax
2534 alpha_factor = ((gdAlphaMax - gdTrueColorGetAlpha(p))) * pcontribution; in gdImageCopyResampled()
2576 if (alpha > gdAlphaMax) { in gdImageCopyResampled()
2577 alpha = gdAlphaMax; in gdImageCopyResampled()
2900 gdTrueColorGetAlpha (dst)) / gdAlphaMax) << 24) + in gdAlphaBlendOld()
2902 gdTrueColorGetRed (src) / gdAlphaMax) + in gdAlphaBlendOld()
2904 gdTrueColorGetRed (dst)) / gdAlphaMax) << 16) + in gdAlphaBlendOld()
2906 gdTrueColorGetGreen (src) / gdAlphaMax) + in gdAlphaBlendOld()
2908 gdTrueColorGetGreen (dst)) / gdAlphaMax) << 8) + in gdAlphaBlendOld()
2910 gdTrueColorGetBlue (src) / gdAlphaMax) + in gdAlphaBlendOld()
2912 gdTrueColorGetBlue (dst)) / gdAlphaMax)); in gdAlphaBlendOld()
2938 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in gdAlphaBlend()
2944 alpha = src_alpha * dst_alpha / gdAlphaMax; in gdAlphaBlend()
2980 a1 = gdAlphaMax - gdTrueColorGetAlpha(dst); in gdLayerOverlay()
2981 a2 = gdAlphaMax - gdTrueColorGetAlpha(src); in gdLayerOverlay()
2982 return ( ((gdAlphaMax - a1*a2/gdAlphaMax) << 24) + in gdLayerOverlay()