Lines Matching refs:srcBuf
766 DLLEXPORT int DLLCALL tjCompress2(tjhandle handle, const unsigned char *srcBuf, in tjCompress2() argument
779 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0 in tjCompress2()
798 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjCompress2()
824 row_pointer[i]=(JSAMPROW)&srcBuf[(height-i-1)*(size_t)pitch]; in tjCompress2()
825 else row_pointer[i]=(JSAMPROW)&srcBuf[i*(size_t)pitch]; in tjCompress2()
844 DLLEXPORT int DLLCALL tjCompress(tjhandle handle, unsigned char *srcBuf, in tjCompress() argument
852 retval=tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjCompress()
857 retval=tjCompress2(handle, srcBuf, width, pitch, height, in tjCompress()
867 const unsigned char *srcBuf, int width, int pitch, int height, in tjEncodeYUVPlanes() argument
893 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0 in tjEncodeYUVPlanes()
917 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjEncodeYUVPlanes()
951 row_pointer[i]=(JSAMPROW)&srcBuf[(height-i-1)*(size_t)pitch]; in tjEncodeYUVPlanes()
952 else row_pointer[i]=(JSAMPROW)&srcBuf[i*(size_t)pitch]; in tjEncodeYUVPlanes()
1030 const unsigned char *srcBuf, int width, int pitch, int height, in tjEncodeYUV3() argument
1058 return tjEncodeYUVPlanes(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV3()
1065 DLLEXPORT int DLLCALL tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUV2() argument
1069 return tjEncodeYUV3(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV2()
1073 DLLEXPORT int DLLCALL tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUV() argument
1077 return tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjEncodeYUV()
1215 const unsigned char *srcBuf, int width, int pad, int height, int subsamp, in tjCompressFromYUV() argument
1221 if(srcBuf==NULL || width<=0 || pad<1 || height<=0 || subsamp<0 in tjCompressFromYUV()
1227 srcPlanes[0]=srcBuf; in tjCompressFromYUV()
1705 DLLEXPORT int DLLCALL tjDecodeYUV(tjhandle handle, const unsigned char *srcBuf, in tjDecodeYUV() argument
1712 if(srcBuf==NULL || pad<0 || !isPow2(pad) || subsamp<0 || subsamp>=NUMSUBOPT in tjDecodeYUV()
1718 srcPlanes[0]=srcBuf; in tjDecodeYUV()