6 swf_rgb_parse(bitstream_t *bs, swf_rgb_t *color) {
8 color->red = bitstream_getbyte(bs);
9 color->green = bitstream_getbyte(bs);
10 ret = bitstream_getbyte(bs);
19 swf_rgb_build(bitstream_t *bs, swf_rgb_t *color) {
20 bitstream_putbyte(bs, color->red);
21 bitstream_putbyte(bs, color->green);
22 bitstream_putbyte(bs, color->blue);
27 swf_rgb_print(swf_rgb_t *color, int indent_depth) {
28 print_indent(indent_depth);
29 printf("RGB=#%02x%02x%02x\n",
30 color->red, color->green, color->blue);