Lines Matching refs:jpegQual
175 int pixelFormat, int subsamp, int jpegQual, int flags) in setCompDefaults() argument
243 if(jpegQual>=0) in setCompDefaults()
245 jpeg_set_quality(cinfo, jpegQual, TRUE); in setCompDefaults()
246 if(jpegQual>=96 || flags&TJFLAG_ACCURATEDCT) cinfo->dct_method=JDCT_ISLOW; in setCompDefaults()
768 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument
781 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT || jpegQual<0 || jpegQual>100) in tjCompress2()
815 if(setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual, flags)==-1) in tjCompress2()
846 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument
858 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
1084 int subsamp, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, in tjCompressFromYUVPlanes() argument
1103 || subsamp>=NUMSUBOPT || jpegBuf==NULL || jpegSize==NULL || jpegQual<0 in tjCompressFromYUVPlanes()
1104 || jpegQual>100) in tjCompressFromYUVPlanes()
1128 if(setCompDefaults(cinfo, TJPF_RGB, subsamp, jpegQual, flags)==-1) in tjCompressFromYUVPlanes()
1216 unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, int flags) in tjCompressFromYUV() argument
1244 subsamp, jpegBuf, jpegSize, jpegQual, flags); in tjCompressFromYUV()