• Home
  • Raw
  • Download

Lines Matching refs:tilew

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()
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()
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()
270 srcptr2+=ps*tilew) in dotest()
272 int width=min(tilew, w-col*tilew); in dotest()
285 if(quiet==1) printf("%-4d %-4d\t", tilew, tileh); in dotest()
296 printf("\n%s size: %d x %d\n", dotile? "Tile":"Image", tilew, 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()
435 if(w==tilew) _tilew=_w; in dodecomptest()
449 if(tilew==w && tileh==h) break; in dodecomptest()