Lines Matching refs:sx
97 static gdImagePtr _gdCreateFromFile (gdIOCtx * in, int *sx, int *sy) in _gdCreateFromFile() argument
103 if (!gdGetWord(sx, in)) { in _gdCreateFromFile()
106 if (*sx == 65535 || *sx == 65534) { in _gdCreateFromFile()
110 if (*sx == 65534) { in _gdCreateFromFile()
113 if (!gdGetWord(sx, in)) { in _gdCreateFromFile()
121 GD2_DBG(printf("Image is %dx%d\n", *sx, *sy)); in _gdCreateFromFile()
124 im = gdImageCreateTrueColor(*sx, *sy); in _gdCreateFromFile()
126 im = gdImageCreate(*sx, *sy); in _gdCreateFromFile()
167 int sx, sy; in gdImageCreateFromGdCtx() local
172 im = _gdCreateFromFile(in, &sx, &sy); in gdImageCreateFromGdCtx()
182 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx()
192 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx()
241 gdPutWord(im->sx, out); in _gdPutHeader()
254 for (x = 0; x < im->sx; x++) { in _gdImageGd()