Lines Matching refs:tileh
142 int tileh) in decomp() argument
153 int ntilesw = (w + tilew - 1) / tilew, ntilesh = (h + tileh - 1) / tileh; in decomp()
178 int height = doTile ? tileh : scaledh; in decomp()
196 row++, dstPtr += pitch * tileh) { in decomp()
200 int height = doTile ? min(tileh, h - row * tileh) : scaledh; in decomp()
260 else if (tilew != w || tileh != h) in decomp()
261 snprintf(sizeStr, 24, "%dx%d", tilew, tileh); in decomp()
322 int totalJpegSize = 0, row, col, i, tilew = w, tileh = h, retval = 0; in fullTest() local
340 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; in fullTest()
341 tilew *= 2, tileh *= 2) { in fullTest()
343 if (tileh > h) tileh = h; in fullTest()
345 ntilesh = (h + tileh - 1) / tileh; in fullTest()
358 if (tjBufSize(tilew, tileh, subsamp) > (unsigned long)INT_MAX) in fullTest()
361 tjAlloc(tjBufSize(tilew, tileh, subsamp))) == NULL) in fullTest()
376 yuvSize = tjBufSizeYUV2(tilew, yuvPad, tileh, subsamp); in fullTest()
393 row++, srcPtr += pitch * tileh) { in fullTest()
397 int height = min(tileh, h - row * tileh); in fullTest()
433 if (quiet == 1) printf("%-5d %-5d ", tilew, tileh); in fullTest()
449 printf("\n%s size: %d x %d\n", doTile ? "Tile" : "Image", tilew, tileh); in fullTest()
473 if (tilew == w && tileh == h && doWrite) { in fullTest()
487 fileName, tilew, tileh) == -1) in fullTest()
501 if (tilew == w && tileh == h) break; in fullTest()
532 int w = 0, h = 0, tilew, tileh, ntilesw = 1, ntilesh = 1, subsamp = -1, in decompTest() local
578 for (tilew = doTile ? 16 : w, tileh = doTile ? 16 : h; ; in decompTest()
579 tilew *= 2, tileh *= 2) { in decompTest()
581 if (tileh > h) tileh = h; in decompTest()
583 ntilesh = (h + tileh - 1) / tileh; in decompTest()
597 if (tjBufSize(tilew, tileh, subsamp) > (unsigned long)INT_MAX) in decompTest()
600 tjAlloc(tjBufSize(tilew, tileh, subsamp))) == NULL) in decompTest()
604 tw = w; th = h; ttilew = tilew; ttileh = tileh; in decompTest()
614 printf("%-5d %-5d ", tilew, tileh); in decompTest()
625 tw = h; th = w; ttilew = tileh; ttileh = tilew; in decompTest()
710 if (h == tileh) ttileh = th; in decompTest()
725 if (tilew == w && tileh == h) break; in decompTest()