Displaying 20 results from an estimated 34 matches for "swfdec_color".
2010 Jan 17
1
screenshot of swf file
Hi,
Im trying to thumbnail a swf file based on this found at
http://www.mail-archive.com/swfdec at lists.freedesktop.org/msg00821.html.
#include <stdlib.h>
#include <stdio.h>
#include <swfdec/swfdec.h>
#include <cairo.h>
void swfdec_player_save (SwfdecPlayer *player, guint width, guint
height, const char *filename) {
cairo_surface_t *surface;
cairo_t *cr;
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
configure.ac | 1
libswfdec/swfdec_audio_event.c | 1
libswfdec/swfdec_bits.c | 4
libswfdec/swfdec_button_movie.c | 3
libswfdec/swfdec_color.c | 67 +++++-
libswfdec/swfdec_color.h | 31 ++-
libswfdec/swfdec_compiler.c | 5
libswfdec/swfdec_edittext.c | 2
libswfdec/swfdec_image.c | 232 ++++++++++++-----------
libswfdec/...
2007 Jul 11
0
Branch 'as' - 4 commits - libswfdec/swfdec_color.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c test/trace
libswfdec/swfdec_color.c | 1 +
libswfdec/swfdec_movie.c | 6 ++++--
libswfdec/swfdec_movie_asprops.c | 4 ++++
test/trace/Makefile.am | 9 +++++++++
test/trace/rotation2-5.swf |binary
test/trace/rotation2-5.swf.trace | 13 +++++++++++++
test/trace/rotation2-6.swf |bin...
2007 Feb 06
0
Branch 'interpreter' - 15 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_image.c libswfdec/swfdec_sprite_movie.c
configure.ac | 1
libswfdec/swfdec_audio_event.c | 1
libswfdec/swfdec_button_movie.c | 3
libswfdec/swfdec_color.c | 26 ++
libswfdec/swfdec_color.h | 2
libswfdec/swfdec_compiler.c | 5
libswfdec/swfdec_image.c | 26 --
libswfdec/swfdec_sprite_movie.c | 3
test/Makefile.am...
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
libswfdec/swfdec_bits.c | 4
libswfdec/swfdec_color.c | 41 +++---
libswfdec/swfdec_color.h | 29 +++-
libswfdec/swfdec_edittext.c | 2
libswfdec/swfdec_image.c | 269 +++++++++++++++++++++++---------------------
libswfdec/swfdec_image.h | 9 -
libswfdec/swfdec_pattern.c | 29 +---
libswfdec/swfdec_sprite.c | 7 -
tes...
2007 Feb 17
0
2 commits - doc/swfdec-sections.txt libswfdec/swfdec_color.h libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
doc/swfdec-sections.txt | 2 +
libswfdec/swfdec_color.h | 4 --
libswfdec/swfdec_player.c | 65 ++++++++++++++++++++++++++++++-------
libswfdec/swfdec_player.h | 7 +++
libswfdec/swfdec_player_internal.h | 4 +-
libswfdec/swfdec_sprite.c | 24 +++++++++----
libswfdec/swfdec_sprite.h | 1
l...
2007 Apr 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_font.c libswfdec/swfdec_loadertarget.c libswfdec/swfdec_movie.h libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_player.c
libswfdec/Makefile.am | 2
libswfdec/swfdec_color.c | 23 +++
libswfdec/swfdec_color.h | 3
libswfdec/swfdec_font.c | 5
libswfdec/swfdec_loadertarget.c | 2
libswfdec/swfdec_movie.h | 5
libswfdec/swfdec_pattern.c | 229 ++++---------------------------------
libswfdec/swfdec_p...
2007 Mar 22
0
11 commits - libswfdec/swfdec_color.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_net_stream.h libswfdec/swfdec_pattern.c libswfdec/swfdec_script.c NEWS test/trace
NEWS | 13 +
libswfdec/swfdec_color.c | 2
libswfdec/swfdec_flv_decoder.c | 8 -
libswfdec/swfdec_js_net_stream.c | 16 ++
libswfdec/swfdec_movie.c | 2
libswfdec/swfdec_net_stream.c | 47 ++++++
libswfdec/swfdec_net_st...
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
...bswfdec/swfdec_cache.c | 6 +--
libswfdec/swfdec_cache.h | 14 ++++----
libswfdec/swfdec_codec.h | 4 +-
libswfdec/swfdec_codec_ffmpeg.c | 2 -
libswfdec/swfdec_codec_mad.c | 2 -
libswfdec/swfdec_codec_screen.c | 2 -
libswfdec/swfdec_color.c | 6 +--
libswfdec/swfdec_color.h | 4 +-
libswfdec/swfdec_debug.c | 6 +--
libswfdec/swfdec_debug.h | 4 +-
libswfdec/swfdec_edittext.c | 4 +-
libswfdec/swfdec_edittext.h | 10 ++---
libswfdec/swfdec_event.c...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...Set clip depth correctly
when checking available bits fails, consume all bits
Clean up parsing of actions in PlaceObject2
Finish compiling at end of bitstream, too, not just with 0 action
Merge branch 'master' into interpreter
missing \n
s/SWF_COLOR/SWFDEC_COLOR/
update SwfdecColor format from RGBA to ARGB
rework images to be correctly color transformed
add swfdec_color_transform_is_identity
rename swfdec_image_get_surface* to swfdec_image_create_surface*
add debugging message when parsing color transforms
export images,...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...20 ++--
libswfdec/swfdec_cache.c | 6 -
libswfdec/swfdec_cache.h | 14 +--
libswfdec/swfdec_codec.h | 4
libswfdec/swfdec_codec_ffmpeg.c | 2
libswfdec/swfdec_codec_mad.c | 2
libswfdec/swfdec_codec_screen.c | 2
libswfdec/swfdec_color.c | 6 -
libswfdec/swfdec_color.h | 4
libswfdec/swfdec_debug.c | 6 -
libswfdec/swfdec_debug.h | 4
libswfdec/swfdec_edittext.c | 4
libswfdec/swfdec_edittext.h | 10 +-
libswfdec/swfdec_event.c | 1...
2007 Nov 20
0
19 commits - libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_image.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
README | 8
libswfdec/swfdec_audio_event.c | 2
libswfdec/swfdec_bits.c | 1
libswfdec/swfdec_color.c | 27
libswfdec/swfdec_color.h | 3
libswfdec/swfdec_flv_decoder.c | 22
libswfdec/swfdec_image.c | 6
libswfdec/swfdec_initialize.as | 3
libswfdec/swfdec_initialize.h | 3013 +++++++++++++++---------...
2007 Mar 16
0
5 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c
...e.am
@@ -56,36 +56,45 @@ IGNORE_HFILES= \
jpeg \
swfdec_audio_internal.h \
swfdec_audio_event.h \
+ swfdec_audio_flv.h \
swfdec_audio_stream.h \
swfdec_bits.h \
swfdec_button.h \
swfdec_button_movie.h \
swfdec_cache.h \
+ swfdec_cached.h \
swfdec_character.h \
swfdec_codec.h \
swfdec_color.h \
- swfdec_compiler.h \
+ swfdec_connection.h \
swfdec_debug.h \
swfdec_debugger.h \
swfdec_decoder.h \
swfdec_edittext.h \
swfdec_edittext_movie.h \
swfdec_event.h \
+ swfdec_flv_decoder.h \
swfdec_font.h \
swfdec_graphic.h \
swfdec_graphic_movie.h \
swfdec_image.h \
swfdec...
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
...);
+ 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 (SwfdecOut * o
void swfdec_out_put_u32 (SwfdecOut * out,
guint i);
+void swfdec_out_put_rgb (SwfdecOut * out,
+ SwfdecColor color);
+void swfdec_out_put_rgba (Swfdec...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...Set clip depth correctly
when checking available bits fails, consume all bits
Clean up parsing of actions in PlaceObject2
Finish compiling at end of bitstream, too, not just with 0 action
Merge branch 'master' into interpreter
missing \n
s/SWF_COLOR/SWFDEC_COLOR/
update SwfdecColor format from RGBA to ARGB
rework images to be correctly color transformed
add swfdec_color_transform_is_identity
rename swfdec_image_get_surface* to swfdec_image_create_surface*
add debugging message when parsing color transforms
export images,...
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
....c | 10
libswfdec/js/jsobj.c | 2
libswfdec/swfdec_bits.c | 61
libswfdec/swfdec_bits.h | 13
libswfdec/swfdec_buffer.c | 7
libswfdec/swfdec_button_movie.c | 3
libswfdec/swfdec_codec_screen.c | 2
libswfdec/swfdec_color.c | 4
libswfdec/swfdec_color.h | 2
libswfdec/swfdec_compiler.c | 1521 -----------------------
libswfdec/swfdec_compiler.h | 22
libswfdec/swfdec_debugger.c | 116 +
libswfdec/swfdec_debugger.h | 16
libswfdec/swfdec_event.c...
2007 Dec 03
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_gradient_pattern.c libswfdec/swfdec_gradient_pattern.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_pattern.c
...movie_as_drawing.c
index b528fbd..f11810f 100644
--- a/libswfdec/swfdec_movie_as_drawing.c
+++ b/libswfdec/swfdec_movie_as_drawing.c
@@ -22,9 +22,11 @@
#endif
#include "swfdec_movie.h"
+#include "swfdec_as_internal.h"
+#include "swfdec_as_strings.h"
#include "swfdec_color.h"
#include "swfdec_debug.h"
-#include "swfdec_as_internal.h"
+#include "swfdec_gradient_pattern.h"
#include "swfdec_path.h"
#include "swfdec_pattern.h"
#include "swfdec_stroke.h"
@@ -69,6 +71,9 @@ swfdec_sprite_movie_end_fill (Sw...
2007 May 23
0
Branch 'as' - 7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
.../swfdec_as_frame.c | 4
libswfdec/swfdec_as_frame.h | 2
libswfdec/swfdec_as_interpret.c | 38 +++----
libswfdec/swfdec_as_object.c | 13 +-
libswfdec/swfdec_as_object.h | 2
libswfdec/swfdec_as_strings.c | 13 ++
libswfdec/swfdec_as_super.c | 6 -
libswfdec/swfdec_color_as.c | 211 ++++++++++++++++++++++++++++++++++++++++
libswfdec/swfdec_color_as.h | 56 ++++++++++
libswfdec/swfdec_js_color.c | 192 ------------------------------------
libswfdec/swfdec_player.c | 2
13 files changed, 318 insertions(+), 228 deletions(-)
New commits:
diff...
2007 Jun 28
0
Branch 'as' - 4 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
...swfdec_as_interpret.h \
+ swfdec_as_number.h \
+ swfdec_as_string.h \
+ swfdec_as_strings.h \
+ swfdec_as_super.h \
+ swfdec_as_with.h \
swfdec_audio_internal.h \
swfdec_audio_event.h \
swfdec_audio_flv.h \
@@ -68,7 +74,7 @@ IGNORE_HFILES= \
swfdec_codec_audio.h \
swfdec_codec_video.h \
swfdec_color.h \
- swfdec_connection.h \
+ swfdec_color_as.h \
swfdec_debug.h \
swfdec_debugger.h \
swfdec_decoder.h \
@@ -80,6 +86,7 @@ IGNORE_HFILES= \
swfdec_graphic.h \
swfdec_graphic_movie.h \
swfdec_image.h \
+ swfdec_interval.h \
swfdec_js.h \
swfdec_listener.h \
swfdec_loader_internal....
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...Set clip depth correctly
when checking available bits fails, consume all bits
Clean up parsing of actions in PlaceObject2
Finish compiling at end of bitstream, too, not just with 0 action
Merge branch 'master' into interpreter
missing \n
s/SWF_COLOR/SWFDEC_COLOR/
update SwfdecColor format from RGBA to ARGB
rework images to be correctly color transformed
add swfdec_color_transform_is_identity
rename swfdec_image_get_surface* to swfdec_image_create_surface*
add debugging message when parsing color transforms
export images,...