Searched refs:gdAlphaMax (Results 1 – 8 of 8) sorted by relevance
618 gdAlphaMax - (gdTrueColorGetAlpha (fg) * pixel / NUMCOLORS));665 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));680 level = level * (gdAlphaMax - gdTrueColorGetAlpha(fg)) / gdAlphaMax;682 level = gdAlphaMax - level;692 if (level < (gdAlphaMax / 2)) {
2682 alpha = alpha >= gdAlphaMax+0.5 ? gdAlphaMax : alpha+0.5; in gdImageCopyResampled()3019 alpha = src_alpha * dst_alpha / gdAlphaMax; in gdAlphaBlend()3048 a1 = gdAlphaMax - gdTrueColorGetAlpha(dst); in gdLayerOverlay()3049 a2 = gdAlphaMax - gdTrueColorGetAlpha(src); in gdLayerOverlay()3050 return ( ((gdAlphaMax - a1*a2/gdAlphaMax) << 24) + in gdLayerOverlay()3081 a1 = gdAlphaMax - gdTrueColorGetAlpha(src); in gdLayerMultiply()3082 a2 = gdAlphaMax - gdTrueColorGetAlpha(dst); in gdLayerMultiply()3084 r1 = gdRedMax - (a1 * (gdRedMax - gdTrueColorGetRed(src))) / gdAlphaMax; in gdLayerMultiply()3091 a1 = gdAlphaMax - a1; in gdLayerMultiply()3092 a2 = gdAlphaMax - a2; in gdLayerMultiply()[all …]
90 register uint8_t a = gdAlphaMax - (*(p++) >> 1); in gdImageCreateFromWebpCtx()
121 …itmap_caret + 2], tga->bitmap[bitmap_caret + 1], tga->bitmap[bitmap_caret], gdAlphaMax - (a >> 1)); in gdImageCreateFromTgaCtx()
265 im->alpha[i] = gdAlphaMax - (trans[i] >> 1); in gdImageCreateFromPngCtx()410 register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); in gdImageCreateFromPngCtx()
68 #define alpha8BitTo7Bit(alpha8Bit) (gdAlphaMax - (alpha8Bit >> 1))
633 const int dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in _color_blend()636 alpha = src_alpha * dst_alpha / gdAlphaMax; in _color_blend()718 a = CLAMP(a, 0, gdAlphaMax); in getPixelInterpolateWeight()807 new_a = CLAMP(new_a, 0, gdAlphaMax); in getPixelInterpolated()
79 #define gdAlphaMax 127 macro
Completed in 59 milliseconds