Searched defs:sx (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_gd.c97 static gdImagePtr _gdCreateFromFile (gdIOCtx * in, int *sx, int *sy) argument
103 if (!gdGetWord(sx, in)) {
106 if (*sx == 65535 || *sx == 65534) {
110 if (*sx == 65534) {
113 if (!gdGetWord(sx, in)) {
121 GD2_DBG(printf("Image is %dx%d\n", *sx, *sy));
124 im = gdImageCreateTrueColor(*sx, *sy);
126 im = gdImageCreate(*sx, *sy);
167 int sx, s local
[all...]
H A Dgd_gd2.c54 static int _gd2GetHeader(gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** chunkIdx) argument
94 if (!gdGetWord(sx, in)) {
102 GD2_DBG(php_gd_error("Image is %dx%d", *sx, *sy));
165 static gdImagePtr _gd2CreateFromFile (gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** cidx) argument
169 if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) {
175 im = gdImageCreateTrueColor(*sx, *sy);
177 im = gdImageCreate(*sx, *sy);
251 int sx, sy; local
269 if (!(im = _gd2CreateFromFile(in, &sx, &sy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx))) {
322 if (xhi > im->sx) {
[all...]
H A Dgd_interpolation.c748 int sx = (int)(x); local
750 const double xf = x - (double)sx;
760 const int c1 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy, bgColor) : getPixelOverflowPalette(im, sx, sy, bgColor);
761 const int c2 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy, bgColor) : getPixelOverflowPalette(im, sx - 1, sy, bgColor);
762 const int c3 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy - 1, bgColor) : getPixelOverflowPalette(im, sx, sy - 1, bgColor);
763 const int c4 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy - 1, bgColor) : getPixelOverflowPalette(im, sx, s
[all...]
H A Dxbm.c141 if (x == im->sx) {
176 int x, y, c, b, sx, sy, p; local
206 sx = gdImageSX(image);
209 for (x = 0; x < sx; x++) {
213 if ((b == 128) || (x == sx && y == sy)) {
H A Dgd.h62 access sx, sy, the color table, and colorsTotal for
172 int sx; member in struct:gdImageStruct
348 gdImagePtr gdImageCreate(int sx, int sy);
354 gdImagePtr gdImageCreateTrueColor(int sx, int sy);
728 #define gdImageSX(im) ((im)->sx)
H A Dgd.c121 gdImagePtr gdImageCreate (int sx, int sy) argument
126 if (overflow2(sx, sy)) {
146 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char));
147 im->AA_opacity[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char));
149 im->sx = sx;
167 im->cx2 = im->sx - 1;
174 gdImagePtr gdImageCreateTrueColor (int sx, int sy) argument
179 if (overflow2(sx, sy)) {
187 if (overflow2(sizeof(int), sx)) {
2466 double sx, sy; local
2783 int sx, sy; local
3023 const unsigned int sx = gdImageSX(src); local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_strtod.c1287 ULong *bx, *bxe, *sx, *sxe; local
1300 sx = S->x;
1301 sxe = sx + --n;
1314 si = *sx++;
1326 ys = *sx++ * q + carry;
1334 while(sx <= sxe);
1347 sx = S->x;
1350 si = *sx++;
1362 ys = *sx++ + carry;
1370 while(sx <
[all...]

Completed in 15 milliseconds