Lines Matching refs:jpegsize
79 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, in decomptest() argument
115 if(tjDecompress2(handle, jpegbuf[0], jpegsize[0], dstbuf, scaledw, in decomptest()
129 if(tjDecompress2(handle, jpegbuf[tile], jpegsize[tile], dstptr2, width, in decomptest()
216 unsigned long *jpegsize=NULL; in dotest() local
236 if((jpegsize=(unsigned long *)malloc(sizeof(unsigned long) in dotest()
239 memset(jpegsize, 0, sizeof(unsigned long)*ntilesw*ntilesh); in dotest()
259 &jpegsize[0], subsamp, jpegqual, flags)==-1) in dotest()
275 &jpegbuf[tile], &jpegsize[tile], subsamp, jpegqual, flags)==-1) in dotest()
277 totaljpegsize+=jpegsize[tile]; in dotest()
313 if(fwrite(jpegbuf[0], jpegsize[0], 1, file)!=1) in dotest()
320 if(decomptest(srcbuf, jpegbuf, jpegsize, tmpbuf, w, h, subsamp, jpegqual, in dotest()
329 free(jpegsize); jpegsize=NULL; in dotest()
344 if(jpegsize) {free(jpegsize); jpegsize=NULL;} in dotest()
355 unsigned long *jpegsize=NULL, srcsize; in dodecomptest() local
402 if((jpegsize=(unsigned long *)malloc(sizeof(unsigned long) in dodecomptest()
405 memset(jpegsize, 0, sizeof(unsigned long)*ntilesw*ntilesh); in dodecomptest()
432 jpegsize[0]=srcsize; in dodecomptest()
437 if(decomptest(NULL, jpegbuf, jpegsize, NULL, _w, _h, _subsamp, 0, in dodecomptest()
447 if(jpegsize) {free(jpegsize); jpegsize=NULL;} in dodecomptest()
462 if(jpegsize) {free(jpegsize); jpegsize=NULL;} in dodecomptest()