/external/libvncserver/common/ |
D | turbojpeg.c | 499 int jpegSubsamp) in tjBufSize() argument 502 if(width<1 || height<1 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT) in tjBufSize() 510 mcuw=tjMCUWidth[jpegSubsamp]; in tjBufSize() 511 mcuh=tjMCUHeight[jpegSubsamp]; in tjBufSize() 512 chromasf=jpegSubsamp==TJSAMP_GRAY? 0: 4*64/(mcuw*mcuh); in tjBufSize() 540 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument 553 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT || jpegQual<0 || jpegQual>100) in tjCompress2() 582 if(setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual)==-1) in tjCompress2() 586 this->jdst.free_in_buffer=tjBufSize(width, height, jpegSubsamp); in tjCompress2() 602 *jpegSize=tjBufSize(width, height, jpegSubsamp) in tjCompress2() [all …]
|
D | turbojpeg.h | 354 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags); 378 int jpegSubsamp); 408 int *jpegSubsamp); 511 unsigned long *compressedSize, int jpegSubsamp, int jpegQual, int flags);
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 173 if (jpegSubsamp < 0) in getSubsamp() 175 if (jpegSubsamp >= TJ.NUMSAMP) in getSubsamp() 177 return jpegSubsamp; in getSubsamp() 476 if (jpegSubsamp != dstImage.getSubsamp()) in decompressToYUV() 490 jpegSubsamp); in decompressToYUV() 537 if (jpegWidth < 1 || jpegHeight < 1 || jpegSubsamp < 0) in decompressToYUV() 539 if (jpegSubsamp >= TJ.NUMSAMP) in decompressToYUV() 547 jpegSubsamp); in decompressToYUV() 590 if (jpegWidth < 1 || jpegHeight < 1 || jpegSubsamp < 0) in decompressToYUV() 592 if (jpegSubsamp >= TJ.NUMSAMP) in decompressToYUV() [all …]
|
D | TJCompressor.java | 590 int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, in compress() argument 594 int pitch, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, in compress() argument 598 int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, in compress() argument 602 int stride, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, in compress() argument
|
D | TJTransformer.java | 130 dstBufs[i] = new byte[TJ.bufSize(w, h, jpegSubsamp)]; in transform()
|
D | TJ.java | 410 public static native int bufSize(int width, int height, int jpegSubsamp) in bufSize() argument
|
/external/libjpeg-turbo/ |
D | turbojpeg.c | 597 int jpegSubsamp) in tjBufSize() argument 600 if(width<1 || height<1 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT) in tjBufSize() 606 mcuw=tjMCUWidth[jpegSubsamp]; in tjBufSize() 607 mcuh=tjMCUHeight[jpegSubsamp]; in tjBufSize() 608 chromasf=jpegSubsamp==TJSAMP_GRAY? 0: 4*64/(mcuw*mcuh); in tjBufSize() 733 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument 746 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT || jpegQual<0 || jpegQual>100) in tjCompress2() 777 alloc=0; *jpegSize=tjBufSize(width, height, jpegSubsamp); in tjCompress2() 780 if(setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual, flags)==-1) in tjCompress2() 810 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument [all …]
|
D | turbojpeg.h | 677 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags); 837 int jpegSubsamp); 1068 int *jpegSubsamp, int *jpegColorspace); 1501 int jpegSubsamp); 1508 unsigned long *compressedSize, int jpegSubsamp, int jpegQual, int flags); 1523 int *jpegSubsamp);
|
D | turbojpeg-jni.c | 101 (JNIEnv *env, jclass cls, jint width, jint height, jint jpegSubsamp) in Java_org_libjpegturbo_turbojpeg_TJ_bufSize() argument 103 jint retval=(jint)tjBufSize(width, height, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJ_bufSize() 186 jint jpegSubsamp, jint jpegQual, jint flags) in TJCompressor_compress() argument 205 jpegSize=tjBufSize(width, height, jpegSubsamp); in TJCompressor_compress() 215 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual, in TJCompressor_compress() 228 jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII() argument 232 pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII() 238 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII() argument 242 pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII() 248 jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() argument [all …]
|