Lines Matching refs:jpegSize
143 unsigned long *jpegSize, unsigned char *dstBuf, int w, int h, in decomp() argument
208 if (tjDecompressToYUV2(handle, jpegBuf[tile], jpegSize[tile], yuvBuf, in decomp()
216 } else if (tjDecompress2(handle, jpegBuf[tile], jpegSize[tile], in decomp()
329 unsigned long *jpegSize = NULL, yuvSize = 0; in fullTest() local
356 if ((jpegSize = (unsigned long *)malloc(sizeof(unsigned long) * in fullTest()
359 memset(jpegSize, 0, sizeof(unsigned long) * ntilesw * ntilesh); in fullTest()
412 subsamp, &jpegBuf[tile], &jpegSize[tile], in fullTest()
417 &jpegBuf[tile], &jpegSize[tile], subsamp, jpegQual, in fullTest()
421 totalJpegSize += jpegSize[tile]; in fullTest()
489 if (fwrite(jpegBuf[0], jpegSize[0], 1, file) != 1) in fullTest()
497 if (decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, in fullTest()
507 free(jpegSize); jpegSize = NULL; in fullTest()
523 free(jpegSize); in fullTest()
535 unsigned long *jpegSize = NULL, srcSize, totalJpegSize; in decompTest() local
600 if ((jpegSize = (unsigned long *)malloc(sizeof(unsigned long) * in decompTest()
603 memset(jpegSize, 0, sizeof(unsigned long) * ntilesw * ntilesh); in decompTest()
678 jpegSize, t, flags) == -1) in decompTest()
693 totalJpegSize += jpegSize[tile]; in decompTest()
727 decompsrc ? &srcSize : jpegSize, NULL, tw, th, tsubsamp, 0, in decompTest()
737 free(jpegSize); jpegSize = NULL; in decompTest()
749 free(jpegSize); in decompTest()