Home
last modified time | relevance | path

Searched refs:tileh (Results 1 – 3 of 3) sorted by relevance

/external/libjpeg-turbo/
Dtjbench.c141 int subsamp, int jpegQual, char *fileName, int tilew, int tileh) in decomp() argument
152 int ntilesw = (w + tilew - 1) / tilew, ntilesh = (h + tileh - 1) / tileh; in decomp()
177 int height = doTile ? tileh : scaledh; in decomp()
195 row++, dstPtr += pitch * tileh) { in decomp()
199 int height = doTile ? min(tileh, h - row * tileh) : scaledh; in decomp()
259 else if (tilew != w || tileh != h) in decomp()
260 snprintf(sizeStr, 20, "%dx%d", tilew, tileh); in decomp()
321 int totalJpegSize = 0, row, col, i, tilew = w, tileh = h, retval = 0; in fullTest() local
339 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; in fullTest()
340 tilew *= 2, tileh *= 2) { in fullTest()
[all …]
/external/libjpeg-turbo/java/
DTJBench.java165 String fileName, int tilew, int tileh) throws Exception { in decomp() argument
192 int height = doTile ? tileh : scaledh; in decomp()
205 for (int y = 0; y < h; y += tileh) { in decomp()
208 int height = doTile ? Math.min(tileh, h - y) : scaledh; in decomp()
281 else if (tilew != w || tileh != h) in decomp()
282 sizeStr = new String(tilew + "x" + tileh); in decomp()
333 int totalJpegSize = 0, tilew, tileh, i, iter; in fullTest() local
351 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ; in fullTest()
352 tilew *= 2, tileh *= 2) { in fullTest()
355 if (tileh > h) in fullTest()
[all …]
/external/libdrm/radeon/
Dradeon_surface.c658 unsigned tilew, tileh, tileb; in eg_surface_init_2d() local
665 tileh = 8; in eg_surface_init_2d()
666 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
676 mtileh = (tileh * surf->bankh * surf_man->hw_info.num_banks) / surf->mtilea; in eg_surface_init_2d()
678 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in eg_surface_init_2d()
1627 unsigned tilew, tileh, tileb; in si_surface_init_2d() local
1634 tileh = 8; in si_surface_init_2d()
1635 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1645 mtileh = (tileh * surf->bankh * num_banks) / surf->mtilea; in si_surface_init_2d()
1648 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in si_surface_init_2d()
[all …]