Searched refs:green (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_color.c56 im2->green[color] = *(bp++) / count;
H A Dgd_filter.c187 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) argument
211 g = g + green;
H A Dgd_gd.c72 if (!gdGetByte(&im->green[i], in)) {
224 gdPutC((unsigned char) im->green[i], out);
H A Dgd_gif_in.c569 im->green[i] = cmap[CM_GREEN][i];
H A Dgd_gif_out.c136 tim->red, tim->green, tim->blue, tim);
H A Dgd_topal.c642 /* We want to break any ties in favor of green, then red, blue last.
766 nim->green[icolor] = (int) ((c1total + (total >> 1)) / total);
772 nim->green[icolor] = 255;
835 nim->green[nim->colorsTotal] = gdTrueColorGetGreen (oim->transparent);
1014 x = nim->green[i];
1153 g = nim->green[icolor];
1398 int *colormap1 = nim->green;
H A Dgddemo.c23 int green; local
55 green = gdImageColorAllocate (im_out, 0, 255, 0);
58 gdImageLine (im_out, 16, 16, 240, 16, green);
59 gdImageLine (im_out, 240, 16, 240, 240, green);
60 gdImageLine (im_out, 240, 240, 16, 240, green);
61 gdImageLine (im_out, 16, 240, 16, 16, green);
76 gdImageFilledPolygon (im_out, points, 3, green);
H A Dgd_png.c266 palette[i].red = palette[i].green = palette[i].blue = j;
271 palette[i].red = palette[i].green = palette[i].blue = i;
308 trans_color_rgb->green >> 8,
312 trans_color_rgb->green,
341 im->green[i] = palette[i].green;
588 trans_rgb_value.green = gdTrueColorGetGreen (im->transparent);
650 palette[mapping[i]].green = im->green[i];
656 palette[i].green
[all...]
H A Dgd.c162 im->green[i] = 0;
283 gd = im->green[i] - g;
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)) {
505 im->green[ct] = g;
555 gd = (long) (im->green[c] - g);
580 im->green[op] = g;
629 xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]);
638 to->green[i] = from->green[
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.h179 int green[gdMaxColors]; member in struct:gdImageStruct
734 (im)->green[(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
628 green = (gdTrueColorGetGreen(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)])
777 g = (int)(m1*im->green[(c1)] + m2*im->green[(c2)] + m3*im->green[(c3)] + m4*im->green[(c4)]);
1223 new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparen
1280 const char green = (char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3, f_g3) + gd_mulfx(f_w4, f_g4)); local
1367 const unsigned char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3, f_g3) + gd_mulfx(f_w4, f_g4)); local
1438 unsigned char red, green, blue, alpha = 0; local
1872 const unsigned char green = (unsigned char) CLAMP(gd_fxtoi(f_green), 0, 255); local
1934 unsigned char red, green, blue, alpha; local
[all...]
H A Dgd_jpeg.c253 row[jidx++] = im->green[idx];
257 row[jidx++] = im->green[idx] << 4;
H A Dgdxpm.c26 int red = 0, green = 0, blue = 0; local
54 green = strtol(buf, NULL, 16);
68 green = strtol(buf, NULL, 16);
86 green = strtol(buf, NULL, 16);
87 green /= 64;
109 green = strtol(buf, NULL, 16);
110 green /= 256;
122 colors[i] = gdImageColorResolve(im, red, green, blue);
H A Dgdft.c613 (pixel * im->green[fg] + npixel * im->green[bg]) / NUMCOLORS,
/PHP_TRUNK/ext/gd/
H A Dgd.c226 ZEND_ARG_INFO(0, green)
234 ZEND_ARG_INFO(0, green)
242 ZEND_ARG_INFO(0, green)
250 ZEND_ARG_INFO(0, green)
417 ZEND_ARG_INFO(0, green)
435 ZEND_ARG_INFO(0, green)
442 ZEND_ARG_INFO(0, green)
454 ZEND_ARG_INFO(0, green)
461 ZEND_ARG_INFO(0, green)
469 ZEND_ARG_INFO(0, green)
1814 zend_long red, green, blue, alpha; local
1836 zend_long red, green, blue, alpha; local
1854 zend_long red, green, blue, alpha; local
1872 zend_long red, green, blue, alpha; local
2792 zend_long red, green, blue; local
2865 zend_long red, green, blue; local
2883 zend_long red, green, blue; local
2933 zend_long red, green, blue; local
2951 zend_long red, green, blue; local
2969 zend_long color, red, green, blue, alpha = 0; local
[all...]

Completed in 33 milliseconds