search for: 0d8a8be

Displaying 2 results from an estimated 2 matches for "0d8a8be".

2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...63,7 @@ swfdec_bits_get_rgba (SwfdecBits * bits) b = swfdec_bits_get_u8 (bits); a = swfdec_bits_get_u8 (bits); - return SWF_COLOR_COMBINE (r, g, b, a); + return SWFDEC_COLOR_COMBINE (r, g, b, a); } SwfdecGradient * diff --git a/libswfdec/swfdec_color.c b/libswfdec/swfdec_color.c index 0d8a8be..7761653 100644 --- a/libswfdec/swfdec_color.c +++ b/libswfdec/swfdec_color.c @@ -40,20 +40,20 @@ swfdec_color_apply_morph (SwfdecColor st return end; start_ratio = 65535 - ratio; end_ratio = ratio; - r = (SWF_COLOR_R (start) * start_ratio + SWF_COLOR_R (end) * end_ratio) / 65535; - g...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...63,7 @@ swfdec_bits_get_rgba (SwfdecBits * bits) b = swfdec_bits_get_u8 (bits); a = swfdec_bits_get_u8 (bits); - return SWF_COLOR_COMBINE (r, g, b, a); + return SWFDEC_COLOR_COMBINE (r, g, b, a); } SwfdecGradient * diff --git a/libswfdec/swfdec_color.c b/libswfdec/swfdec_color.c index 0d8a8be..7761653 100644 --- a/libswfdec/swfdec_color.c +++ b/libswfdec/swfdec_color.c @@ -40,20 +40,20 @@ swfdec_color_apply_morph (SwfdecColor st return end; start_ratio = 65535 - ratio; end_ratio = ratio; - r = (SWF_COLOR_R (start) * start_ratio + SWF_COLOR_R (end) * end_ratio) / 65535; - g...