Home
last modified time | relevance | path

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

/PHP-5.6/ext/gd/libgd/
H A Dgd_color.c36 buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * gdMaxColors, 0); in gdImageColorMatch()
37 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.h58 #define gdMaxColors 256 macro
178 int red[gdMaxColors];
179 int green[gdMaxColors];
180 int blue[gdMaxColors];
181 int open[gdMaxColors];
197 int brushColorMap[gdMaxColors];
198 int tileColorMap[gdMaxColors];
213 int alpha[gdMaxColors];
H A Dgd_png.c345 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()
403 for (i = num_palette; i < gdMaxColors; ++i) { in gdImageCreateFromPngCtx()
471 int mapping[gdMaxColors]; /* mapping[gd_index] == png_index */ in gdImagePngCtxEx()
474 png_color palette[gdMaxColors]; in gdImagePngCtxEx()
540 for (i = 0; i < gdMaxColors; ++i) { in gdImagePngCtxEx()
H A Dgd_gif_in.c577 for (i=0; (i<gdMaxColors); i++) { in ReadImage()
584 im->colorsTotal = gdMaxColors; in ReadImage()
600 if (v >= gdMaxColors) { in ReadImage()
H A Dgd.c163 for (i = 0; i < gdMaxColors; i++) { in gdImageCreate()
503 if (ct == gdMaxColors) { in gdImageColorAllocateAlpha()
577 if (op == gdMaxColors) in gdImageColorResolveAlpha()
2205 int colorMap[gdMaxColors]; in gdImageCopy()
2237 for (i = 0; i < gdMaxColors; i++) { in gdImageCopy()
2381 int colorMap[gdMaxColors]; in gdImageCopyResized()
2402 for (i = 0; (i < gdMaxColors); i++) { in gdImageCopyResized()
H A Dgd_topal.c64 #define MAXJSAMPLE (gdMaxColors-1)
1788 int maxColors = gdMaxColors;
H A Dgd_interpolation.c2219 if (bgcolor < gdMaxColors) { in gdImageRotateInterpolated()

Completed in 60 milliseconds