Home | History | Annotate | Download | only in codec

Lines Matching defs: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) ? SK_ColorWHITE : SK_ColorBLACK;
121 int bitOffset = bitIndex + deltaSrc;
122 bitIndex = bitOffset % 8;
124 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK;
136 // increment src by byte offset and bitIndex by bit offset
138 int bitIndex = offset % 8;
141 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK;
144 int bitOffset = bitIndex + deltaSrc;
145 bitIndex = bitOffset % 8;
147 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK;
168 // increment src by byte offset and bitIndex by bit offset
170 int bitIndex = offset % 8;
173 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack;
176 int bitOffset = bitIndex + deltaSrc;
177 bitIndex = bitOffset % 8;
179 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack;
191 int bitIndex = offset % 8;
194 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask;
198 int bitOffset = bitIndex + deltaSrc;
199 bitIndex = bitOffset % 8;
201 index = (currByte >> (8 - bpp - bitIndex)) & mask;
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;