Searched defs:red (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_filter.c187 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) argument
210 r = r + red;
H A Dgddemo.c22 int red; local
54 red = gdImageColorAllocate (im_out, 255, 0, 0);
103 (unsigned char *) "hi", red);
105 (unsigned char *) "hi", red);
H A Dgd_interpolation.c619 register int alpha, red, green, blue; local
626 red = (gdTrueColorGetRed(src) * src_weight
633 return ((alpha << 24) + (red << 16) + (green << 8) + blue);
695 #define colorIndex2RGBA(c) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(c)])
696 #define colorIndex2RGBcustomA(c, a) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(a)])
776 r = (int)(m1*im->red[(c1)] + m2*im->red[(c2)] + m3*im->red[(c3)] + m4*im->red[(c4)]);
1223 new_img->transparent = gdTrueColorAlpha(im->red[transparen
1279 const char red = (char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3, f_r3) + gd_mulfx(f_w4, f_r4)); local
1366 const unsigned char red = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3, f_r3) + gd_mulfx(f_w4, f_r4)); local
1438 unsigned char red, green, blue, alpha = 0; local
1871 const unsigned char red = (unsigned char) CLAMP(gd_fxtoi(f_red), 0, 255); local
1934 unsigned char red, green, blue, alpha; local
[all...]
H A Dgdxpm.c26 int red = 0, green = 0, blue = 0; local
51 red = strtol(buf, NULL, 16);
64 red = strtol(buf, NULL, 16);
80 red = strtol(buf, NULL, 16);
81 red /= 64;
102 red = strtol(buf, NULL, 16);
103 red /= 256;
122 colors[i] = gdImageColorResolve(im, red, green, blue);
H A Dgd.h178 int red[gdMaxColors]; member in struct:gdImageStruct
732 (im)->red[(c)])
771 * The red, green, and blue intensities of an image are negated.
785 /* Simply adds or subtracts respectively red, green or blue to a pixel */
786 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
H A Dgd.c159 im->red[i] = 0;
280 rd = im->red[i] - r;
316 * Theoretically, hue 0 (pure red) is identical to hue 6 in these transforms. Pure
317 * red always maps to 6 in this implementation. Therefore UNDEFINED can be
445 dist = HWB_Diff(im->red[i], im->green[i], im->blue[i], r, g, b);
470 if ((im->red[i] == r) && (im->green[i] == g) && (im->blue[i] == b) && (im->alpha[i] == a)) {
502 im->red[ct] = r;
552 rd = (long) (im->red[c] - r);
577 im->red[op] = r;
627 xlate[p] = gdImageColorClosestAlpha (from, to->red[
2468 double red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; local
2875 int dst_alpha, alpha, red, green, blue; local
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c225 ZEND_ARG_INFO(0, red)
233 ZEND_ARG_INFO(0, red)
241 ZEND_ARG_INFO(0, red)
249 ZEND_ARG_INFO(0, red)
416 ZEND_ARG_INFO(0, red)
434 ZEND_ARG_INFO(0, red)
441 ZEND_ARG_INFO(0, red)
453 ZEND_ARG_INFO(0, red)
460 ZEND_ARG_INFO(0, red)
468 ZEND_ARG_INFO(0, red)
1813 zend_long red, green, blue, alpha; local
1835 zend_long red, green, blue, alpha; local
1853 zend_long red, green, blue, alpha; local
1871 zend_long red, green, blue, alpha; local
2791 zend_long red, green, blue; local
2864 zend_long red, green, blue; local
2882 zend_long red, green, blue; local
2932 zend_long red, green, blue; local
2950 zend_long red, green, blue; local
2968 zend_long color, red, green, blue, alpha = 0; local
[all...]

Completed in 17 milliseconds