Lines Matching full:bitoffset
92 GLint elementsLeft, bitOffset, currentByte, nextByte, highBitMask;
111 bitOffset = (skipPixels * components) & 7;
112 highBitMask = LowBitsMask[8 - bitOffset];
113 lowBitMask = HighBitsMask[bitOffset];
126 if (bitOffset) {
128 if (elementsLeft > (8 - bitOffset)) {
136 ((currentByte & highBitMask) << bitOffset) |
137 ((nextByte & lowBitMask) >> (8 - bitOffset));
140 currentByte = ((currentByte & highBitMask) << bitOffset);
283 GLint elementsLeft, bitOffset, currentByte, highBitMask, lowBitMask;
310 bitOffset = (skipPixels * components) & 7;
311 highBitMask = LowBitsMask[8 - bitOffset];
312 lowBitMask = HighBitsMask[bitOffset];
321 if (elementsLeft + bitOffset < 8) {
323 writeMask &= HighBitsMask[bitOffset + elementsLeft];
333 if (bitOffset) {
334 writeByte |= (sourceImage[0] >> bitOffset);
337 writeByte = (sourceImage[0] << (8 - bitOffset));