Lines Matching refs:jpegSize
223 unsigned long jpegSize = 0; in TJCompressor_compress() local
239 jpegSize = tjBufSize(width, height, jpegSubsamp); in TJCompressor_compress()
240 if ((*env)->GetArrayLength(env, dst) < (jsize)jpegSize) in TJCompressor_compress()
249 width, pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, in TJCompressor_compress()
259 return (jint)jpegSize; in TJCompressor_compress()
327 unsigned long jpegSize = 0; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
350 jpegSize = tjBufSize(width, height, subsamp); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
351 if ((*env)->GetArrayLength(env, dst) < (jsize)jpegSize) 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()
399 return (jint)jpegSize; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
645 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader() argument
653 if ((*env)->GetArrayLength(env, src) < jpegSize) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
658 if (tjDecompressHeader3(handle, jpegBuf, (unsigned long)jpegSize, &width, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
682 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jarray dst, in TJDecompressor_decompress() argument
697 if ((*env)->GetArrayLength(env, src) < jpegSize) in TJDecompressor_decompress()
707 if (tjDecompress2(handle, jpegBuf, (unsigned long)jpegSize, in TJDecompressor_decompress()
722 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jbyteArray dst, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIIIII() argument
725 TJDecompressor_decompress(env, obj, src, jpegSize, dst, 1, x, y, width, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIIIII()
731 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jbyteArray dst, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIII() argument
734 TJDecompressor_decompress(env, obj, src, jpegSize, dst, 1, 0, 0, width, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIII()
740 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jintArray dst, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII() argument
748 TJDecompressor_decompress(env, obj, src, jpegSize, dst, sizeof(jint), x, y, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII()
757 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jintArray dst, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII() argument
765 TJDecompressor_decompress(env, obj, src, jpegSize, dst, sizeof(jint), 0, 0, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII()
774 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument
791 if ((*env)->GetArrayLength(env, src) < jpegSize) 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()
866 (JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jbyteArray dst, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI() argument
875 if ((*env)->GetArrayLength(env, src) < jpegSize) 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()
1099 (JNIEnv *env, jobject obj, jbyteArray jsrcBuf, jint jpegSize, in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() argument
1115 if ((*env)->GetArrayLength(env, jsrcBuf) < jpegSize) in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1191 if (tjTransform(handle, jpegBuf, jpegSize, n, dstBufs, dstSizes, t, in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()