Searched refs:byteBits (Results 1 – 1 of 1) sorted by relevance
1989 constexpr int byteBits = 8; in WritePicData() local1990 JSAMPLE *buf8 = (JSAMPLE *)malloc(parm.GetBytesPerLine() * byteBits); in WritePicData()1997 for (int col8 = 0; col8 < byteBits; col8++) { in WritePicData()1998 … buf8[col1 * byteBits + col8] = jpegbuf[col1] & (1 << (byteBits - col8 - bit)) ? 0 : 0xff; in WritePicData()