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.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 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_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)]);
1228 new_img->transparent = gdTrueColorAlpha(im->red[transparen
1284 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
1371 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
1443 unsigned char red, green, blue, alpha = 0; local
1876 const unsigned char red = (unsigned char) CLAMP(gd_fxtoi(f_red), 0, 255); local
1939 unsigned char red, green, blue, alpha; local
[all...]
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[
2478 double red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; local
2885 int dst_alpha, alpha, red, green, blue; local
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c219 ZEND_ARG_INFO(0, red)
227 ZEND_ARG_INFO(0, red)
235 ZEND_ARG_INFO(0, red)
243 ZEND_ARG_INFO(0, red)
410 ZEND_ARG_INFO(0, red)
428 ZEND_ARG_INFO(0, red)
435 ZEND_ARG_INFO(0, red)
447 ZEND_ARG_INFO(0, red)
454 ZEND_ARG_INFO(0, red)
462 ZEND_ARG_INFO(0, red)
1741 zend_long red, green, blue, alpha; local
1766 zend_long red, green, blue, alpha; local
1786 zend_long red, green, blue, alpha; local
1806 zend_long red, green, blue, alpha; local
2749 zend_long red, green, blue; local
2831 zend_long red, green, blue; local
2851 zend_long red, green, blue; local
2905 zend_long red, green, blue; local
2925 zend_long red, green, blue; local
2945 zend_long color, red, green, blue, alpha = 0; local
[all...]

Completed in 27 milliseconds