Lines Matching refs:mbit
194 int mbit = 64; in DecodeMatrix() local
219 introducer = (m[line] & mbit) ? 0 : 1; /* current bit of the matrix */ in DecodeMatrix()
221 if (mbit > 2) { /* was it the last bit in this line ? */ in DecodeMatrix()
222 mbit >>= 1; /* no -> take next */ in DecodeMatrix()
225 mbit = 64; in DecodeMatrix()
229 if (m[line] & mbit) /* was that bit set in the matrix ? */ in DecodeMatrix()
329 int mbit = 128; in EncodeMatrix() local
338 mbit = 128; /* go on with the 7th bit */ in EncodeMatrix()
342 mbit = 128; /* go on with the 7th bit */ in EncodeMatrix()
350 switch (mbit) { /* leftmost or rightmost bit ? */ in EncodeMatrix()
360 mbit = 64; /* current bit in the matrix line */ in EncodeMatrix()
365 m[line] |= ibit[introducer] ? mbit : 0; /* set corresponding bit */ in EncodeMatrix()
366 mbit >>= 1; /* bit of matrix line >> 1 */ in EncodeMatrix()
369 m[line] |= (buf[i] & dbit) ? mbit : 0; /* set data bit in matrix */ in EncodeMatrix()
376 m[line] |= (mbit - 1) & 0xfe; /* set remaining bits in line to 1 */ in EncodeMatrix()
381 mbit >>= 1; /* go to next bit of matrix */ in EncodeMatrix()