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()
140 int width=dotile? tilew:scaledw; in decomp()
157 for(col=0, dstptr2=dstptr; col<ntilesw; col++, tile++, dstptr2+=ps*tilew) in decomp()
159 int width=dotile? min(tilew, w-col*tilew):scaledw; in decomp()
218 else if(tilew!=w || tileh!=h) in decomp()
219 snprintf(sizestr, 20, "%dx%d", tilew, tileh); in decomp()
283 int totaljpegsize=0, row, col, i, tilew=w, tileh=h, retval=0; in fullTest() local
298 for(tilew=dotile? 8:w, tileh=dotile? 8:h; ; tilew*=2, tileh*=2) in fullTest()
300 if(tilew>w) tilew=w; if(tileh>h) tileh=h; in fullTest()
[all …]
/external/libjpeg-turbo/java/
DTJBench.java135 String fileName, int tilew, int tileh) throws Exception { in decomp() argument
158 int width = doTile ? tilew : scaledw; in decomp()
171 for (int x = 0; x < w; x += tilew, tile++) { in decomp()
172 int width = doTile ? Math.min(tilew, w - x) : scaledw; in decomp()
228 else if (tilew != w || tileh != h) in decomp()
229 sizeStr = new String(tilew + "x" + tileh); in decomp()
279 int totalJpegSize = 0, tilew, tileh, i, iter; in fullTest() local
294 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; in fullTest()
295 tilew *= 2, tileh *= 2) { in fullTest()
296 if (tilew > w) in fullTest()
[all …]
/external/libdrm/radeon/
Dradeon_surface.c327 uint32_t xalign, yalign, zalign, tilew; in r6_surface_init_1d() local
331 tilew = 8; in r6_surface_init_1d()
332 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
333 xalign = MAX2(tilew, xalign); in r6_surface_init_1d()
334 yalign = tilew; in r6_surface_init_1d()
360 uint32_t xalign, yalign, zalign, tilew; in r6_surface_init_2d() local
364 tilew = 8; in r6_surface_init_2d()
367 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
368 xalign = MAX2(tilew * surf_man->hw_info.num_banks, xalign); in r6_surface_init_2d()
371 yalign = tilew * surf_man->hw_info.num_pipes; in r6_surface_init_2d()
[all …]