Searched refs:jSrcPlanes (Results 1 – 1 of 1) sorted by relevance
/external/libjpeg-turbo/ |
D | turbojpeg-jni.c | 320 jbyteArray jSrcPlanes[3] = { NULL, NULL, NULL }; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local 360 BAILIF0(jSrcPlanes[i] = (*env)->GetObjectArrayElement(env, srcobjs, i)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 361 if ((*env)->GetArrayLength(env, jSrcPlanes[i]) < srcOffsets[i] + planeSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 365 (*env)->GetPrimitiveArrayCritical(env, jSrcPlanes[i], 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 378 if (srcPlanes[i] && jSrcPlanes[i]) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 379 (*env)->ReleasePrimitiveArrayCritical(env, jSrcPlanes[i], in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 874 jbyteArray jSrcPlanes[3] = { NULL, NULL, NULL }; in TJDecompressor_decodeYUV() local 915 BAILIF0(jSrcPlanes[i] = (*env)->GetObjectArrayElement(env, srcobjs, i)); in TJDecompressor_decodeYUV() 916 if ((*env)->GetArrayLength(env, jSrcPlanes[i]) < srcOffsets[i] + planeSize) in TJDecompressor_decodeYUV() 920 (*env)->GetPrimitiveArrayCritical(env, jSrcPlanes[i], 0)); in TJDecompressor_decodeYUV() [all …]
|