/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 178 if (jpegSubsamp < 0) in getSubsamp() 180 if (jpegSubsamp >= TJ.NUMSAMP) in getSubsamp() 182 return jpegSubsamp; in getSubsamp() 489 if (jpegSubsamp != dstImage.getSubsamp()) in decompressToYUV() 504 jpegSubsamp); in decompressToYUV() 551 if (jpegWidth < 1 || jpegHeight < 1 || jpegSubsamp < 0) in decompressToYUV() 553 if (jpegSubsamp >= TJ.NUMSAMP) in decompressToYUV() 561 jpegSubsamp); in decompressToYUV() 604 if (jpegWidth < 1 || jpegHeight < 1 || jpegSubsamp < 0) in decompressToYUV() 606 if (jpegSubsamp >= TJ.NUMSAMP) in decompressToYUV() [all …]
|
D | TJCompressor.java | 598 int height, int pixelFormat, byte[] jpegBuf, int jpegSubsamp, int jpegQual, in compress() argument 603 int pitch, int height, int pixelFormat, byte[] jpegBuf, int jpegSubsamp, in compress() argument 609 int height, int pixelFormat, byte[] jpegBuf, int jpegSubsamp, int jpegQual, in compress() argument 614 int stride, int height, int pixelFormat, byte[] jpegBuf, int jpegSubsamp, in compress() argument
|
D | TJTransformer.java | 131 dstBufs[i] = new byte[TJ.bufSize(w, h, jpegSubsamp)]; in transform()
|
D | TJ.java | 475 public static native int bufSize(int width, int height, int jpegSubsamp); in bufSize() argument
|
/external/libjpeg-turbo/ |
D | turbojpeg.c | 490 DLLEXPORT unsigned long tjBufSize(int width, int height, int jpegSubsamp) in tjBufSize() argument 495 if (width < 1 || height < 1 || jpegSubsamp < 0 || jpegSubsamp >= NUMSUBOPT) in tjBufSize() 501 mcuw = tjMCUWidth[jpegSubsamp]; in tjBufSize() 502 mcuh = tjMCUHeight[jpegSubsamp]; in tjBufSize() 503 chromasf = jpegSubsamp == TJSAMP_GRAY ? 0 : 4 * 64 / (mcuw * mcuh); in tjBufSize() 628 int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument 640 jpegSize == NULL || jpegSubsamp < 0 || jpegSubsamp >= NUMSUBOPT || in tjCompress2() 664 alloc = 0; *jpegSize = tjBufSize(width, height, jpegSubsamp); in tjCompress2() 667 if (setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual, flags) == -1) in tjCompress2() 693 int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument [all …]
|
D | turbojpeg.h | 746 int jpegSubsamp, int jpegQual, int flags); 913 DLLEXPORT unsigned long tjBufSize(int width, int height, int jpegSubsamp); 1149 int *height, int *jpegSubsamp, 1699 DLLEXPORT unsigned long TJBUFSIZEYUV(int width, int height, int jpegSubsamp); 1706 int jpegSubsamp, int jpegQual, int flags); 1722 int *height, int *jpegSubsamp);
|
D | turbojpeg-jni.c | 124 (JNIEnv *env, jclass cls, jint width, jint height, jint jpegSubsamp) in Java_org_libjpegturbo_turbojpeg_TJ_bufSize() argument 126 jint retval = (jint)tjBufSize(width, height, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJ_bufSize() 215 jint jpegSubsamp, jint jpegQual, jint flags) in TJCompressor_compress() argument 234 jpegSize = tjBufSize(width, height, jpegSubsamp); in TJCompressor_compress() 244 width, pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, in TJCompressor_compress() 257 jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII() argument 261 pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII() 267 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII() argument 271 pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII() 277 jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() argument [all …]
|