Lines Matching defs:mask
125 static void copy_color_mask(uint8_t *dst, int width, uint8_t mask, uint8_t color)
130 if (mask & (1 << 7 - i))
132 if (mask & (1 << 3 - i))
137 static void copy_src_mask(uint8_t *dst, int width, uint8_t mask, const uint8_t *src)
142 if (mask & (1 << 7 - i))
144 if (mask & (1 << 3 - i))
165 uint8_t *dst, *dend, mask = 0, color = 0;
251 mask = bytestream2_get_byte(&c->gb);
252 copy_color_mask(dst + offset, c->width, mask, color);
261 mask = bytestream2_get_byte(&c->gb);
262 copy_src_mask(dst + offset, c->width, mask, src + offset);