Lines Matching defs:dstBuf
500 unsigned char *srcBuf = NULL, *dstBuf = NULL;
518 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0));
520 if (tjEncodeYUV2(handle, srcBuf, width, pitch, height, pf, dstBuf, subsamp,
525 if (dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0);
665 unsigned char *jpegBuf = NULL, *dstBuf = NULL;
682 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0));
685 &dstBuf[y * actualPitch + x * tjPixelSize[pf]], width,
690 if (dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0);
838 unsigned char *jpegBuf = NULL, *dstBuf = NULL;
856 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0));
858 if (tjDecompressToYUV(handle, jpegBuf, (unsigned long)jpegSize, dstBuf,
863 if (dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0);
876 unsigned char *dstBuf = NULL;
923 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0));
926 &dstBuf[y * actualPitch + x * tjPixelSize[pf]], width,
931 if (dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0);