1 typedef unsigned char uint8_t; 2 typedef unsigned int uint32_t; 3 static __attribute__ (( always_inline )) __inline__ rop_8_notsrc_or_dst(uint8_t * dst,uint8_t src)4void rop_8_notsrc_or_dst(uint8_t *dst, uint8_t src) 5 { 6 *dst = (~(src)) | (*dst); 7 } cirrus_colorexpand_notsrc_or_dst_8(uint8_t * dst,int bits)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