Displaying 3 results from an estimated 3 matches for "d1f916c".
Did you mean:
41f91bc
2007 Jan 24
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_script.c test/swfdec_out.c test/swfdec_out.h test/swfedit_tag.c test/swfedit_token.c test/swfedit_token.h
..._return_if_fail (out != NULL);
+
+ swfdec_out_put_u8 (out, SWF_COLOR_R (color));
+ swfdec_out_put_u8 (out, SWF_COLOR_G (color));
+ swfdec_out_put_u8 (out, SWF_COLOR_B (color));
+ swfdec_out_put_u8 (out, SWF_COLOR_A (color));
+}
+
diff --git a/test/swfdec_out.h b/test/swfdec_out.h
index b6d155f..d1f916c 100644
--- a/test/swfdec_out.h
+++ b/test/swfdec_out.h
@@ -21,6 +21,7 @@
#define __SWFDEC_OUT_H__
#include <libswfdec/swfdec_buffer.h>
+#include <libswfdec/swfdec_color.h>
#include <libswfdec/swfdec_rect.h>
G_BEGIN_DECLS
@@ -64,6 +65,10 @@ void swfdec_out_put_u16 (Swfdec...
2007 Feb 13
0
9 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c
...fdec_out_put_sbits (out, trans->bb, n_bits);
+ swfdec_out_put_sbits (out, trans->ab, n_bits);
+ }
+ swfdec_out_syncbits (out);
+}
+
+void
swfdec_out_put_rgb (SwfdecOut *out, SwfdecColor color)
{
g_return_if_fail (out != NULL);
diff --git a/test/swfdec_out.h b/test/swfdec_out.h
index d1f916c..3a22f36 100644
--- a/test/swfdec_out.h
+++ b/test/swfdec_out.h
@@ -40,37 +40,44 @@ struct _SwfdecOut {
#define SWFDEC_OUT_STEP (32)
SwfdecOut * swfdec_out_open (void);
-SwfdecBuffer * swfdec_out_close (SwfdecOut * out);
+SwfdecBuffer * swfdec_out_close (SwfdecOut * out);
-unsigned int s...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
..._return_if_fail (out != NULL);
+
+ swfdec_out_put_u8 (out, SWF_COLOR_R (color));
+ swfdec_out_put_u8 (out, SWF_COLOR_G (color));
+ swfdec_out_put_u8 (out, SWF_COLOR_B (color));
+ swfdec_out_put_u8 (out, SWF_COLOR_A (color));
+}
+
diff --git a/test/swfdec_out.h b/test/swfdec_out.h
index b6d155f..d1f916c 100644
--- a/test/swfdec_out.h
+++ b/test/swfdec_out.h
@@ -21,6 +21,7 @@
#define __SWFDEC_OUT_H__
#include <libswfdec/swfdec_buffer.h>
+#include <libswfdec/swfdec_color.h>
#include <libswfdec/swfdec_rect.h>
G_BEGIN_DECLS
@@ -64,6 +65,10 @@ void swfdec_out_put_u16 (Swfdec...