Lines Matching refs:jDstPlanes
396 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()
822 if (dstPlanes[i] && jDstPlanes[i]) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
823 (*env)->ReleasePrimitiveArrayCritical(env, jDstPlanes[i], dstPlanes[i], in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()