Lines Matching defs:jpegSubsamp
499 int jpegSubsamp)
502 if(width<1 || height<1 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT)
510 mcuw=tjMCUWidth[jpegSubsamp];
511 mcuh=tjMCUHeight[jpegSubsamp];
512 chromasf=jpegSubsamp==TJSAMP_GRAY? 0: 4*64/(mcuw*mcuh);
540 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags)
553 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT || jpegQual<0 || jpegQual>100)
582 if(setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual)==-1)
586 this->jdst.free_in_buffer=tjBufSize(width, height, jpegSubsamp);
602 *jpegSize=tjBufSize(width, height, jpegSubsamp)
616 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags)
620 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual,
686 int *jpegSubsamp)
695 || jpegSubsamp==NULL)
710 *jpegSubsamp=getSubsamp(dinfo);
714 if(*jpegSubsamp<0)
726 int jpegSubsamp;
728 &jpegSubsamp);