• Home
  • Raw
  • Download

Lines Matching refs:srcBuf

731 DLLEXPORT int DLLCALL tjCompress2(tjhandle handle, unsigned char *srcBuf,  in tjCompress2()  argument
744 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0 in tjCompress2()
763 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjCompress2()
788 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch]; in tjCompress2()
789 else row_pointer[i]=&srcBuf[i*pitch]; in tjCompress2()
808 DLLEXPORT int DLLCALL tjCompress(tjhandle handle, unsigned char *srcBuf, in tjCompress() argument
816 retval=tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjCompress()
821 retval=tjCompress2(handle, srcBuf, width, pitch, height, in tjCompress()
830 DLLEXPORT int DLLCALL tjEncodeYUVPlanes(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUVPlanes() argument
856 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0 in tjEncodeYUVPlanes()
880 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjEncodeYUVPlanes()
913 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch]; in tjEncodeYUVPlanes()
914 else row_pointer[i]=&srcBuf[i*pitch]; in tjEncodeYUVPlanes()
991 DLLEXPORT int DLLCALL tjEncodeYUV3(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUV3() argument
1020 return tjEncodeYUVPlanes(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV3()
1027 DLLEXPORT int DLLCALL tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUV2() argument
1031 return tjEncodeYUV3(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV2()
1035 DLLEXPORT int DLLCALL tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, in tjEncodeYUV() argument
1039 return tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjEncodeYUV()
1175 DLLEXPORT int DLLCALL tjCompressFromYUV(tjhandle handle, unsigned char *srcBuf, in tjCompressFromYUV() argument
1182 if(srcBuf==NULL || width<=0 || pad<1 || height<=0 || subsamp<0 in tjCompressFromYUV()
1188 srcPlanes[0]=srcBuf; in tjCompressFromYUV()
1664 DLLEXPORT int DLLCALL tjDecodeYUV(tjhandle handle, unsigned char *srcBuf, in tjDecodeYUV() argument
1671 if(srcBuf==NULL || pad<0 || !isPow2(pad) || subsamp<0 || subsamp>=NUMSUBOPT in tjDecodeYUV()
1677 srcPlanes[0]=srcBuf; in tjDecodeYUV()