Home
last modified time | relevance | path

Searched refs:jpegQual (Results 1 – 10 of 10) sorted by relevance

/external/libvncserver/common/
Dturbojpeg.c141 int pixelFormat, int subsamp, int jpegQual) in setCompDefaults() argument
184 if(jpegQual>=0) in setCompDefaults()
186 jpeg_set_quality(cinfo, jpegQual, TRUE); in setCompDefaults()
187 if(jpegQual>=96) cinfo->dct_method=JDCT_ISLOW; in setCompDefaults()
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()
616 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument
620 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
Dturbojpeg.h354 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags);
511 unsigned long *compressedSize, int jpegSubsamp, int jpegQual, int flags);
/external/libjpeg-turbo/
Dturbojpeg.h677 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags);
741 unsigned long *jpegSize, int jpegQual, int flags);
811 unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, int flags);
1508 unsigned long *compressedSize, int jpegSubsamp, int jpegQual, int flags);
Dturbojpeg.c174 int pixelFormat, int subsamp, int jpegQual, int flags) in setCompDefaults() argument
242 if(jpegQual>=0) in setCompDefaults()
244 jpeg_set_quality(cinfo, jpegQual, TRUE); in setCompDefaults()
245 if(jpegQual>=96 || flags&TJFLAG_ACCURATEDCT) cinfo->dct_method=JDCT_ISLOW; in setCompDefaults()
733 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument
746 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT || jpegQual<0 || jpegQual>100) 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
822 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
1046 unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, int flags) in tjCompressFromYUVPlanes() argument
[all …]
Dtjunittest.c397 int subsamp, int jpegQual, int flags) in compTest() argument
431 jpegQual); in compTest()
433 dstSize, jpegQual, flags)); in compTest()
438 jpegQual); in compTest()
440 jpegQual, flags)); in compTest()
444 subName[subsamp], jpegQual); in compTest()
Dturbojpeg-jni.c186 jint jpegSubsamp, jint jpegQual, jint flags) in TJCompressor_compress() argument
215 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual, in TJCompressor_compress()
229 jint jpegQual, jint flags) 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()
249 jint jpegQual, jint flags) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() argument
257 stride*sizeof(jint), height, pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII()
266 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII() argument
275 stride*sizeof(jint), height, pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII()
[all …]
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java590 int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, in compress() argument
595 int jpegQual, int flags) throws Exception; in compress() argument
598 int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, in compress() argument
603 int jpegQual, int flags) throws Exception; in compress() argument
607 int jpegQual, int flags) in compressFromYUV() argument
/external/libjpeg-turbo/java/
DTJBench.java134 byte[] dstBuf, int w, int h, int subsamp, int jpegQual, in decomp() argument
145 if (jpegQual > 0) in decomp()
146 qualStr = new String("_Q" + jpegQual); in decomp()
272 static void fullTest(byte[] srcBuf, int w, int h, int subsamp, int jpegQual, in fullTest() argument
290 subNameLong[subsamp], jpegQual); in fullTest()
310 subNameLong[subsamp], jpegQual); in fullTest()
313 tjc.setJPEGQuality(jpegQual); in fullTest()
399 jpegQual + ".jpg"; in fullTest()
409 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, in fullTest()
DTJUnitTest.java638 int jpegQual, int flags) throws Exception { in compTest() argument
662 subName[subsamp] + "_Q" + jpegQual + ".png"; in compTest()
674 tjc.setJPEGQuality(jpegQual); in compTest()
688 buStrLong, jpegQual); in compTest()
692 subNameLong[subsamp], jpegQual); in compTest()
698 subName[subsamp] + "_Q" + jpegQual + ".jpg"; in compTest()
/external/libvncserver/test/
Dtjunittest.c240 int subsamp, int jpegQual, int flags) in compTest() argument
247 jpegQual); in compTest()
257 jpegQual, flags)); in compTest()
262 jpegQual); in compTest()