Lines Matching refs:dstOffsets
398 int *dstOffsets = NULL, *dstStrides = NULL; in TJCompressor_encodeYUV() local
423 BAILIF0(dstOffsets = (*env)->GetPrimitiveArrayCritical(env, jDstOffsets, 0)); in TJCompressor_encodeYUV()
432 if (dstOffsets[i] < 0) in TJCompressor_encodeYUV()
434 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in TJCompressor_encodeYUV()
438 if ((*env)->GetArrayLength(env, jDstPlanes[i]) < dstOffsets[i] + planeSize) in TJCompressor_encodeYUV()
443 dstPlanes[i] = &dstPlanes[i][dstOffsets[i]]; in TJCompressor_encodeYUV()
461 if (dstOffsets) in TJCompressor_encodeYUV()
462 (*env)->ReleasePrimitiveArrayCritical(env, jDstOffsets, dstOffsets, 0); in TJCompressor_encodeYUV()
755 int *dstOffsets = NULL, *dstStrides = NULL; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
789 BAILIF0(dstOffsets = (*env)->GetPrimitiveArrayCritical(env, jDstOffsets, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
799 if (dstOffsets[i] < 0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
801 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) 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()
810 dstPlanes[i] = &dstPlanes[i][dstOffsets[i]]; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
828 if (dstOffsets) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
829 (*env)->ReleasePrimitiveArrayCritical(env, jDstOffsets, dstOffsets, 0); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()