Lines Matching refs:jpegSubsamp
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()
616 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument
620 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
686 int *jpegSubsamp) in tjDecompressHeader2() argument
695 || jpegSubsamp==NULL) in tjDecompressHeader2()
710 *jpegSubsamp=getSubsamp(dinfo); in tjDecompressHeader2()
714 if(*jpegSubsamp<0) in tjDecompressHeader2()
726 int jpegSubsamp; in tjDecompressHeader() local
728 &jpegSubsamp); in tjDecompressHeader()