• Home
  • Raw
  • Download

Lines Matching refs:srcBuf

666 DLLEXPORT int tjCompress2(tjhandle handle, const unsigned char *srcBuf,  in tjCompress2()  argument
679 if (srcBuf == NULL || width <= 0 || pitch < 0 || height <= 0 || in tjCompress2()
713 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * (size_t)pitch]; in tjCompress2()
715 row_pointer[i] = (JSAMPROW)&srcBuf[i * (size_t)pitch]; in tjCompress2()
733 DLLEXPORT int tjCompress(tjhandle handle, unsigned char *srcBuf, int width, in tjCompress() argument
743 retval = tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjCompress()
747 retval = tjCompress2(handle, srcBuf, width, pitch, height, in tjCompress()
756 DLLEXPORT int tjEncodeYUVPlanes(tjhandle handle, const unsigned char *srcBuf, in tjEncodeYUVPlanes() argument
780 if (srcBuf == NULL || width <= 0 || pitch < 0 || height <= 0 || in tjEncodeYUVPlanes()
827 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * (size_t)pitch]; in tjEncodeYUVPlanes()
829 row_pointer[i] = (JSAMPROW)&srcBuf[i * (size_t)pitch]; in tjEncodeYUVPlanes()
914 DLLEXPORT int tjEncodeYUV3(tjhandle handle, const unsigned char *srcBuf, in tjEncodeYUV3() argument
946 return tjEncodeYUVPlanes(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV3()
953 DLLEXPORT int tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, int width, in tjEncodeYUV2() argument
957 return tjEncodeYUV3(handle, srcBuf, width, pitch, height, pixelFormat, in tjEncodeYUV2()
961 DLLEXPORT int tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, int width, in tjEncodeYUV() argument
965 return tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjEncodeYUV()
1108 DLLEXPORT int tjCompressFromYUV(tjhandle handle, const unsigned char *srcBuf, in tjCompressFromYUV() argument
1121 if (srcBuf == NULL || width <= 0 || pad < 1 || height <= 0 || subsamp < 0 || in tjCompressFromYUV()
1127 srcPlanes[0] = srcBuf; in tjCompressFromYUV()
1576 DLLEXPORT int tjDecodeYUV(tjhandle handle, const unsigned char *srcBuf, in tjDecodeYUV() argument
1588 if (srcBuf == NULL || pad < 0 || !IS_POW2(pad) || subsamp < 0 || in tjDecodeYUV()
1594 srcPlanes[0] = srcBuf; in tjDecodeYUV()