Lines Matching refs:jpegBuf
668 unsigned char **jpegBuf, unsigned long *jpegSize, in tjCompress2() argument
680 pixelFormat < 0 || pixelFormat >= TJ_NUMPF || jpegBuf == NULL || in tjCompress2()
707 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompress2()
735 unsigned char *jpegBuf, unsigned long *jpegSize, in tjCompress() argument
744 getPixelFormat(pixelSize, flags), jpegBuf, in tjCompress()
748 getPixelFormat(pixelSize, flags), &jpegBuf, &size, in tjCompress()
975 unsigned char **jpegBuf, in tjCompressFromYUVPlanes() argument
996 subsamp < 0 || subsamp >= NUMSUBOPT || jpegBuf == NULL || in tjCompressFromYUVPlanes()
1019 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompressFromYUVPlanes()
1110 unsigned char **jpegBuf, in tjCompressFromYUV() argument
1142 subsamp, jpegBuf, jpegSize, jpegQual, flags); in tjCompressFromYUV()
1195 const unsigned char *jpegBuf, in tjDecompressHeader3() argument
1206 if (jpegBuf == NULL || jpegSize <= 0 || width == NULL || height == NULL || in tjDecompressHeader3()
1215 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompressHeader3()
1244 DLLEXPORT int tjDecompressHeader2(tjhandle handle, unsigned char *jpegBuf, in tjDecompressHeader2() argument
1250 return tjDecompressHeader3(handle, jpegBuf, jpegSize, width, height, in tjDecompressHeader2()
1254 DLLEXPORT int tjDecompressHeader(tjhandle handle, unsigned char *jpegBuf, in tjDecompressHeader() argument
1260 return tjDecompressHeader2(handle, jpegBuf, jpegSize, width, height, in tjDecompressHeader()
1278 DLLEXPORT int tjDecompress2(tjhandle handle, const unsigned char *jpegBuf, in tjDecompress2() argument
1292 if (jpegBuf == NULL || jpegSize <= 0 || dstBuf == NULL || width < 0 || in tjDecompress2()
1315 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompress2()
1365 DLLEXPORT int tjDecompress(tjhandle handle, unsigned char *jpegBuf, in tjDecompress() argument
1371 return tjDecompressToYUV(handle, jpegBuf, jpegSize, dstBuf, flags); in tjDecompress()
1373 return tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, width, pitch, in tjDecompress()
1616 const unsigned char *jpegBuf, in tjDecompressToYUVPlanes() argument
1640 if (jpegBuf == NULL || jpegSize <= 0 || !dstPlanes || !dstPlanes[0] || in tjDecompressToYUVPlanes()
1664 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompressToYUVPlanes()
1795 DLLEXPORT int tjDecompressToYUV2(tjhandle handle, const unsigned char *jpegBuf, in tjDecompressToYUV2() argument
1806 if (jpegBuf == NULL || jpegSize <= 0 || dstBuf == NULL || width < 0 || in tjDecompressToYUV2()
1815 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompressToYUV2()
1851 return tjDecompressToYUVPlanes(handle, jpegBuf, jpegSize, dstPlanes, width, in tjDecompressToYUV2()
1859 DLLEXPORT int tjDecompressToYUV(tjhandle handle, unsigned char *jpegBuf, in tjDecompressToYUV() argument
1863 return tjDecompressToYUV2(handle, jpegBuf, jpegSize, dstBuf, 0, 4, 0, flags); in tjDecompressToYUV()
1888 DLLEXPORT int tjTransform(tjhandle handle, const unsigned char *jpegBuf, in tjTransform() argument
1903 if (jpegBuf == NULL || jpegSize <= 0 || n < 1 || dstBufs == NULL || in tjTransform()
1931 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjTransform()