Home
last modified time | relevance | path

Searched refs:jpegSubsamp (Results 1 – 9 of 9) sorted by relevance

/external/libvncserver/common/
Dturbojpeg.c499 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 …]
Dturbojpeg.h354 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/
DTJDecompressor.java173 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 …]
DTJCompressor.java590 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
DTJTransformer.java130 dstBufs[i] = new byte[TJ.bufSize(w, h, jpegSubsamp)]; in transform()
DTJ.java410 public static native int bufSize(int width, int height, int jpegSubsamp) in bufSize() argument
/external/libjpeg-turbo/
Dturbojpeg.c597 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 …]
Dturbojpeg.h677 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);
Dturbojpeg-jni.c101 (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 …]