• Home
  • Raw
  • Download

Lines Matching refs:bitIndex

95     int bitIndex = offset % 8;  in swizzle_bit_to_grayscale()  local
98 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
101 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_grayscale()
102 bitIndex = bitOffset % 8; in swizzle_bit_to_grayscale()
104 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
119 int bitIndex = offset % 8; in swizzle_bit_to_n32() local
122 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
125 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_n32()
126 bitIndex = bitOffset % 8; in swizzle_bit_to_n32()
128 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
142 int bitIndex = offset % 8; in swizzle_bit_to_565() local
145 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK; in swizzle_bit_to_565()
148 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_565()
149 bitIndex = bitOffset % 8; in swizzle_bit_to_565()
151 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK; in swizzle_bit_to_565()
174 int bitIndex = offset % 8; in swizzle_bit_to_f16() local
177 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack; in swizzle_bit_to_f16()
180 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_f16()
181 bitIndex = bitOffset % 8; in swizzle_bit_to_f16()
183 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack; in swizzle_bit_to_f16()
195 int bitIndex = offset % 8; in swizzle_small_index_to_565() local
198 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565()
202 int bitOffset = bitIndex + deltaSrc; in swizzle_small_index_to_565()
203 bitIndex = bitOffset % 8; in swizzle_small_index_to_565()
205 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565()
216 int bitIndex = offset % 8; in swizzle_small_index_to_n32() local
219 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32()
223 int bitOffset = bitIndex + deltaSrc; in swizzle_small_index_to_n32()
224 bitIndex = bitOffset % 8; in swizzle_small_index_to_n32()
226 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32()