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 Dgdxpm.c26 int red = 0, green = 0, blue = 0; local
46 red = strtol(buf, NULL, 16);
59 red = strtol(buf, NULL, 16);
75 red = strtol(buf, NULL, 16);
76 red /= 64;
97 red = strtol(buf, NULL, 16);
98 red /= 256;
117 colors[i] = gdImageColorResolve(im, red, green, blue);
H A Dgd.c161 im->red[i] = 0;
282 rd = im->red[i] - r;
318 * Theoretically, hue 0 (pure red) is identical to hue 6 in these transforms. Pure
319 * red always maps to 6 in this implementation. Therefore UNDEFINED can be
447 dist = HWB_Diff(im->red[i], im->green[i], im->blue[i], r, g, b);
472 if ((im->red[i] == r) && (im->green[i] == g) && (im->blue[i] == b) && (im->alpha[i] == a)) {
504 im->red[ct] = r;
554 rd = (long) (im->red[c] - r);
579 im->red[op] = r;
629 xlate[p] = gdImageColorClosestAlpha (from, to->red[
2470 double red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; local
2877 int dst_alpha, alpha, red, green, blue; local
[all...]
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 substracts 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_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...]
/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)
1831 long red, green, blue, alpha; local
1853 long red, green, blue, alpha; local
1871 long red, green, blue, alpha; local
1889 long red, green, blue, alpha; local
2803 long red, green, blue; local
2876 long red, green, blue; local
2894 long red, green, blue; local
2944 long red, green, blue; local
2962 long red, green, blue; local
2980 long color, red, green, blue, alpha = 0; local
[all...]

Completed in 31 milliseconds