Home
last modified time | relevance | path

Searched refs:currByte (Results 1 – 3 of 3) sorted by relevance

/external/skqp/src/codec/
DSkSwizzler.cpp96 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()
[all …]
/external/skia/src/codec/
DSkSwizzler.cpp96 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()
[all …]
/external/u-boot/drivers/net/
Dfsl_mcdmafec.c311 u8 currByte; /* byte for which to compute the CRC */ in fec_set_hwaddr() local
317 currByte = mac[byte]; in fec_set_hwaddr()
319 if ((currByte & 0x01) ^ (crc & 0x01)) { in fec_set_hwaddr()
325 currByte >>= 1; in fec_set_hwaddr()