Home
last modified time | relevance | path

Searched refs:srcPlanes (Results 1 – 5 of 5) sorted by relevance

/external/libjpeg-turbo/
Dturbojpeg.c1045 unsigned char **srcPlanes, int width, int *strides, int height, int subsamp, in tjCompressFromYUVPlanes() argument
1063 if(!srcPlanes || !srcPlanes[0] || width<=0 || height<=0 || subsamp<0 in tjCompressFromYUVPlanes()
1067 if(subsamp!=TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjCompressFromYUVPlanes()
1109 ptr=srcPlanes[i]; in tjCompressFromYUVPlanes()
1179 unsigned char *srcPlanes[3]; in tjCompressFromYUV() local
1188 srcPlanes[0]=srcBuf; in tjCompressFromYUV()
1193 srcPlanes[1]=srcPlanes[2]=NULL; in tjCompressFromYUV()
1200 srcPlanes[1]=srcPlanes[0]+strides[0]*ph0; in tjCompressFromYUV()
1201 srcPlanes[2]=srcPlanes[1]+strides[1]*ph1; in tjCompressFromYUV()
1204 return tjCompressFromYUVPlanes(handle, srcPlanes, width, strides, height, in tjCompressFromYUV()
[all …]
Dturbojpeg-jni.c290 unsigned char *srcPlanes[3], *jpegBuf=NULL; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
331 bailif0(srcPlanes[i]=(*env)->GetPrimitiveArrayCritical(env, jSrcPlanes[i], in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
333 srcPlanes[i]=&srcPlanes[i][srcOffsets[i]]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
339 if(tjCompressFromYUVPlanes(handle, srcPlanes, width, srcStrides, height, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
347 if(srcPlanes[i] && jSrcPlanes[i]) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
348 (*env)->ReleasePrimitiveArrayCritical(env, jSrcPlanes[i], srcPlanes[i], in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
846 unsigned char *srcPlanes[3], *dstBuf=NULL; in TJDecompressor_decodeYUV() local
890 bailif0(srcPlanes[i]=(*env)->GetPrimitiveArrayCritical(env, jSrcPlanes[i], in TJDecompressor_decodeYUV()
892 srcPlanes[i]=&srcPlanes[i][srcOffsets[i]]; in TJDecompressor_decodeYUV()
896 if(tjDecodeYUVPlanes(handle, srcPlanes, srcStrides, subsamp, in TJDecompressor_decodeYUV()
[all …]
Dturbojpeg.h810 unsigned char **srcPlanes, int width, int *strides, int height, int subsamp,
1352 unsigned char **srcPlanes, int *strides, int subsamp, unsigned char *dstBuf,
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java880 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument
884 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument
DTJCompressor.java605 private native int compressFromYUV(byte[][] srcPlanes, int[] srcOffsets, in compressFromYUV() argument