• Home
  • Raw
  • Download

Lines Matching refs:tileh

80 	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()
243 if((jpegbuf[i]=(unsigned char *)malloc(tjBufSize(tilew, tileh, in dotest()
258 if(tjCompress2(handle, srcbuf, tilew, pitch, tileh, pf, &jpegbuf[0], in dotest()
267 for(row=0, srcptr=srcbuf; row<ntilesh; row++, srcptr+=pitch*tileh) in dotest()
273 int height=min(tileh, h-row*tileh); in dotest()
285 if(quiet==1) printf("%-4d %-4d\t", tilew, tileh); in dotest()
297 tileh); in dotest()
307 if(tilew==w && tileh==h) in dotest()
321 filename, tilew, tileh)==-1) in dotest()
331 if(tilew==w && tileh==h) break; in dotest()
358 int i, tilew, tileh, ntilesw=1, ntilesh=1, retval=0; in dodecomptest() local
393 for(tilew=dotile? 16:w, tileh=dotile? 16:h; ; tilew*=2, tileh*=2) in dodecomptest()
395 if(tilew>w) tilew=w; if(tileh>h) tileh=h; in dodecomptest()
396 ntilesw=(w+tilew-1)/tilew; ntilesh=(h+tileh-1)/tileh; in dodecomptest()
409 if((jpegbuf[i]=(unsigned char *)malloc(tjBufSize(tilew, tileh, in dodecomptest()
414 _w=w; _h=h; _tilew=tilew; _tileh=tileh; in dodecomptest()
427 printf("%-4d %-4d\t", tilew, tileh); in dodecomptest()
436 if(h==tileh) _tileh=_h; in dodecomptest()
449 if(tilew==w && tileh==h) break; in dodecomptest()