Lines Matching refs:jpegBuf
732 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, in tjCompress2() argument
745 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL in tjCompress2()
779 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompress2()
809 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, in tjCompress() argument
817 getPixelFormat(pixelSize, flags), jpegBuf, jpegSubsamp, flags); in tjCompress()
822 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
1046 unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, int flags) in tjCompressFromYUVPlanes() argument
1064 || subsamp>=NUMSUBOPT || jpegBuf==NULL || jpegSize==NULL || jpegQual<0 in tjCompressFromYUVPlanes()
1088 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompressFromYUVPlanes()
1176 int width, int pad, int height, int subsamp, unsigned char **jpegBuf, in tjCompressFromYUV() argument
1205 subsamp, jpegBuf, jpegSize, jpegQual, flags); in tjCompressFromYUV()
1254 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, in tjDecompressHeader3() argument
1263 if(jpegBuf==NULL || jpegSize<=0 || width==NULL || height==NULL in tjDecompressHeader3()
1273 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompressHeader3()
1304 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, in tjDecompressHeader2() argument
1308 return tjDecompressHeader3(handle, jpegBuf, jpegSize, width, height, in tjDecompressHeader2()
1313 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height) in tjDecompressHeader() argument
1316 return tjDecompressHeader2(handle, jpegBuf, jpegSize, width, height, in tjDecompressHeader()
1335 DLLEXPORT int DLLCALL tjDecompress2(tjhandle handle, unsigned char *jpegBuf, in tjDecompress2() argument
1350 if(jpegBuf==NULL || jpegSize<=0 || dstBuf==NULL || width<0 || pitch<0 in tjDecompress2()
1365 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompress2()
1437 DLLEXPORT int DLLCALL tjDecompress(tjhandle handle, unsigned char *jpegBuf, in tjDecompress() argument
1442 return tjDecompressToYUV(handle, jpegBuf, jpegSize, dstBuf, flags); in tjDecompress()
1444 return tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, width, pitch, in tjDecompress()
1701 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char **dstPlanes, in tjDecompressToYUVPlanes() argument
1721 if(jpegBuf==NULL || jpegSize<=0 || !dstPlanes || !dstPlanes[0] || width<0 in tjDecompressToYUVPlanes()
1738 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompressToYUVPlanes()
1875 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, in tjDecompressToYUV2() argument
1884 if(jpegBuf==NULL || jpegSize<=0 || dstBuf==NULL || width<0 || pad<1 in tjDecompressToYUV2()
1888 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjDecompressToYUV2()
1927 return tjDecompressToYUVPlanes(handle, jpegBuf, jpegSize, dstPlanes, width, in tjDecompressToYUV2()
1936 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, in tjDecompressToYUV() argument
1939 return tjDecompressToYUV2(handle, jpegBuf, jpegSize, dstBuf, 0, 4, 0, flags); in tjDecompressToYUV()
1962 DLLEXPORT int DLLCALL tjTransform(tjhandle handle, unsigned char *jpegBuf, in tjTransform() argument
1974 if(jpegBuf==NULL || jpegSize<=0 || n<1 || dstBufs==NULL || dstSizes==NULL in tjTransform()
1989 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); in tjTransform()