Searched refs:gdAlphaMax (Results 1 – 4 of 4) sorted by relevance
573 gdAlphaMax - (gdTrueColorGetAlpha (fg) * pixel / NUMCOLORS));619 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));632 level = level * (gdAlphaMax - gdTrueColorGetAlpha(fg)) / gdAlphaMax;634 level = gdAlphaMax - level;644 if (level < (gdAlphaMax / 2)) {
2551 if (alpha > gdAlphaMax) { in gdImageCopyResampled()2552 alpha = gdAlphaMax; in gdImageCopyResampled()2864 gdTrueColorGetRed (src) / gdAlphaMax) + in gdAlphaBlendOld()2866 gdTrueColorGetRed (dst)) / gdAlphaMax) << 16) + in gdAlphaBlendOld()2868 gdTrueColorGetGreen (src) / gdAlphaMax) + in gdAlphaBlendOld()2872 gdTrueColorGetBlue (src) / gdAlphaMax) + in gdAlphaBlendOld()2874 gdTrueColorGetBlue (dst)) / gdAlphaMax)); in gdAlphaBlendOld()2906 alpha = src_alpha * dst_alpha / gdAlphaMax; in gdAlphaBlend()2942 a1 = gdAlphaMax - gdTrueColorGetAlpha(dst); in gdLayerOverlay()2943 a2 = gdAlphaMax - gdTrueColorGetAlpha(src); in gdLayerOverlay()[all …]
244 im->alpha[i] = gdAlphaMax - (trans[i] >> 1); in gdImageCreateFromPngCtx()383 register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); in gdImageCreateFromPngCtx()
81 #define gdAlphaMax 127 macro
Completed in 17 milliseconds