Home
last modified time | relevance | path

Searched refs:tilew (Results 1 – 4 of 4) sorted by relevance

/external/libvncserver/test/
Dtjbench.c80 int subsamp, int jpegqual, char *filename, int tilew, int tileh) in decomptest() argument
91 int ntilesw=(w+tilew-1)/tilew, ntilesh=(h+tileh-1)/tileh; in decomptest()
125 for(col=0, dstptr2=dstptr; col<ntilesw; col++, tile++, dstptr2+=ps*tilew) in decomptest()
127 int width=dotile? min(tilew, w-col*tilew):scaledw; in decomptest()
152 else if(tilew!=w || tileh!=h) in decomptest()
153 snprintf(sizestr, 20, "%dx%d", tilew, tileh); in decomptest()
215 int totaljpegsize=0, row, col, i, tilew=w, tileh=h, retval=0; in dotest() local
227 for(tilew=dotile? 8:w, tileh=dotile? 8:h; ; tilew*=2, tileh*=2) in dotest()
229 if(tilew>w) tilew=w; if(tileh>h) tileh=h; in dotest()
230 ntilesw=(w+tilew-1)/tilew; ntilesh=(h+tileh-1)/tileh; in dotest()
[all …]
/external/libjpeg-turbo/
Dtjbench.c106 int subsamp, int jpegqual, char *filename, int tilew, int tileh) in decomp() argument
116 int ntilesw=(w+tilew-1)/tilew, ntilesh=(h+tileh-1)/tileh; in decomp()
143 int width=dotile? tilew:scaledw; in decomp()
163 for(col=0, dstptr2=dstptr; col<ntilesw; col++, tile++, dstptr2+=ps*tilew) in decomp()
165 int width=dotile? min(tilew, w-col*tilew):scaledw; in decomp()
227 else if(tilew!=w || tileh!=h) in decomp()
228 snprintf(sizestr, 20, "%dx%d", tilew, tileh); in decomp()
293 int totaljpegsize=0, row, col, i, tilew=w, tileh=h, retval=0; in fullTest() local
311 for(tilew=dotile? 8:w, tileh=dotile? 8:h; ; tilew*=2, tileh*=2) in fullTest()
313 if(tilew>w) tilew=w; in fullTest()
[all …]
/external/libjpeg-turbo/java/
DTJBench.java137 String fileName, int tilew, int tileh) throws Exception { in decomp() argument
163 int width = doTile ? tilew : scaledw; in decomp()
176 for (int x = 0; x < w; x += tilew, tile++) { in decomp()
177 int width = doTile ? Math.min(tilew, w - x) : scaledw; in decomp()
235 else if (tilew != w || tileh != h) in decomp()
236 sizeStr = new String(tilew + "x" + tileh); in decomp()
286 int totalJpegSize = 0, tilew, tileh, i, iter; in fullTest() local
303 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; in fullTest()
304 tilew *= 2, tileh *= 2) { in fullTest()
305 if (tilew > w) in fullTest()
[all …]
/external/libdrm/radeon/
Dradeon_surface.c335 uint32_t xalign, yalign, zalign, tilew; in r6_surface_init_1d() local
339 tilew = 8; in r6_surface_init_1d()
340 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
341 xalign = MAX2(tilew, xalign); in r6_surface_init_1d()
342 yalign = tilew; in r6_surface_init_1d()
368 uint32_t xalign, yalign, zalign, tilew; in r6_surface_init_2d() local
372 tilew = 8; in r6_surface_init_2d()
375 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
376 xalign = MAX2(tilew * surf_man->hw_info.num_banks, xalign); in r6_surface_init_2d()
379 yalign = tilew * surf_man->hw_info.num_pipes; in r6_surface_init_2d()
[all …]