2 +----------------------------------------------------------------------+
3 | Author: yoya@awm.jp |
4 +----------------------------------------------------------------------+
7 #ifndef __SWF_CXFORMWITHALPHA_H__
8 #define __SWF_CXFORMWITHALPHA_H__
10 typedef struct swf_cxformwithalpha_ {
11 unsigned char has_add_terms;
12 unsigned char has_mult_terms;
15 unsigned int red_mult_term;
16 unsigned int green_mult_term;
17 unsigned int blue_mult_term;
18 unsigned int alpha_mult_term;
20 unsigned int red_add_term;
21 unsigned int green_add_term;
22 unsigned int blue_add_term;
23 unsigned int alpha_add_term;
24 } swf_cxformwithalpha_t;
27 extern int swf_cxformwithalpha_parse(bitstream_t *bs, swf_cxformwithalpha_t *color);
28 extern int swf_cxformwithalpha_build(bitstream_t *bs, swf_cxformwithalpha_t *color);
29 extern int swf_cxformwithalpha_print(swf_cxformwithalpha_t *color, int indent_depth);
31 #endif /* __SWF_CXFORMWITHALPHA_H__ */