Lines Matching refs:tilew
141 int subsamp, int jpegQual, char *fileName, int tilew, int tileh) in decomp() argument
152 int ntilesw = (w + tilew - 1) / tilew, ntilesh = (h + tileh - 1) / tileh; in decomp()
176 int width = doTile ? tilew : scaledw; in decomp()
197 col++, tile++, dstPtr2 += ps * tilew) { in decomp()
198 int width = doTile ? min(tilew, w - col * tilew) : scaledw; in decomp()
259 else if (tilew != w || tileh != h) in decomp()
260 snprintf(sizeStr, 20, "%dx%d", tilew, tileh); in decomp()
321 int totalJpegSize = 0, row, col, i, tilew = w, tileh = h, retval = 0; in fullTest() local
339 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; in fullTest()
340 tilew *= 2, tileh *= 2) { in fullTest()
341 if (tilew > w) tilew = w; in fullTest()
343 ntilesw = (w + tilew - 1) / tilew; in fullTest()
357 if (tjBufSize(tilew, tileh, subsamp) > (unsigned long)INT_MAX) in fullTest()
360 tjAlloc(tjBufSize(tilew, tileh, subsamp))) == NULL) in fullTest()
375 yuvSize = tjBufSizeYUV2(tilew, yuvPad, tileh, subsamp); in fullTest()
394 col++, tile++, srcPtr2 += ps * tilew) { in fullTest()
395 int width = min(tilew, w - col * tilew); in fullTest()
432 if (quiet == 1) printf("%-5d %-5d ", tilew, tileh); in fullTest()
448 printf("\n%s size: %d x %d\n", doTile ? "Tile" : "Image", tilew, tileh); in fullTest()
472 if (tilew == w && tileh == h && doWrite) { in fullTest()
486 fileName, tilew, tileh) == -1) in fullTest()
500 if (tilew == w && tileh == h) break; in fullTest()
531 int w = 0, h = 0, tilew, tileh, ntilesw = 1, ntilesh = 1, subsamp = -1, in decompTest() local
577 for (tilew = doTile ? 16 : w, tileh = doTile ? 16 : h; ; in decompTest()
578 tilew *= 2, tileh *= 2) { in decompTest()
579 if (tilew > w) tilew = w; in decompTest()
581 ntilesw = (w + tilew - 1) / tilew; in decompTest()
596 if (tjBufSize(tilew, tileh, subsamp) > (unsigned long)INT_MAX) in decompTest()
599 tjAlloc(tjBufSize(tilew, tileh, subsamp))) == NULL) in decompTest()
603 tw = w; th = h; ttilew = tilew; ttileh = tileh; in decompTest()
613 printf("%-5d %-5d ", tilew, tileh); in decompTest()
624 tw = h; th = w; ttilew = tileh; ttileh = tilew; in decompTest()
708 if (w == tilew) ttilew = tw; in decompTest()
724 if (tilew == w && tileh == h) break; in decompTest()