Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dturbojpeg-jni.c323 int *srcOffsets = NULL, *srcStrides = NULL; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
347 BAILIF0(srcStrides = (*env)->GetPrimitiveArrayCritical(env, jSrcStrides, 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
349 int planeSize = tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp); 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()
370 if (tjCompressFromYUVPlanes(handle, srcPlanes, width, srcStrides, height, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
382 if (srcStrides) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
383 (*env)->ReleasePrimitiveArrayCritical(env, jSrcStrides, srcStrides, 0); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
877 int *srcOffsets = NULL, *srcStrides = NULL; in TJDecompressor_decodeYUV() local
902 BAILIF0(srcStrides = (*env)->GetPrimitiveArrayCritical(env, jSrcStrides, 0)); in TJDecompressor_decodeYUV()
904 int planeSize = tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp); in TJDecompressor_decodeYUV()
[all …]
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java911 int[] srcStrides, int subsamp, byte[] dstBuf, int x, int y, int width, in decodeYUV() argument
915 int[] srcStrides, int subsamp, int[] dstBuf, int x, int y, int width, in decodeYUV() argument
DTJCompressor.java619 int width, int[] srcStrides, int height, int subsamp, byte[] jpegBuf, in compressFromYUV() argument