Home
last modified time | relevance | path

Searched refs:tileh (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()
123 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh) in decomptest()
128 int height=dotile? min(tileh, h-row*tileh):scaledh; 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()
144 int height=dotile? tileh:scaledh; in decomp()
161 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh) in decomp()
166 int height=dotile? min(tileh, h-row*tileh):scaledh; 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()
314 if(tileh>h) tileh=h; in fullTest()
[all …]
/external/libjpeg-turbo/java/
DTJBench.java137 String fileName, int tilew, int tileh) throws Exception { in decomp() argument
164 int height = doTile ? tileh : scaledh; in decomp()
175 for (int y = 0; y < h; y += tileh) { in decomp()
178 int height = doTile ? Math.min(tileh, h - y) : scaledh; 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()
307 if (tileh > h) in fullTest()
[all …]
/external/libdrm/radeon/
Dradeon_surface.c661 unsigned tilew, tileh, tileb; in eg_surface_init_2d() local
668 tileh = 8; in eg_surface_init_2d()
669 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
679 mtileh = (tileh * surf->bankh * surf_man->hw_info.num_banks) / surf->mtilea; in eg_surface_init_2d()
681 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in eg_surface_init_2d()
1630 unsigned tilew, tileh, tileb; in si_surface_init_2d() local
1637 tileh = 8; in si_surface_init_2d()
1638 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1648 mtileh = (tileh * surf->bankh * num_banks) / surf->mtilea; in si_surface_init_2d()
1651 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in si_surface_init_2d()
[all …]