red 219 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 227 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 235 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 243 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 410 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 428 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 435 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 447 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 454 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 462 ext/gd/gd.c ZEND_ARG_INFO(0, red) red 1741 ext/gd/gd.c zend_long red, green, blue, alpha; red 1745 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllll", &IM, &red, &green, &blue, &alpha) == FAILURE) { red 1753 ext/gd/gd.c ct = gdImageColorAllocateAlpha(im, red, green, blue, alpha); red 1766 ext/gd/gd.c zend_long red, green, blue, alpha; red 1769 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllll", &IM, &red, &green, &blue, &alpha) == FAILURE) { red 1777 ext/gd/gd.c RETURN_LONG(gdImageColorResolveAlpha(im, red, green, blue, alpha)); red 1786 ext/gd/gd.c zend_long red, green, blue, alpha; red 1789 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllll", &IM, &red, &green, &blue, &alpha) == FAILURE) { red 1797 ext/gd/gd.c RETURN_LONG(gdImageColorClosestAlpha(im, red, green, blue, alpha)); red 1806 ext/gd/gd.c zend_long red, green, blue, alpha; red 1809 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllll", &IM, &red, &green, &blue, &alpha) == FAILURE) { red 1817 ext/gd/gd.c RETURN_LONG(gdImageColorExactAlpha(im, red, green, blue, alpha)); red 2749 ext/gd/gd.c zend_long red, green, blue; red 2753 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlll", &IM, &red, &green, &blue) == FAILURE) { red 2761 ext/gd/gd.c ct = gdImageColorAllocate(im, red, green, blue); red 2831 ext/gd/gd.c zend_long red, green, blue; red 2834 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlll", &IM, &red, &green, &blue) == FAILURE) { red 2842 ext/gd/gd.c RETURN_LONG(gdImageColorClosest(im, red, green, blue)); red 2851 ext/gd/gd.c zend_long red, green, blue; red 2854 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlll", &IM, &red, &green, &blue) == FAILURE) { red 2862 ext/gd/gd.c RETURN_LONG(gdImageColorClosestHWB(im, red, green, blue)); red 2905 ext/gd/gd.c zend_long red, green, blue; red 2908 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlll", &IM, &red, &green, &blue) == FAILURE) { red 2916 ext/gd/gd.c RETURN_LONG(gdImageColorResolve(im, red, green, blue)); red 2925 ext/gd/gd.c zend_long red, green, blue; red 2928 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlll", &IM, &red, &green, &blue) == FAILURE) { red 2936 ext/gd/gd.c RETURN_LONG(gdImageColorExact(im, red, green, blue)); red 2945 ext/gd/gd.c zend_long color, red, green, blue, alpha = 0; red 2949 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllll|l", &IM, &color, &red, &green, &blue, &alpha) == FAILURE) { red 2960 ext/gd/gd.c im->red[col] = red; red 3040 ext/gd/gd.c im->red[i] = (int)((pow((pow((im->red[i] / 255.0), input)), 1.0 / output) * 255) + .5); red 3973 ext/gd/gd.c median = (im_org->red[color_org] + im_org->green[color_org] + im_org->blue[color_org]) / 3; red 4144 ext/gd/gd.c median = (im_tmp->red[color_org] + im_tmp->green[color_org] + im_tmp->blue[color_org]) / 3; red 159 ext/gd/libgd/gd.c im->red[i] = 0; red 280 ext/gd/libgd/gd.c rd = im->red[i] - r; red 445 ext/gd/libgd/gd.c dist = HWB_Diff(im->red[i], im->green[i], im->blue[i], r, g, b); red 470 ext/gd/libgd/gd.c if ((im->red[i] == r) && (im->green[i] == g) && (im->blue[i] == b) && (im->alpha[i] == a)) { red 502 ext/gd/libgd/gd.c im->red[ct] = r; red 552 ext/gd/libgd/gd.c rd = (long) (im->red[c] - r); red 577 ext/gd/libgd/gd.c im->red[op] = r; red 627 ext/gd/libgd/gd.c xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]); red 634 ext/gd/libgd/gd.c to->red[i] = from->red[i]; red 785 ext/gd/libgd/gd.c return gdTrueColorAlpha(im->red[p], im->green[p], im->blue[p], (im->transparent == p) ? gdAlphaTransparent : im->alpha[p]); red 881 ext/gd/libgd/gd.c p = gdTrueColorAlpha(tile->red[p], tile->green[p], tile->blue[p], tile->alpha[p]); red 2187 ext/gd/libgd/gd.c gdImageSetPixel(dst, dstX + x, dstY + y, gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c])); red 2243 ext/gd/libgd/gd.c nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); red 2478 ext/gd/libgd/gd.c double red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; red 2516 ext/gd/libgd/gd.c red += gdTrueColorGetRed (p) * alpha_factor; red 2533 ext/gd/libgd/gd.c red /= spixels; red 2543 ext/gd/libgd/gd.c red /= alpha_sum; red 2548 ext/gd/libgd/gd.c if (red > 255.0f) { red 2549 ext/gd/libgd/gd.c red = 255.0f; red 2560 ext/gd/libgd/gd.c gdImageSetPixel(dst, x, y, gdTrueColorAlpha ((int) red, (int) green, (int) blue, (int) alpha)); red 2885 ext/gd/libgd/gd.c int dst_alpha, alpha, red, green, blue; red 2914 ext/gd/libgd/gd.c red = (gdTrueColorGetRed(src) * src_weight red 2924 ext/gd/libgd/gd.c return ((alpha << 24) + (red << 16) + (green << 8) + blue); red 3056 ext/gd/libgd/gd.c *(dst_row + x) = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); red 3074 ext/gd/libgd/gd.c src->transparent = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); red 178 ext/gd/libgd/gd.h int red[gdMaxColors]; red 732 ext/gd/libgd/gd.h (im)->red[(c)]) red 786 ext/gd/libgd/gd.h int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha); red 706 ext/gd/libgd/gd_arc_f_buggy.c red = gdImageColorResolve (im, 0xFF, 0xA0, 0xA0); red 710 ext/gd/libgd/gd_arc_f_buggy.c gdImageFilledArc (im, WIDTH / 5, HEIGHT / 4, 200, 200, 45, 90, red, gdPie); red 714 ext/gd/libgd/gd_arc_f_buggy.c gdImageFilledArc (im, WIDTH / 2, HEIGHT / 4, 200, 150, 45, 90, red, gdPie); red 55 ext/gd/libgd/gd_color.c im2->red[color] = *(bp++) / count; red 187 ext/gd/libgd/gd_filter.c int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) red 210 ext/gd/libgd/gd_filter.c r = r + red; red 69 ext/gd/libgd/gd_gd.c if (!gdGetByte(&im->red[i], in)) { red 223 ext/gd/libgd/gd_gd.c gdPutC((unsigned char) im->red[i], out); red 575 ext/gd/libgd/gd_gif_in.c im->red[i] = cmap[CM_RED][i]; red 136 ext/gd/libgd/gd_gif_out.c tim->red, tim->green, tim->blue, tim); red 619 ext/gd/libgd/gd_interpolation.c register int alpha, red, green, blue; red 626 ext/gd/libgd/gd_interpolation.c red = (gdTrueColorGetRed(src) * src_weight red 633 ext/gd/libgd/gd_interpolation.c return ((alpha << 24) + (red << 16) + (green << 8) + blue); red 695 ext/gd/libgd/gd_interpolation.c #define colorIndex2RGBA(c) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(c)]) red 696 ext/gd/libgd/gd_interpolation.c #define colorIndex2RGBcustomA(c, a) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(a)]) red 776 ext/gd/libgd/gd_interpolation.c r = (int)(m1*im->red[(c1)] + m2*im->red[(c2)] + m3*im->red[(c3)] + m4*im->red[(c4)]); red 1228 ext/gd/libgd/gd_interpolation.c new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparent], im->blue[transparent], im->alpha[transparent]); red 1284 ext/gd/libgd/gd_interpolation.c 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)); red 1289 ext/gd/libgd/gd_interpolation.c new_img->tpixels[dst_offset_v][dst_offset_h] = gdTrueColorAlpha(red, green, blue, alpha); red 1371 ext/gd/libgd/gd_interpolation.c 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)); red 1376 ext/gd/libgd/gd_interpolation.c new_img->tpixels[dst_offset_v][dst_offset_h] = gdTrueColorAlpha(red, green, blue, alpha); red 1443 ext/gd/libgd/gd_interpolation.c unsigned char red, green, blue, alpha = 0; red 1618 ext/gd/libgd/gd_interpolation.c red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gamma)), 0, 255); red 1623 ext/gd/libgd/gd_interpolation.c *(dst_row + dst_offset_x) = gdTrueColorAlpha(red, green, blue, alpha); red 1876 ext/gd/libgd/gd_interpolation.c const unsigned char red = (unsigned char) CLAMP(gd_fxtoi(f_red), 0, 255); red 1881 ext/gd/libgd/gd_interpolation.c dst->tpixels[dst_offset_y][dst_offset_x++] = gdTrueColorAlpha(red, green, blue, alpha); red 1939 ext/gd/libgd/gd_interpolation.c unsigned char red, green, blue, alpha; red 2144 ext/gd/libgd/gd_interpolation.c red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gama)), 0, 255); red 2149 ext/gd/libgd/gd_interpolation.c dst->tpixels[dst_offset_y][dst_offset_x] = gdTrueColorAlpha(red, green, blue, alpha); red 2174 ext/gd/libgd/gd_interpolation.c bgcolor = gdTrueColorAlpha(src->red[bgcolor], src->green[bgcolor], src->blue[bgcolor], src->alpha[bgcolor]); red 252 ext/gd/libgd/gd_jpeg.c row[jidx++] = im->red[idx]; red 256 ext/gd/libgd/gd_jpeg.c row[jidx++] = im->red[idx] << 4; red 266 ext/gd/libgd/gd_png.c palette[i].red = palette[i].green = palette[i].blue = j; red 271 ext/gd/libgd/gd_png.c palette[i].red = palette[i].green = palette[i].blue = i; red 307 ext/gd/libgd/gd_png.c transparent = gdTrueColor(trans_color_rgb->red >> 8, red 311 ext/gd/libgd/gd_png.c transparent = gdTrueColor(trans_color_rgb->red, red 340 ext/gd/libgd/gd_png.c im->red[i] = palette[i].red; red 587 ext/gd/libgd/gd_png.c trans_rgb_value.red = gdTrueColorGetRed (im->transparent); red 649 ext/gd/libgd/gd_png.c palette[mapping[i]].red = im->red[i]; red 655 ext/gd/libgd/gd_png.c palette[i].red = im->red[i]; red 765 ext/gd/libgd/gd_topal.c nim->red[icolor] = (int) ((c0total + (total >> 1)) / total); red 771 ext/gd/libgd/gd_topal.c nim->red[icolor] = 255; red 834 ext/gd/libgd/gd_topal.c nim->red[nim->colorsTotal] = gdTrueColorGetRed (oim->transparent); red 979 ext/gd/libgd/gd_topal.c x = nim->red[i]; red 1152 ext/gd/libgd/gd_topal.c r = nim->red[icolor]; red 1397 ext/gd/libgd/gd_topal.c int *colormap0 = nim->red; red 22 ext/gd/libgd/gddemo.c int red; red 54 ext/gd/libgd/gddemo.c red = gdImageColorAllocate (im_out, 255, 0, 0); red 103 ext/gd/libgd/gddemo.c (unsigned char *) "hi", red); red 105 ext/gd/libgd/gddemo.c (unsigned char *) "hi", red); red 611 ext/gd/libgd/gdft.c (pixel * im->red[fg] + npixel * im->red[bg]) / NUMCOLORS, red 26 ext/gd/libgd/gdxpm.c int red = 0, green = 0, blue = 0; red 51 ext/gd/libgd/gdxpm.c red = strtol(buf, NULL, 16); red 64 ext/gd/libgd/gdxpm.c red = strtol(buf, NULL, 16); red 80 ext/gd/libgd/gdxpm.c red = strtol(buf, NULL, 16); red 81 ext/gd/libgd/gdxpm.c red /= 64; red 102 ext/gd/libgd/gdxpm.c red = strtol(buf, NULL, 16); red 103 ext/gd/libgd/gdxpm.c red /= 256; red 122 ext/gd/libgd/gdxpm.c colors[i] = gdImageColorResolve(im, red, green, blue);