search for: swfdecout

Displaying 8 results from an estimated 8 matches for "swfdecout".

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
...est/swfedit_tag.c @@ -30,12 +30,13 @@ #include <libswfdec/swfdec_tag.h> #include "swfedit_tag.h" #include "swfdec_out.h" +#include "swfedit_file.h" #include "swfedit_list.h" /*** LOAD/SAVE ***/ static void -swfedit_object_write (gpointer data, SwfdecOut *out, gconstpointer hint) +swfedit_object_write (SwfeditToken *token, gpointer data, SwfdecOut *out, gconstpointer hint) { SwfdecBuffer *buffer; @@ -46,19 +47,19 @@ swfedit_object_write (gpointer data, Swf } static gpointer -swfedit_object_read (SwfdecBits *bits, gconstpointer hint) +swfe...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...ic - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <string.h> - -#include "swfdec_out.h" - -SwfdecOut * -swfdec_out_open (void) -{ - SwfdecOut *out = g_new0 (SwfdecOut, 1); - - out->data = g_malloc (SWFDEC_OUT_INITIAL); - out->ptr = out->data; - out->end = out->data + SWFDEC_OUT_INITIAL; - - return out; -} - -static void -swfdec_out_syncbits (SwfdecOut *out) -{ - g_return_if_fa...
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
...enjamin Otte <otte@gnome.org> Date: Wed Jan 24 18:44:35 2007 +0100 add support for colors and the SetBackground tag diff --git a/test/swfdec_out.c b/test/swfdec_out.c index b795b28..bf7aa9e 100644 --- a/test/swfdec_out.c +++ b/test/swfdec_out.c @@ -213,6 +213,7 @@ swfdec_out_put_rect (SwfdecOut *out, Swf guint req, tmp; g_return_if_fail (out != NULL); + g_return_if_fail (rect != NULL); x0 = rect->x0; y0 = rect->y0; @@ -233,3 +234,25 @@ swfdec_out_put_rect (SwfdecOut *out, Swf swfdec_out_put_sbits (out, y1, req); swfdec_out_syncbits (out); } + +void +swfdec_ou...
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...ic + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <string.h> + +#include "swfdec_out.h" + +SwfdecOut * +swfdec_out_open (void) +{ + SwfdecOut *out = g_new0 (SwfdecOut, 1); + + out->data = g_malloc (SWFDEC_OUT_INITIAL); + out->ptr = out->data; + out->end = out->data + SWFDEC_OUT_INITIAL; + + return out; +} + +static void +swfdec_out_syncbits (SwfdecOut *out) +{ + g_return_if_fa...
2007 Feb 14
0
7 commits - libswfdec/swfdec_image.c libswfdec/swfdec_script.c libswfdec/swfdec_script.h test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_list.c test/swfedit_tag.c test/swfedit_token.c test/swfedit_token.h test/swfscript.c
...edef struct { + guint offset; /* offset in bytes from start of script */ + guint new_offset; /* new offset in bytes from start of script */ + guint new_actions; /* number of actions in new script */ +} Action; + +typedef struct { + SwfdecScript * script; /* the original script */ + SwfdecOut * out; /* output for new script or NULL when buffer is set */ + SwfdecBuffer * buffer; /* buffer containing new script or NULL while constructing */ + GArray * actions; /* all actions in the script */ +} State; + +static gboolean +action_in_array (guint *array, guint action) +{ + if (arra...
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
...e along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <string.h> + +#include "swfdec_out.h" + +SwfdecOut * +swfdec_out_open (void) +{ + SwfdecOut *out = g_new0 (SwfdecOut, 1); + + out->data = g_malloc (SWFDEC_OUT_INITIAL); + out->ptr = out->data; + out->end = out->data + SWFDEC_OUT_INITIAL; + + return out; +} + +static void +swfdec_out_syncbits (SwfdecOut *out) +{ +...
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
...e along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <string.h> + +#include "swfdec_out.h" + +SwfdecOut * +swfdec_out_open (void) +{ + SwfdecOut *out = g_new0 (SwfdecOut, 1); + + out->data = g_malloc (SWFDEC_OUT_INITIAL); + out->ptr = out->data; + out->end = out->data + SWFDEC_OUT_INITIAL; + + return out; +} + +static void +swfdec_out_syncbits (SwfdecOut *out) +{ +...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
.../* update length */ j = list->def[i % list->n_defs].n_items; if (j != 0) { - SwfeditTokenEntry *entry = &g_array_index (token->tokens, + entry = &g_array_index (token->tokens, SwfeditTokenEntry, j - 1); if (entry->type == SWFEDIT_TOKEN_UINT32) { SwfdecOut *out = swfdec_out_open (); diff-tree 6ae045ecd4718c78b02f2e0bf569c832ca52992b (from a6d787347be55099a17168e430b9154e9149b213) Author: Benjamin Otte <otte at gnome.org> Date: Tue Jul 17 01:09:25 2007 +0100 disable -Wstrict-prototypes because gtk is broken diff --git a/configure.ac b/co...