Lines Matching refs:srcBuf
574 DLLEXPORT int DLLCALL tjCompress2(tjhandle handle, unsigned char *srcBuf,
587 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0
606 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
631 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch];
632 else row_pointer[i]=&srcBuf[i*pitch];
650 DLLEXPORT int DLLCALL tjCompress(tjhandle handle, unsigned char *srcBuf,
658 retval=tjEncodeYUV2(handle, srcBuf, width, pitch, height,
663 retval=tjCompress2(handle, srcBuf, width, pitch, height,
672 DLLEXPORT int DLLCALL tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf,
699 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0
718 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
752 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch];
753 else row_pointer[i]=&srcBuf[i*pitch];
830 DLLEXPORT int DLLCALL tjEncodeYUV(tjhandle handle, unsigned char *srcBuf,
834 return tjEncodeYUV2(handle, srcBuf, width, pitch, height,