Lines Matching refs:jpegSubsamp
499 int jpegSubsamp) in tjBufSize() argument
502 if(width<1 || height<1 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT) in tjBufSize()
508 mcuw=tjMCUWidth[jpegSubsamp]; in tjBufSize()
509 mcuh=tjMCUHeight[jpegSubsamp]; in tjBufSize()
510 chromasf=jpegSubsamp==TJSAMP_GRAY? 0: 4*64/(mcuw*mcuh); in tjBufSize()
536 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument
549 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT || jpegQual<0 || jpegQual>100) in tjCompress2()
578 if(setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual)==-1) in tjCompress2()
582 this->jdst.free_in_buffer=tjBufSize(width, height, jpegSubsamp); in tjCompress2()
598 *jpegSize=tjBufSize(width, height, jpegSubsamp) in tjCompress2()
612 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument
616 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
682 int *jpegSubsamp) in tjDecompressHeader2() argument
691 || jpegSubsamp==NULL) in tjDecompressHeader2()
706 *jpegSubsamp=getSubsamp(dinfo); in tjDecompressHeader2()
710 if(*jpegSubsamp<0) in tjDecompressHeader2()
722 int jpegSubsamp; in tjDecompressHeader() local
724 &jpegSubsamp); in tjDecompressHeader()