• Home
  • Raw
  • Download

Lines Matching refs:currByte

96     uint8_t currByte = *src;  in swizzle_bit_to_grayscale()  local
98 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
103 currByte = *(src += bitOffset / 8); in swizzle_bit_to_grayscale()
104 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
120 uint8_t currByte = *src; in swizzle_bit_to_n32() local
122 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
127 currByte = *(src += bitOffset / 8); in swizzle_bit_to_n32()
128 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
143 uint8_t currByte = *src; in swizzle_bit_to_565() local
145 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK; in swizzle_bit_to_565()
150 currByte = *(src += bitOffset / 8); in swizzle_bit_to_565()
151 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK; in swizzle_bit_to_565()
175 uint8_t currByte = *src; in swizzle_bit_to_f16() local
177 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack; in swizzle_bit_to_f16()
182 currByte = *(src += bitOffset / 8); in swizzle_bit_to_f16()
183 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? kWhite : kBlack; in swizzle_bit_to_f16()
196 uint8_t currByte = *src; in swizzle_small_index_to_565() local
198 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565()
204 currByte = *(src += bitOffset / 8); in swizzle_small_index_to_565()
205 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565()
217 uint8_t currByte = *src; in swizzle_small_index_to_n32() local
219 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32()
225 currByte = *(src += bitOffset / 8); in swizzle_small_index_to_n32()
226 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32()