Lines Matching refs:sy
55 static int _gd2GetHeader(gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, i… in _gd2GetHeader() argument
99 if (!gdGetWord(sy, in)) { in _gd2GetHeader()
103 GD2_DBG(gd_error("Image is %dx%d", *sx, *sy)); in _gd2GetHeader()
183 static gdImagePtr _gd2CreateFromFile (gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt… in _gd2CreateFromFile() argument
187 if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) { in _gd2CreateFromFile()
193 im = gdImageCreateTrueColor(*sx, *sy); in _gd2CreateFromFile()
195 im = gdImageCreate(*sx, *sy); in _gd2CreateFromFile()
269 int sx, sy; in gdImageCreateFromGd2Ctx() local
287 if (!(im = _gd2CreateFromFile(in, &sx, &sy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx))) { in gdImageCreateFromGd2Ctx()
320 if (yhi > im->sy) { in gdImageCreateFromGd2Ctx()
321 yhi = im->sy; in gdImageCreateFromGd2Ctx()
657 gdPutWord(im->sy, out); in _gd2PutHeader()
702 ncy = (im->sy + cs - 1) / cs; in _gdImageGd2()
739 GD2_DBG(gd_error("Size: %dx%d", im->sx, im->sy)); in _gdImageGd2()
746 if (yhi > im->sy) { in _gdImageGd2()
747 yhi = im->sy; in _gdImageGd2()