Home | History | Annotate | Download | only in libjpeg_turbo

Lines Matching refs:pixelsize

88 static const int pixelsize[TJ_NUMSAMP]={3, 3, 3, 1, 3};
124 static int getPixelFormat(int pixelSize, int flags)
126 if(pixelSize==1) return TJPF_GRAY;
127 if(pixelSize==3)
132 if(pixelSize==4)
274 if(dinfo->num_components==pixelsize[i])
651 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf,
659 getPixelFormat(pixelSize, flags), jpegBuf, jpegSubsamp, flags);
664 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual,
831 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf,
835 getPixelFormat(pixelSize, flags), dstBuf, subsamp, flags);
1042 int height, int pixelSize, int flags)
1048 height, getPixelFormat(pixelSize, flags), flags);