Home
last modified time | relevance | path

Searched refs:jDstPlanes (Results 1 – 1 of 1) sorted by relevance

/external/libjpeg-turbo/
Dturbojpeg-jni.c396 jbyteArray jDstPlanes[3] = { NULL, NULL, NULL }; in TJCompressor_encodeYUV() local
437 BAILIF0(jDstPlanes[i] = (*env)->GetObjectArrayElement(env, dstobjs, i)); in TJCompressor_encodeYUV()
438 if ((*env)->GetArrayLength(env, jDstPlanes[i]) < dstOffsets[i] + planeSize) in TJCompressor_encodeYUV()
442 (*env)->GetPrimitiveArrayCritical(env, jDstPlanes[i], 0)); in TJCompressor_encodeYUV()
455 if (dstPlanes[i] && jDstPlanes[i]) in TJCompressor_encodeYUV()
456 (*env)->ReleasePrimitiveArrayCritical(env, jDstPlanes[i], dstPlanes[i], in TJCompressor_encodeYUV()
753 jbyteArray jDstPlanes[3] = { NULL, NULL, NULL }; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
804 BAILIF0(jDstPlanes[i] = (*env)->GetObjectArrayElement(env, dstobjs, i)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
805 if ((*env)->GetArrayLength(env, jDstPlanes[i]) < dstOffsets[i] + planeSize) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
809 (*env)->GetPrimitiveArrayCritical(env, jDstPlanes[i], 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
[all …]