/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; 218 else if(tilew!=w || tileh!=h) 219 snprintf(sizestr, 20, "%dx%d", tilew, tileh); 283 int totaljpegsize=0, row, col, i, tilew=w, tileh=h, retval=0 local 486 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; 228 else if (tilew != w || tileh != h) 229 sizeStr = new String(tilew + "x" + tileh); 279 int totalJpegSize = 0, tilew, tileh, i, iter; local 294 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; 295 tilew *= 2, tileh *= 2) { 296 if (tilew > w [all...] |
/external/libdrm/radeon/ |
radeon_surface.c | 327 uint32_t xalign, yalign, zalign, tilew; local 331 tilew = 8; 332 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); 333 xalign = MAX2(tilew, xalign); 334 yalign = tilew; 360 uint32_t xalign, yalign, zalign, tilew; local 364 tilew = 8; 367 (tilew * surf->bpe * surf->nsamples); 368 xalign = MAX2(tilew * surf_man->hw_info.num_banks, xalign); 371 yalign = tilew * surf_man->hw_info.num_pipes 612 uint32_t xalign, yalign, zalign, tilew; local 653 unsigned tilew, tileh, tileb; local 1620 unsigned tilew, tileh, tileb; local 2217 unsigned tilew, tileh, tileb_1x, tileb; local [all...] |