Home
last modified time | relevance | path

Searched refs:gdMaxColors (Results 1 – 8 of 8) sorted by relevance

/PHP-8.0/ext/gd/libgd/
H A Dgd_color_match.c31 buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * gdMaxColors, 0); in gdImageColorMatch()
32 memset( buf, 0, sizeof(unsigned long) * 5 * gdMaxColors ); in gdImageColorMatch()
H A Dgd_gd.c42 if (im->colorsTotal > gdMaxColors) { in _gdGetColors()
68 for (i = 0; i < gdMaxColors; i++) { in _gdGetColors()
222 for (i = 0; i < gdMaxColors; i++) { in _gdPutColors()
H A Dgd.h56 #define gdMaxColors 256 macro
179 int red[gdMaxColors];
180 int green[gdMaxColors];
181 int blue[gdMaxColors];
182 int open[gdMaxColors];
198 int brushColorMap[gdMaxColors];
199 int tileColorMap[gdMaxColors];
214 int alpha[gdMaxColors];
H A Dgd_png.c370 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()
428 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()
496 int mapping[gdMaxColors]; /* mapping[gd_index] == png_index */ in gdImagePngCtxEx()
499 png_color palette[gdMaxColors]; in gdImagePngCtxEx()
571 for (i = 0; i < gdMaxColors; ++i) { in gdImagePngCtxEx()
H A Dgd_gif_in.c578 for (i=0; (i<gdMaxColors); i++) { in ReadImage()
585 im->colorsTotal = gdMaxColors; in ReadImage()
601 if (v >= gdMaxColors) { in ReadImage()
H A Dgd.c206 for (i = 0; i < gdMaxColors; i++) { in gdImageCreate()
539 if (ct == gdMaxColors) { in gdImageColorAllocateAlpha()
613 if (op == gdMaxColors) in gdImageColorResolveAlpha()
2262 int colorMap[gdMaxColors]; in gdImageCopy()
2294 for (i = 0; i < gdMaxColors; i++) { in gdImageCopy()
2438 int colorMap[gdMaxColors]; in gdImageCopyResized()
2459 for (i = 0; (i < gdMaxColors); i++) { in gdImageCopyResized()
H A Dgd_topal.c50 #define MAXJSAMPLE (gdMaxColors-1)
1469 int maxColors = gdMaxColors; in gdImageTrueColorToPaletteBody()
H A Dgd_interpolation.c2131 if (bgcolor < gdMaxColors) { in gdImageRotateInterpolated()

Completed in 41 milliseconds