Lines Matching refs:tilew

144                   int subsamp, int jpegQual, char *fileName, int tilew,  in decomp()  argument
156 int ntilesw = (w + tilew - 1) / tilew, ntilesh = (h + tileh - 1) / tileh; in decomp()
180 int width = doTile ? tilew : scaledw; in decomp()
201 col++, tile++, dstPtr2 += ps * tilew) { in decomp()
202 int width = doTile ? min(tilew, w - col * tilew) : scaledw; in decomp()
265 else if (tilew != w || tileh != h) in decomp()
266 snprintf(sizeStr, 24, "%dx%d", tilew, tileh); in decomp()
327 int totalJpegSize = 0, row, col, i, tilew = w, tileh = h, retval = 0; in fullTest() local
345 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; in fullTest()
346 tilew *= 2, tileh *= 2) { in fullTest()
347 if (tilew > w) tilew = w; in fullTest()
349 ntilesw = (w + tilew - 1) / tilew; in fullTest()
363 if (tjBufSize(tilew, tileh, subsamp) > (unsigned long)INT_MAX) in fullTest()
366 tjAlloc(tjBufSize(tilew, tileh, subsamp))) == NULL) in fullTest()
381 yuvSize = tjBufSizeYUV2(tilew, yuvPad, tileh, subsamp); in fullTest()
400 col++, tile++, srcPtr2 += ps * tilew) { in fullTest()
401 int width = min(tilew, w - col * tilew); in fullTest()
438 if (quiet == 1) fprintf(stderr, "%-5d %-5d ", tilew, tileh); in fullTest()
454 fprintf(stderr, "\n%s size: %d x %d\n", doTile ? "Tile" : "Image", tilew, in fullTest()
484 if (tilew == w && tileh == h && doWrite) { in fullTest()
498 fileName, tilew, tileh) == -1) in fullTest()
512 if (tilew == w && tileh == h) break; in fullTest()
541 int w = 0, h = 0, tilew, tileh, ntilesw = 1, ntilesh = 1, subsamp = -1, in decompTest() local
589 for (tilew = doTile ? 16 : w, tileh = doTile ? 16 : h; ; in decompTest()
590 tilew *= 2, tileh *= 2) { in decompTest()
591 if (tilew > w) tilew = w; in decompTest()
593 ntilesw = (w + tilew - 1) / tilew; in decompTest()
608 if (tjBufSize(tilew, tileh, subsamp) > (unsigned long)INT_MAX) in decompTest()
611 tjAlloc(tjBufSize(tilew, tileh, subsamp))) == NULL) in decompTest()
615 tw = w; th = h; ttilew = tilew; ttileh = tileh; in decompTest()
626 fprintf(stderr, "%-5d %-5d ", tilew, tileh); in decompTest()
637 tw = h; th = w; ttilew = tileh; ttileh = tilew; in decompTest()
723 if (w == tilew) ttilew = tw; in decompTest()
739 if (tilew == w && tileh == h) break; in decompTest()