Lines Matching refs:bitIndex
67 // increment src by byte offset and bitIndex by bit offset
69 int bitIndex = offset % 8;
72 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK;
75 int bitOffset = bitIndex + deltaSrc;
76 bitIndex = bitOffset % 8;
78 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK;
91 // increment src by byte offset and bitIndex by bit offset
93 int bitIndex = offset % 8;
96 dst[0] = ((currByte >> (7-bitIndex)) & 1);
99 int bitOffset = bitIndex + deltaSrc;
100 bitIndex = bitOffset % 8;
102 dst[x] = ((currByte >> (7-bitIndex)) & 1);
112 // increment src by byte offset and bitIndex by bit offset
114 int bitIndex = offset % 8;
117 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK;
120 int bitOffset = bitIndex + deltaSrc;
121 bitIndex = bitOffset % 8;
123 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK;
135 // increment src by byte offset and bitIndex by bit offset
137 int bitIndex = offset % 8;
140 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK;
143 int bitOffset = bitIndex + deltaSrc;
144 bitIndex = bitOffset % 8;
146 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK;
161 int bitIndex = offset % 8;
164 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask;
168 int bitOffset = bitIndex + deltaSrc;
169 bitIndex = bitOffset % 8;
171 index = (currByte >> (8 - bpp - bitIndex)) & mask;
182 int bitIndex = offset % 8;
185 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask;
189 int bitOffset = bitIndex + deltaSrc;
190 bitIndex = bitOffset % 8;
192 index = (currByte >> (8 - bpp - bitIndex)) & mask;
203 int bitIndex = offset % 8;
206 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask;
210 int bitOffset = bitIndex + deltaSrc;
211 bitIndex = bitOffset % 8;
213 index = (currByte >> (8 - bpp - bitIndex)) & mask;