Home
last modified time | relevance | path

Searched refs:jpegSubsamp (Results 1 – 2 of 2) sorted by relevance

/external/libvncserver/common/
Dturbojpeg.c499 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()
[all …]
Dturbojpeg.h354 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags);
378 int jpegSubsamp);
408 int *jpegSubsamp);
511 unsigned long *compressedSize, int jpegSubsamp, int jpegQual, int flags);