/external/libvncserver/test/ |
tjbench.c | 80 int subsamp, int jpegqual, char *filename, int tilew, int tileh) 91 int ntilesw=(w+tilew-1)/tilew, ntilesh=(h+tileh-1)/tileh; 125 for(col=0, dstptr2=dstptr; col<ntilesw; col++, tile++, dstptr2+=ps*tilew) 127 int width=dotile? min(tilew, w-col*tilew):scaledw; 152 else if(tilew!=w || tileh!=h) 153 snprintf(sizestr, 20, "%dx%d", tilew, tileh); 215 int totaljpegsize=0, row, col, i, tilew=w, tileh=h, retval=0; local 227 for(tilew=dotile? 8:w, tileh=dotile? 8:h; ; tilew*=2, tileh*=2 358 int i, tilew, tileh, ntilesw=1, ntilesh=1, retval=0; local [all...] |
/external/libjpeg-turbo/ |
tjbench.c | 106 int subsamp, int jpegqual, char *filename, int tilew, int tileh) 116 int ntilesw=(w+tilew-1)/tilew, ntilesh=(h+tileh-1)/tileh; 140 int width=dotile? tilew:scaledw; 157 for(col=0, dstptr2=dstptr; col<ntilesw; col++, tile++, dstptr2+=ps*tilew) 159 int width=dotile? min(tilew, w-col*tilew):scaledw; 226 else if(tilew!=w || tileh!=h) 227 snprintf(sizestr, 20, "%dx%d", tilew, tileh); 292 int totaljpegsize=0, row, col, i, tilew=w, tileh=h, retval=0 local 503 int row, col, i, iter, tilew, tileh, ntilesw=1, ntilesh=1, retval=0; local [all...] |
/external/libjpeg-turbo/java/ |
TJBench.java | 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; 233 else if (tilew != w || tileh != h) 234 sizeStr = new String(tilew + "x" + tileh); 284 int totalJpegSize = 0, tilew, tileh, i, iter; local 299 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; 300 tilew *= 2, tileh *= 2) { 301 if (tilew > w [all...] |
/external/libdrm/radeon/ |
radeon_surface.c | 335 uint32_t xalign, yalign, zalign, tilew; local 339 tilew = 8; 340 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); 341 xalign = MAX2(tilew, xalign); 342 yalign = tilew; 368 uint32_t xalign, yalign, zalign, tilew; local 372 tilew = 8; 375 (tilew * surf->bpe * surf->nsamples); 376 xalign = MAX2(tilew * surf_man->hw_info.num_banks, xalign); 379 yalign = tilew * surf_man->hw_info.num_pipes 620 uint32_t xalign, yalign, zalign, tilew; local 661 unsigned tilew, tileh, tileb; local 1630 unsigned tilew, tileh, tileb; local 2227 unsigned tilew, tileh, tileb_1x, tileb; local [all...] |