Home
last modified time | relevance | path

Searched refs:gdTrueColorGetRed (Results 1 – 14 of 14) sorted by relevance

/PHP-8.1/ext/gd/libgd/
H A Dgd_color_match.c40 *(bp++) += gdTrueColorGetRed(rgb); in gdImageColorMatch()
H A Dgd_interpolation.c648 red = (gdTrueColorGetRed(src) * src_weight in _color_blend()
714 …r = (int)(m1*gdTrueColorGetRed(c1) + m2*gdTrueColorGetRed(c2) + m3*gdTrueColorGetRed(c3) + m… in getPixelInterpolateWeight()
796 new_r += kernel * gdTrueColorGetRed(rgbs); in getPixelInterpolated()
806 new_r += kernel * gdTrueColorGetRed(rgbs); in getPixelInterpolated()
1200 f_r1 = gd_itofx(gdTrueColorGetRed(pixel1)); in gdImageScaleBilinearPalette()
1201 f_r2 = gd_itofx(gdTrueColorGetRed(pixel2)); in gdImageScaleBilinearPalette()
1202 f_r3 = gd_itofx(gdTrueColorGetRed(pixel3)); in gdImageScaleBilinearPalette()
1203 f_r4 = gd_itofx(gdTrueColorGetRed(pixel4)); in gdImageScaleBilinearPalette()
1290 f_r1 = gd_itofx(gdTrueColorGetRed(pixel1)); in gdImageScaleBilinearTC()
1531 f_rs = gd_itofx(gdTrueColorGetRed(c)); in gdImageScaleBicubicFixed()
[all …]
H A Dwebpng.c206 gdTrueColorGetRed(pix), in main()
H A Dgd.c900 gdImageSetPixel(im, lx, ly, gdImageColorResolveAlpha(im, gdTrueColorGetRed(p), in gdImageBrushApply()
940 gdTrueColorGetRed(p), in gdImageTileApply()
1218 dr = gdTrueColorGetRed(color); in gdImageSetAAPixelColor()
1223 r = gdTrueColorGetRed(p); in gdImageSetAAPixelColor()
2501 mapTo = gdImageColorResolveAlpha(dst, gdTrueColorGetRed(c), in gdImageCopyResized()
2594 red += gdTrueColorGetRed (p) * alpha_factor; in gdImageCopyResampled()
2967 red = (gdTrueColorGetRed(src) * src_weight in gdAlphaBlend()
2968 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()
2997 (gdAlphaOverlayColor( gdTrueColorGetRed(src), gdTrueColorGetRed(dst), gdRedMax ) << 16) + in gdLayerOverlay()
3030 r1 = gdRedMax - (a1 * (gdRedMax - gdTrueColorGetRed(src))) / gdAlphaMax; in gdLayerMultiply()
[all …]
H A Dgd_webp.c148 *(p++) = gdTrueColorGetRed(c); in gdImageWebpCtx()
H A Dgd_topal.c331 int r = gdTrueColorGetRed (*ptr) >> C0_SHIFT; in prescan_quantize()
736 nim->red[nim->colorsTotal] = gdTrueColorGetRed (oim->transparent); in select_colors()
1156 r = gdTrueColorGetRed (*inptr); in pass2_no_dither()
1277 cur0 += gdTrueColorGetRed (*inptr); in pass2_fs_dither()
H A Dgd_png.c618 trans_rgb_value.red = gdTrueColorGetRed (im->transparent); in gdImagePngCtxEx()
729 *pOutputRow++ = gdTrueColorGetRed(thisPixel); in gdImagePngCtxEx()
H A Dgd.h86 #define gdTrueColorGetRed(c) (((c) & 0xFF0000) >> 16) macro
769 #define gdImageRed(im, c) ((im)->trueColor ? gdTrueColorGetRed(c) : \
H A Dgd_avif.c542 *(p++) = gdTrueColorGetRed(val); in gdImageAvifCtx()
H A Dgd_jpeg.c246 row[jidx++] = gdTrueColorGetRed (val); in _gdImageJpegCtx()
H A Dgd_gd2.c766 chunkData[chunkLen++] = gdTrueColorGetRed(p); in _gdImageGd2()
H A Dgd_bmp.c240 Putchar(gdTrueColorGetRed(pixel), out); in gdImageBmpCtx()
H A Dgdft.c605 gdTrueColorGetRed(fg),
/PHP-8.1/ext/gd/
H A Dgd.c2450 (int) ((pow((gdTrueColorGetRed(c) / 255.0), gamma) * 255) + .5), in PHP_FUNCTION()

Completed in 80 milliseconds