Lines Matching refs:pixelsPerByte
187 uint8 pixelsPerByte = 8 / bitsperpixel;
188 if (!(width % pixelsPerByte))
189 padding = (width / pixelsPerByte) % 4;
191 padding = ((width + pixelsPerByte -
192 (width % pixelsPerByte)) /
193 pixelsPerByte) % 4;
230 uint8 pixelsPerByte = 8 / bitsperpixel;
231 rowbytes = (width / pixelsPerByte) +
232 ((width % pixelsPerByte) ? 1 : 0) + padding;
876 uint8 pixelsPerByte = 8 / msheader.bitsperpixel;
909 bmpRowData[bmppixcol / pixelsPerByte] |=
910 index << (7 - (bmppixcol % pixelsPerByte));
1328 uint16 pixelsPerByte = 8 / msheader.bitsperpixel;
1369 uint8 indices = (bmpRowData + (i / pixelsPerByte))[0];
1372 (bitsPerPixel * ((pixelsPerByte - 1) -
1373 (i % pixelsPerByte)))) & mask;
1457 uint16 pixelsPerByte = 8 / msheader.bitsperpixel;
1506 index = (indices >> (bitsPerPixel * ((pixelsPerByte - 1) -
1507 (i % pixelsPerByte)))) & mask;
1619 if (!(code % pixelsPerByte))
1620 padding = (code / pixelsPerByte) % 2;
1622 padding = ((code + pixelsPerByte -
1623 (code % pixelsPerByte)) / pixelsPerByte) % 2;
1624 int32 uncompBytes = (code / pixelsPerByte) +
1625 ((code % pixelsPerByte) ? 1 : 0) + padding;
1632 indices = (uncomp + (i / pixelsPerByte))[0];
1634 (bitsPerPixel * ((pixelsPerByte - 1) -
1635 (i % pixelsPerByte)))) & mask;