Lines Matching refs:jpegSize
140 unsigned long *jpegSize, unsigned char *dstBuf, int w, int h, in decomp() argument
204 if (tjDecompressToYUV2(handle, jpegBuf[tile], jpegSize[tile], yuvBuf, in decomp()
212 } else if (tjDecompress2(handle, jpegBuf[tile], jpegSize[tile], in decomp()
323 unsigned long *jpegSize = NULL, yuvSize = 0; in fullTest() local
350 if ((jpegSize = (unsigned long *)malloc(sizeof(unsigned long) * in fullTest()
353 memset(jpegSize, 0, sizeof(unsigned long) * ntilesw * ntilesh); in fullTest()
406 subsamp, &jpegBuf[tile], &jpegSize[tile], in fullTest()
411 &jpegBuf[tile], &jpegSize[tile], subsamp, jpegQual, in fullTest()
415 totalJpegSize += jpegSize[tile]; in fullTest()
477 if (fwrite(jpegBuf[0], jpegSize[0], 1, file) != 1) in fullTest()
485 if (decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, in fullTest()
495 free(jpegSize); jpegSize = NULL; in fullTest()
513 if (jpegSize) { free(jpegSize); jpegSize = NULL; } in fullTest()
525 unsigned long *jpegSize = NULL, srcSize, totalJpegSize; in decompTest() local
588 if ((jpegSize = (unsigned long *)malloc(sizeof(unsigned long) * in decompTest()
591 memset(jpegSize, 0, sizeof(unsigned long) * ntilesw * ntilesh); in decompTest()
665 jpegSize, t, flags) == -1) in decompTest()
680 totalJpegSize += jpegSize[tile]; in decompTest()
712 decompsrc ? &srcSize : jpegSize, NULL, tw, th, tsubsamp, 0, in decompTest()
722 if (jpegSize) { free(jpegSize); jpegSize = NULL; } in decompTest()
736 if (jpegSize) { free(jpegSize); jpegSize = NULL; } in decompTest()