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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_color.c57 im2->blue[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
212 b = b + blue;
H A Dgd_gd.c75 if (!gdGetByte(&im->blue[i], in)) {
225 gdPutC((unsigned char) im->blue[i], out);
H A Dgd_gif_in.c570 im->blue[i] = cmap[CM_BLUE][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.
767 nim->blue[icolor] = (int) ((c2total + (total >> 1)) / total);
773 nim->blue[icolor] = 255;
836 nim->blue[nim->colorsTotal] = gdTrueColorGetBlue (oim->transparent);
1048 x = nim->blue[i];
1154 b = nim->blue[icolor];
1399 int *colormap2 = nim->blue;
H A Dgddemo.c21 int blue; local
56 blue = gdImageColorAllocate (im_out, 0, 0, 255);
63 gdImageArc (im_out, 128, 128, 60, 20, 0, 720, blue);
65 gdImageArc (im_out, 128, 128, 40, 40, 90, 270, blue);
68 gdImageFill (im_out, 8, 8, blue);
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;
309 trans_color_rgb->blue >> 8);
313 trans_color_rgb->blue);
342 im->blue[i] = palette[i].blue;
589 trans_rgb_value.blue = gdTrueColorGetBlue (im->transparent);
651 palette[mapping[i]].blue = im->blue[i];
657 palette[i].blue
[all...]
H A Dgd.c163 im->blue[i] = 0;
284 bd = im->blue[i] - b;
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)) {
506 im->blue[ct] = b;
556 bd = (long) (im->blue[c] - b);
581 im->blue[op] = b;
629 xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]);
637 to->blue[i] = from->blue[
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.h180 int blue[gdMaxColors]; member in struct:gdImageStruct
736 (im)->blue[(c)])
771 * The red, green, and blue intensities of an image are negated.
772 * White becomes black, yellow becomes blue, etc.
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
630 blue = (gdTrueColorGetBlue(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)])
778 b = (int)(m1*im->blue[(c1)] + m2*im->blue[(c2)] + m3*im->blue[(c3)] + m4*im->blue[(c4)]);
1223 new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparent], im->blue[transparen
1281 const char blue = (char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3, f_b3) + gd_mulfx(f_w4, f_b4)); local
1368 const unsigned char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3, f_b3) + gd_mulfx(f_w4, f_b4)); local
1438 unsigned char red, green, blue, alpha = 0; local
1873 const unsigned char blue = (unsigned char) CLAMP(gd_fxtoi(f_blue), 0, 255); local
1934 unsigned char red, green, blue, alpha; local
[all...]
H A Dgd_jpeg.c254 row[jidx++] = im->blue[idx];
258 row[jidx++] = im->blue[idx] << 4;
H A Dgdxpm.c26 int red = 0, green = 0, blue = 0; local
57 blue = strtol(buf, NULL, 16);
72 blue = strtol(buf, NULL, 16);
92 blue = strtol(buf, NULL, 16);
93 blue /= 64;
116 blue = strtol(buf, NULL, 16);
117 blue /= 256;
122 colors[i] = gdImageColorResolve(im, red, green, blue);
H A Dgdft.c614 (pixel * im->blue[fg] + npixel * im->blue[bg]) / NUMCOLORS);
/PHP_TRUNK/ext/gd/
H A Dgd.c227 ZEND_ARG_INFO(0, blue)
235 ZEND_ARG_INFO(0, blue)
243 ZEND_ARG_INFO(0, blue)
251 ZEND_ARG_INFO(0, blue)
418 ZEND_ARG_INFO(0, blue)
436 ZEND_ARG_INFO(0, blue)
443 ZEND_ARG_INFO(0, blue)
455 ZEND_ARG_INFO(0, blue)
462 ZEND_ARG_INFO(0, blue)
470 ZEND_ARG_INFO(0, blue)
1820 long red, green, blue, alpha; local
1842 long red, green, blue, alpha; local
1860 long red, green, blue, alpha; local
1878 long red, green, blue, alpha; local
2797 long red, green, blue; local
2870 long red, green, blue; local
2888 long red, green, blue; local
2938 long red, green, blue; local
2956 long red, green, blue; local
2974 long color, red, green, blue, alpha = 0; local
[all...]

Completed in 28 milliseconds