• Home
  • Raw
  • Download

Lines Matching refs:jpegSubsamp

597 	int jpegSubsamp)  in tjBufSize()  argument
600 if(width<1 || height<1 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT) in tjBufSize()
606 mcuw=tjMCUWidth[jpegSubsamp]; in tjBufSize()
607 mcuh=tjMCUHeight[jpegSubsamp]; in tjBufSize()
608 chromasf=jpegSubsamp==TJSAMP_GRAY? 0: 4*64/(mcuw*mcuh); in tjBufSize()
733 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument
746 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT || jpegQual<0 || jpegQual>100) in tjCompress2()
777 alloc=0; *jpegSize=tjBufSize(width, height, jpegSubsamp); in tjCompress2()
780 if(setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual, flags)==-1) in tjCompress2()
810 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument
815 size=tjBufSizeYUV(width, height, jpegSubsamp); in tjCompress()
817 getPixelFormat(pixelSize, flags), jpegBuf, jpegSubsamp, flags); in tjCompress()
822 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
1255 int *jpegSubsamp, int *jpegColorspace) in tjDecompressHeader3() argument
1264 || jpegSubsamp==NULL || jpegColorspace==NULL) in tjDecompressHeader3()
1278 *jpegSubsamp=getSubsamp(dinfo); in tjDecompressHeader3()
1291 if(*jpegSubsamp<0) in tjDecompressHeader3()
1305 int *jpegSubsamp) in tjDecompressHeader2() argument
1309 jpegSubsamp, &jpegColorspace); in tjDecompressHeader2()
1315 int jpegSubsamp; in tjDecompressHeader() local
1317 &jpegSubsamp); in tjDecompressHeader()
1705 int jpegwidth, jpegheight, jpegSubsamp, scaledw, scaledh; in tjDecompressToYUVPlanes() local
1742 jpegSubsamp=getSubsamp(dinfo); in tjDecompressToYUVPlanes()
1743 if(jpegSubsamp<0) in tjDecompressToYUVPlanes()
1746 if(jpegSubsamp!=TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjDecompressToYUVPlanes()
1824 if(jpegSubsamp==TJ_420) in tjDecompressToYUVPlanes()
1837 compptr->MCU_sample_width=tjMCUWidth[jpegSubsamp]* in tjDecompressToYUVPlanes()
1879 int pw0, ph0, strides[3], retval=-1, jpegSubsamp=-1; in tjDecompressToYUV2() local
1890 jpegSubsamp=getSubsamp(dinfo); in tjDecompressToYUV2()
1891 if(jpegSubsamp<0) in tjDecompressToYUV2()
1908 pw0=tjPlaneWidth(0, width, jpegSubsamp); in tjDecompressToYUV2()
1909 ph0=tjPlaneHeight(0, height, jpegSubsamp); in tjDecompressToYUV2()
1912 if(jpegSubsamp==TJSAMP_GRAY) in tjDecompressToYUV2()
1919 int pw1=tjPlaneWidth(1, width, jpegSubsamp); in tjDecompressToYUV2()
1920 int ph1=tjPlaneHeight(1, height, jpegSubsamp); in tjDecompressToYUV2()
1968 int retval=0, i, jpegSubsamp; in tjTransform() local
2025 jpegSubsamp=getSubsamp(dinfo); in tjTransform()
2026 if(jpegSubsamp<0) in tjTransform()
2063 alloc=0; dstSizes[i]=tjBufSize(w, h, jpegSubsamp); in tjTransform()