• Home
  • Raw
  • Download

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()
791 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()
910 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjEncodeYUVPlanes()
950 row_pointer[i]=(JSAMPROW)&srcBuf[(height-i-1)*(size_t)pitch]; in tjEncodeYUVPlanes()
951 else row_pointer[i]=(JSAMPROW)&srcBuf[i*(size_t)pitch]; in tjEncodeYUVPlanes()
1035 const unsigned char *srcBuf, int width, int pitch, int height, in tjEncodeYUV3() argument
1063 return tjEncodeYUVPlanes(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV3()
1070 DLLEXPORT int DLLCALL tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUV2() argument
1074 return tjEncodeYUV3(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV2()
1078 DLLEXPORT int DLLCALL tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUV() argument
1082 return tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjEncodeYUV()
1225 const unsigned char *srcBuf, int width, int pad, int height, int subsamp, in tjCompressFromYUV() argument
1231 if(srcBuf==NULL || width<=0 || pad<1 || height<=0 || subsamp<0 in tjCompressFromYUV()
1237 srcPlanes[0]=srcBuf; in tjCompressFromYUV()
1724 DLLEXPORT int DLLCALL tjDecodeYUV(tjhandle handle, const unsigned char *srcBuf, in tjDecodeYUV() argument
1731 if(srcBuf==NULL || pad<0 || !isPow2(pad) || subsamp<0 || subsamp>=NUMSUBOPT in tjDecodeYUV()
1737 srcPlanes[0]=srcBuf; in tjDecodeYUV()