Lines Matching refs:jpegBuf
225 unsigned char *srcBuf = NULL, *jpegBuf = NULL; in TJCompressor_compress() local
246 BAILIF0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in TJCompressor_compress()
249 width, pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, in TJCompressor_compress()
251 SAFE_RELEASE(dst, jpegBuf); in TJCompressor_compress()
257 SAFE_RELEASE(dst, jpegBuf); in TJCompressor_compress()
333 unsigned char *jpegBuf = NULL; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
388 BAILIF0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
391 subsamp, &jpegBuf, &jpegSize, jpegQual, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
393 SAFE_RELEASE(dst, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
398 SAFE_RELEASE(dst, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
648 unsigned char *jpegBuf = NULL; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader() local
656 BAILIF0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
658 if (tjDecompressHeader3(handle, jpegBuf, (unsigned long)jpegSize, &width, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
660 SAFE_RELEASE(src, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
664 SAFE_RELEASE(src, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
678 SAFE_RELEASE(src, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
688 unsigned char *jpegBuf = NULL, *dstBuf = NULL; in TJDecompressor_decompress() local
704 BAILIF0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJDecompressor_decompress()
707 if (tjDecompress2(handle, jpegBuf, (unsigned long)jpegSize, in TJDecompressor_decompress()
711 SAFE_RELEASE(src, jpegBuf); in TJDecompressor_decompress()
717 SAFE_RELEASE(src, jpegBuf); in TJDecompressor_decompress()
779 unsigned char *jpegBuf = NULL; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
851 BAILIF0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
853 if (tjDecompressToYUVPlanes(handle, jpegBuf, (unsigned long)jpegSize, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
856 SAFE_RELEASE(src, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
861 SAFE_RELEASE(src, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
870 unsigned char *jpegBuf = NULL, *dstBuf = NULL; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI() local
887 BAILIF0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
890 if (tjDecompressToYUV(handle, jpegBuf, (unsigned long)jpegSize, dstBuf, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
893 SAFE_RELEASE(src, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
899 SAFE_RELEASE(src, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
1103 unsigned char *jpegBuf = NULL, **dstBufs = NULL; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() local
1186 BAILIF0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, jsrcBuf, 0)); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1191 if (tjTransform(handle, jpegBuf, jpegSize, n, dstBufs, dstSizes, t, in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1195 SAFE_RELEASE(jsrcBuf, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1201 SAFE_RELEASE(jsrcBuf, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1216 SAFE_RELEASE(jsrcBuf, jpegBuf); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()