Searched refs:tileh (Results 1 - 4 of 4) sorted by relevance

/external/libvncserver/test/
H A Dtjbench.c80 int subsamp, int jpegqual, char *filename, int tilew, int tileh)
91 int ntilesw=(w+tilew-1)/tilew, ntilesh=(h+tileh-1)/tileh;
123 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
128 int height=dotile? min(tileh, h-row*tileh):scaledh;
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
78 decomptest(unsigned char *srcbuf, unsigned char **jpegbuf, unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, int subsamp, int jpegqual, char *filename, int tilew, int tileh) argument
358 int i, tilew, tileh, ntilesw=1, ntilesh=1, retval=0; local
[all...]
/external/libjpeg-turbo/
H A Dtjbench.c106 int subsamp, int jpegqual, char *filename, int tilew, int tileh)
116 int ntilesw=(w+tilew-1)/tilew, ntilesh=(h+tileh-1)/tileh;
141 int height=dotile? tileh:scaledh;
155 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
160 int height=dotile? min(tileh, h-row*tileh):scaledh;
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 local
104 decomp(unsigned char *srcbuf, unsigned char **jpegbuf, unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, int subsamp, int jpegqual, char *filename, int tilew, int tileh) argument
486 int row, col, i, iter, tilew, tileh, ntilesw=1, ntilesh=1, retval=0; local
[all...]
/external/libjpeg-turbo/java/
H A DTJBench.java135 String fileName, int tilew, int tileh) throws Exception {
159 int height = doTile ? tileh : scaledh;
170 for (int y = 0; y < h; y += tileh) {
173 int height = doTile ? Math.min(tileh, h - y) : scaledh;
228 else if (tilew != w || tileh != h)
229 sizeStr = new String(tilew + "x" + tileh);
279 int totalJpegSize = 0, tilew, tileh, i, iter;
294 for (tilew = doTile ? 8 : w, tileh = doTile ? 8 : h; ;
295 tilew *= 2, tileh *= 2) {
298 if (tileh >
133 decomp(byte[] srcBuf, byte[][] jpegBuf, int[] jpegSize, byte[] dstBuf, int w, int h, int subsamp, int jpegQual, String fileName, int tilew, int tileh) argument
[all...]
/external/libdrm/radeon/
H A Dradeon_surface.c653 unsigned tilew, tileh, tileb; local
660 tileh = 8;
661 tileb = tilew * tileh * bpe * surf->nsamples;
671 mtileh = (tileh * surf->bankh * surf_man->hw_info.num_banks) / surf->mtilea;
673 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb;
1620 unsigned tilew, tileh, tileb; local
1627 tileh = 8;
1628 tileb = tilew * tileh * bpe * surf->nsamples;
1638 mtileh = (tileh * surf->bankh * num_banks) / surf->mtilea;
1641 mtileb = (mtilew / tilew) * (mtileh / tileh) * tile
2217 unsigned tilew, tileh, tileb_1x, tileb; local
[all...]

Completed in 86 milliseconds