Home | History | Annotate | Download | only in codec

Lines Matching full:bitindex

89     // increment src by byte offset and bitIndex by bit offset
91 int bitIndex = offset % 8;
94 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK;
97 int bitOffset = bitIndex + deltaSrc;
98 bitIndex = bitOffset % 8;
100 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK;
113 // increment src by byte offset and bitIndex by bit offset
115 int bitIndex = offset % 8;
118 dst[0] = ((currByte >> (7-bitIndex)) & 1);
121 int bitOffset = bitIndex + deltaSrc;
122 bitIndex = bitOffset % 8;
124 dst[x] = ((currByte >> (7-bitIndex)) & 1);
134 // increment src by byte offset and bitIndex by bit offset
136 int bitIndex = offset % 8;
139 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK;
142 int bitOffset = bitIndex + deltaSrc;
143 bitIndex = bitOffset % 8;
145 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK;
157 // increment src by byte offset and bitIndex by bit offset
159 int bitIndex = offset % 8;
162 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK;
165 int bitOffset = bitIndex + deltaSrc;
166 bitIndex = bitOffset % 8;
168 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK;
189 // increment src by byte offset and bitIndex by bit offset
191 int bitIndex = offset % 8;
194 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack;
197 int bitOffset = bitIndex + deltaSrc;
198 bitIndex = bitOffset % 8;
200 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack;
212 int bitIndex = offset % 8;
215 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask;
219 int bitOffset = bitIndex + deltaSrc;
220 bitIndex = bitOffset % 8;
222 index = (currByte >> (8 - bpp - bitIndex)) & mask;
233 int bitIndex = offset % 8;
236 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask;
240 int bitOffset = bitIndex + deltaSrc;
241 bitIndex = bitOffset % 8;
243 index = (currByte >> (8 - bpp - bitIndex)) & mask;
254 int bitIndex = offset % 8;
257 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask;
261 int bitOffset = bitIndex + deltaSrc;
262 bitIndex = bitOffset % 8;
264 index = (currByte >> (8 - bpp - bitIndex)) & mask;