Lines Matching refs:ncy
55 …OCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** ch… in _gd2GetHeader() argument
134 if (gdGetWord(ncy, in) != 1) { in _gd2GetHeader()
137 GD2_DBG(gd_error("%d Chunks vertically", *ncy)); in _gd2GetHeader()
140 if (*ncx <= 0 || *ncy <= 0 || *ncx > INT_MAX / *ncy) { in _gd2GetHeader()
141 GD2_DBG(printf ("Illegal chunk counts: %d * %d\n", *ncx, *ncy)); in _gd2GetHeader()
144 nc = (*ncx) * (*ncy); in _gd2GetHeader()
183 …OCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** ci… in _gd2CreateFromFile() argument
187 if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) { in _gd2CreateFromFile()
271 int ncx, ncy, nc, cs, cx, cy; in gdImageCreateFromGd2Ctx() local
287 if (!(im = _gd2CreateFromFile(in, &sx, &sy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx))) { in gdImageCreateFromGd2Ctx()
292 nc = ncx * ncy; in gdImageCreateFromGd2Ctx()
316 for (cy = 0; (cy < ncy); cy++) { in gdImageCreateFromGd2Ctx()
437 int nc, ncx, ncy, cs, cx, cy; in gdImageCreateFromGd2PartCtx() local
463 if (_gd2GetHeader(in, &fsx, &fsy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx) != 1) { in gdImageCreateFromGd2PartCtx()
485 nc = ncx * ncy; in gdImageCreateFromGd2PartCtx()
525 if (ecy >= ncy) { in gdImageCreateFromGd2PartCtx()
526 ecy = ncy - 1; in gdImageCreateFromGd2PartCtx()
666 int ncx, ncy, cx, cy; in _gdImageGd2() local
702 ncy = (im->sy + cs - 1) / cs; in _gdImageGd2()
705 _gd2PutHeader (im, out, cs, fmt, ncx, ncy); in _gdImageGd2()
729 idxSize = ncx * ncy * sizeof(t_chunk_info); in _gdImageGd2()
740 GD2_DBG(gd_error("Chunks: %dx%d", ncx, ncy)); in _gdImageGd2()
742 for (cy = 0; (cy < ncy); cy++) { in _gdImageGd2()