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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_color.c58 im2->alpha[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
213 a = a + alpha;
H A Dgd_gd.c79 if (!gdGetByte(&im->alpha[i], in)) {
226 gdPutC((unsigned char) im->alpha[i], out);
H A Dwebpng.c190 int maxx, maxy, x, y, alpha, pix, nalpha = 0; local
195 printf("alpha channel information:\n");
201 alpha = gdTrueColorGetAlpha(pix);
203 if (alpha > gdAlphaOpaque) {
209 alpha);
219 printf("%d alpha channels\n", nalpha);
239 " -a Prints all alpha channels that are not 100%% opaque.\n"
H A Dgd_png.c27 7 bits of alpha channel resolution. Images with more than 8 bits
28 per channel are reduced to 8 bits. Images with an alpha channel are
31 Both tRNS and true alpha are supported.
239 * binary compatibility. The alpha channel is where it's
245 im->alpha[i] = gdAlphaMax - (trans[i] >> 1);
380 /* gd has only 7 bits of alpha channel resolution, and
594 /* Oy veh. Remap the PNG palette to put the entries with interesting alpha channel
605 if ((!im->open[i]) && (im->alpha[i] != gdAlphaOpaque)) {
612 trans_values[i] = 255 - ((im->alpha[i] << 1) + (im->alpha[
[all...]
H A Dgd.h73 Where 'A' (alpha channel) occupies only the
75 loss of alpha channel resolution allows gd 2.x
103 based on the alpha channel value of the source color.
175 'alpha', which appears later in the structure to
190 full alpha channel for PNG and provide
205 /* New in 2.0: alpha channel for palettes. Note that only
213 int alpha[gdMaxColors]; member in struct:gdImageStruct
218 /* Should alpha channel be copied, or applied, each time a
220 No attempt is made to alpha-blend in palette images,
227 /* Should the alpha channe
[all...]
H A Dgd_topal.c5 by Barend Gehrels. My attempt to incorporate alpha channel
8 alpha channel data. This version does not attempt to produce
837 nim->alpha[nim->colorsTotal] = gdAlphaTransparent;
1952 #if 0 /* 2.0.12; we no longer attempt full alpha in palettes */
1959 if (im->alpha[i] > mt)
1962 mt = im->alpha[i];
1967 if (im->alpha[i] == mt)
1969 im->alpha[i] = gdAlphaTransparent;
1979 if (im->alpha[i] < mo)
1982 mo = im->alpha[
[all...]
H A Dgd_interpolation.c619 register int alpha, red, green, blue; local
624 alpha = src_alpha * dst_alpha / gdAlphaMax;
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)])
779 a = (int)(m1*im->alpha[(c1)] + m2*im->alpha[(c2)] + m3*im->alpha[(c3)] + m4*im->alpha[(c4)]);
1228 new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparent], im->blue[transparent], im->alpha[transparen
1287 const char alpha = (char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3, f_a3) + gd_mulfx(f_w4, f_a4)); local
1374 const unsigned char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3, f_a3) + gd_mulfx(f_w4, f_a4)); local
1443 unsigned char red, green, blue, alpha = 0; local
1879 const unsigned char alpha = (unsigned char) CLAMP(gd_fxtoi(f_alpha), 0, 127); local
1939 unsigned char red, green, blue, alpha; local
[all...]
H A Dgd.c209 /* 2.0.2: alpha blending is now on by default, and saving of alpha is
212 * for smaller PNGs when saving of alpha channel is not really
284 ad = im->alpha[i] - a;
470 if ((im->red[i] == r) && (im->green[i] == g) && (im->blue[i] == b) && (im->alpha[i] == a)) {
505 im->alpha[ct] = a;
555 ad = (long) (im->alpha[c] - a);
580 im->alpha[op] = a;
598 im->alpha[im->transparent] = gdAlphaOpaque;
601 im->alpha[colo
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/build/
H A Dshtool1409 alpha ) AP="Alpha" ;;
1412 sed -n -e 's/^.*The alpha \([^ ][^ ]*\).*processor.*$/\1/p' | sed -e 'q'`
/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc217 "alphanumeric" = fill file with alpha numeric text
/PHP_TRUNK/
H A Dconfig.guess238 alpha:OSF1:*:*)
251 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
254 UNAME_MACHINE="alpha" ;;
256 UNAME_MACHINE="alpha" ;;
258 UNAME_MACHINE="alpha" ;;
298 echo alpha-pc-interix
301 echo alpha-dec-winnt3.5
894 alpha:Linux:*:*)
1354 A*) echo alpha-dec-vms ; exit ;;
H A Dconfig.sub252 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
374 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_internal.h1459 #define STRING_alpha0 "alpha\0"
/PHP_TRUNK/ext/gd/
H A Dgd.c222 ZEND_ARG_INFO(0, alpha)
230 ZEND_ARG_INFO(0, alpha)
238 ZEND_ARG_INFO(0, alpha)
246 ZEND_ARG_INFO(0, alpha)
465 ZEND_ARG_INFO(0, alpha)
1671 Turn alpha blending mode on or off for the given image */
1693 Include alpha channel to a saved image */
1715 Set the alpha blending flag to use the bundled libgd layering effects */
1736 /* {{{ proto int imagecolorallocatealpha(resource im, int red, int green, int blue, int alpha)
1737 Allocate a color with an alpha leve
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
2945 zend_long color, red, green, blue, alpha = 0; local
[all...]

Completed in 63 milliseconds