Lines Matching refs:srcOffsets

323   int *srcOffsets = NULL, *srcStrides = NULL;  in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()  local
346 bailif0(srcOffsets = (*env)->GetPrimitiveArrayCritical(env, jSrcOffsets, 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
355 if (srcOffsets[i] < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
357 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) 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()
366 srcPlanes[i] = &srcPlanes[i][srcOffsets[i]]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
384 if (srcOffsets) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
385 (*env)->ReleasePrimitiveArrayCritical(env, jSrcOffsets, srcOffsets, 0); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
877 int *srcOffsets = NULL, *srcStrides = NULL; in TJDecompressor_decodeYUV() local
901 bailif0(srcOffsets = (*env)->GetPrimitiveArrayCritical(env, jSrcOffsets, 0)); in TJDecompressor_decodeYUV()
910 if (srcOffsets[i] < 0) in TJDecompressor_decodeYUV()
912 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) in TJDecompressor_decodeYUV()
916 if ((*env)->GetArrayLength(env, jSrcPlanes[i]) < srcOffsets[i] + planeSize) in TJDecompressor_decodeYUV()
921 srcPlanes[i] = &srcPlanes[i][srcOffsets[i]]; in TJDecompressor_decodeYUV()
939 if (srcOffsets) in TJDecompressor_decodeYUV()
940 (*env)->ReleasePrimitiveArrayCritical(env, jSrcOffsets, srcOffsets, 0); in TJDecompressor_decodeYUV()