Lines Matching refs:tilew
135 String fileName, int tilew, int tileh) throws Exception {
158 int width = doTile ? tilew : scaledw;
171 for (int x = 0; x < w; x += tilew, tile++) {
172 int width = doTile ? Math.min(tilew, w - x) : scaledw;
228 else if (tilew != w || tileh != h)
229 sizeStr = new String(tilew + "x" + tileh);
279 int totalJpegSize = 0, tilew, tileh, i, iter;
294 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ;
295 tilew *= 2, tileh *= 2) {
296 if (tilew > w)
297 tilew = w;
300 ntilesw = (w + tilew - 1) / tilew;
303 jpegBuf = new byte[ntilesw * ntilesh][TJ.bufSize(tilew, tileh, subsamp)];
317 yuvImage = new YUVImage(tilew, yuvpad, tileh, subsamp);
329 for (int x = 0; x < w; x += tilew, tile++) {
330 int width = Math.min(tilew, w - x);
358 System.out.format("%-5d %-5d ", tilew, tileh);
372 tilew, tileh);
397 if (tilew == w && tileh == h) {
410 fileName, tilew, tileh);
412 if (tilew == w && tileh == h) break;
464 for (int tilew = doTile ? 16 : w, tileh = doTile ? 16 : h; ;
465 tilew *= 2, tileh *= 2) {
466 if (tilew > w)
467 tilew = w;
470 ntilesw = (w + tilew - 1) / tilew;
473 _w = w; _h = h; _tilew = tilew; _tileh = tileh;
485 System.out.format("%-5d %-5d ", tilew, tileh);
494 _w = h; _h = w; _tilew = tileh; _tileh = tilew;
587 if (w == tilew)
600 if (tilew == w && tileh == h) break;