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