Lines Matching refs:tile
153 int tile=0; in decomp() local
157 for(col=0, dstptr2=dstptr; col<ntilesw; col++, tile++, dstptr2+=ps*tilew) in decomp()
164 if(tjDecompressToYUV2(handle, jpegbuf[tile], jpegsize[tile], yuvbuf, in decomp()
174 if(tjDecompress2(handle, jpegbuf[tile], jpegsize[tile], dstptr2, in decomp()
342 int tile=0; in fullTest() local
347 for(col=0, srcptr2=srcptr; col<ntilesw; col++, tile++, in fullTest()
360 subsamp, &jpegbuf[tile], &jpegsize[tile], jpegqual, flags)==-1) in fullTest()
366 &jpegbuf[tile], &jpegsize[tile], subsamp, jpegqual, flags)==-1) in fullTest()
369 totaljpegsize+=jpegsize[tile]; in fullTest()
488 int ps=tjPixelSize[pf], tile; in decompTest() local
600 for(row=0, tile=0; row<_ntilesh; row++) in decompTest()
602 for(col=0; col<_ntilesw; col++, tile++) in decompTest()
604 t[tile].r.w=min(_tilew, _w-col*_tilew); in decompTest()
605 t[tile].r.h=min(_tileh, _h-row*_tileh); in decompTest()
606 t[tile].r.x=col*_tilew; in decompTest()
607 t[tile].r.y=row*_tileh; in decompTest()
608 t[tile].op=xformop; in decompTest()
609 t[tile].options=xformopt|TJXOPT_TRIM; in decompTest()
610 t[tile].customFilter=customFilter; in decompTest()
611 if(t[tile].options&TJXOPT_NOOUTPUT && jpegbuf[tile]) in decompTest()
613 tjFree(jpegbuf[tile]); jpegbuf[tile]=NULL; in decompTest()
636 for(tile=0, totaljpegsize=0; tile<_ntilesw*_ntilesh; tile++) in decompTest()
637 totaljpegsize+=jpegsize[tile]; in decompTest()