Home
last modified time | relevance | path

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

/external/skqp/src/codec/
DSkSwizzler.cpp92 uint8_t currByte = *src; in swizzle_bit_to_grayscale() local
94 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
99 currByte = *(src += bitOffset / 8); in swizzle_bit_to_grayscale()
100 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
116 uint8_t currByte = *src; in swizzle_bit_to_n32() local
118 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
123 currByte = *(src += bitOffset / 8); in swizzle_bit_to_n32()
124 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
139 uint8_t currByte = *src; in swizzle_bit_to_565() local
141 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 …]