1typedef unsigned char uint8_t; 2typedef unsigned int uint32_t; 3static __attribute__ (( always_inline )) __inline__ 4void rop_8_notsrc_or_dst(uint8_t *dst, uint8_t src) 5{ 6 *dst = (~(src)) | (*dst); 7} 8void cirrus_colorexpand_notsrc_or_dst_8 (uint8_t * dst, int bits) 9{ 10 uint8_t src; 11 uint32_t colors[2]; 12 src = colors[bits]; 13 rop_8_notsrc_or_dst(dst, src); 14} 15