search for: swfdec_cach

Displaying 20 results from an estimated 37 matches for "swfdec_cach".

Did you mean: swfdec_cache
2007 Jan 15
0
2 commits - configure.ac libswfdec/swfdec_cache.c libswfdec/swfdec_cache.h
configure.ac | 2 +- libswfdec/swfdec_cache.c | 23 +++++++++++++++++++++++ libswfdec/swfdec_cache.h | 19 +++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) New commits: diff-tree e6fa9c03b3333781cfaa260d0001885c1527e368 (from ce60e445dfd74468b263ddf9cf2f04261c1968d5) Author: Benjamin Otte <otte@gnome.org> Date...
2007 Jan 16
0
9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_cache.c libswfdec/swfdec_cached.c libswfdec/swfdec_cached.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_image.c
...obj.c | 8 - libswfdec/js/jsobj.h | 6 - libswfdec/js/jspubtd.h | 4 libswfdec/js/jsscope.c | 2 libswfdec/js/jsscope.h | 2 libswfdec/swfdec_audio_stream.c | 13 +- libswfdec/swfdec_audio_stream.h | 2 libswfdec/swfdec_cache.c | 11 + libswfdec/swfdec_cached.c | 123 ++++++++++++++++++++++ libswfdec/swfdec_cached.h | 65 +++++++++++ libswfdec/swfdec_edittext_movie.c | 44 +++---- libswfdec/swfdec_image.c | 65 ++++------- libswfdec/swfdec_image.h | 32 ++--- libswf...
2007 Apr 03
0
11 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec-gtk/swfdec_source.c libswfdec/swfdec_cached.c libswfdec/swfdec_font.c libswfdec/swfdec_morphshape.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c
libswfdec-gtk/swfdec_gtk_loader.c | 10 ++++++++-- libswfdec-gtk/swfdec_playback_alsa.c | 3 +-- libswfdec-gtk/swfdec_source.c | 32 ++++++++++++++++++++++++-------- libswfdec/swfdec_cached.c | 3 +-- libswfdec/swfdec_font.c | 19 ++++++++++++++----- libswfdec/swfdec_morphshape.c | 10 ++++++++-- libswfdec/swfdec_net_stream.c | 3 ++- libswfdec/swfdec_script.c | 8 +++++--- libswfdec/swfdec_video.c | 9 ++++...
2007 Dec 10
0
5 commits - libswfdec/jpeg libswfdec/swfdec_as_interpret.c libswfdec/swfdec_bits.c libswfdec/swfdec_cached.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_flash_security.c libswfdec/swfdec_image.c
libswfdec/jpeg/jpeg.h | 2 +- libswfdec/jpeg/jpeg_rgb_decoder.c | 26 +++++++++++++------------- libswfdec/swfdec_as_interpret.c | 26 +++++++++++++++++++------- libswfdec/swfdec_bits.c | 4 ++-- libswfdec/swfdec_cached.c | 2 +- libswfdec/swfdec_codec_adpcm.c | 2 +- libswfdec/swfdec_codec_audio.c | 2 +- libswfdec/swfdec_flash_security.c | 2 ++ libswfdec/swfdec_image.c | 20 ++++++++++++-------- libswfdec/swfdec_interval.c |...
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
...ec_audio_stream.h | 4 +- libswfdec/swfdec_bits.c | 60 +++++++++++++++++------------------ libswfdec/swfdec_bits.h | 28 ++++++++-------- libswfdec/swfdec_buffer.c | 18 +++++----- libswfdec/swfdec_buffer.h | 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...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...apparently we need even more const Add a SwfdecScriptable class that functions as the frontend for objects accessible from AS make SwfdecNetStream a SwfdecScriptable (nothing else changed) call unload function after adjusting size add new class SwfdecCached rename swfdec_cached_reload to swfdec_cached_use use the cache get the codec out of SwfdecSound and into the audio objects Add skeleton for interpreter remove leftover code from when the root movie contained the root script add the SwfdecSCript to the stack frame implement swfdec_b...
2007 Nov 10
1
3 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h
...image->raw_data->data, image->raw_data->length, NULL, 0, - (void *)&image->data, &image->width, &image->height); + (void *)&data, &image->width, &image->height); } - if (!ret) { + if (!ret) return; - } swfdec_cached_load (SWFDEC_CACHED (image), 4 * image->width * image->height); - image->rowstride = image->width * 4; + image->surface = cairo_image_surface_create_for_data (data, CAIRO_FORMAT_RGB24, + image->width, image->height, image->width * 4); + cairo_surface_set_user_data...
2007 Jan 14
0
Changes to 'refs/tags/0.4.1'
...o_internal.h | 7 libswfdec/swfdec_audio_stream.c | 10 libswfdec/swfdec_bits.c | 39 ++ libswfdec/swfdec_bits.h | 4 libswfdec/swfdec_buffer.c | 18 + libswfdec/swfdec_buffer.h | 4 libswfdec/swfdec_button_movie.c | 6 libswfdec/swfdec_cache.c | 188 +++++--------- libswfdec/swfdec_cache.h | 56 +--- libswfdec/swfdec_codec.c | 43 ++- libswfdec/swfdec_codec.h | 41 ++- libswfdec/swfdec_codec_adpcm.c | 2 libswfdec/swfdec_codec_ffmpeg.c | 134 +++++++++- libswfdec/swfdec_codec_...
2007 Oct 28
0
9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_audio_internal.h libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_sound.c
...und->decoded_format = swfdec_audio_decoder_get_format (decoder); - sample_bytes = swfdec_audio_format_get_bytes_per_sample (sound->decoded_format); - n_samples = sound->n_samples / swfdec_audio_format_get_granularity (sound->decoded_format); - /* FIXME: The size is only a guess */ - swfdec_cached_load (SWFDEC_CACHED (sound), n_samples * sample_bytes); swfdec_audio_decoder_push (decoder, sound->encoded); swfdec_audio_decoder_push (decoder, NULL); @@ -203,12 +198,16 @@ swfdec_sound_get_decoded (SwfdecSound *sound, SwfdecAudioFormat *format) depth = swfdec_buffer_queue_get_dept...
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
...Makefile.am index 6d4dca5..afe0261 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.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_fo...
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...swfdec_codec_mad.c -endif if HAVE_FFMPEG CODECS += swfdec_codec_ffmpeg.c endif if HAVE_GST CODECS += swfdec_codec_gst.c endif +if HAVE_MAD +CODECS += swfdec_codec_mad.c +endif lib_LTLIBRARIES = libswfdec-@SWFDEC_MAJORMINOR@.la @@ -31,8 +31,8 @@ libswfdec_@SWFDEC_MAJORMINOR@_la_SOURCES swfdec_cache.c \ swfdec_cached.c \ swfdec_character.c \ - swfdec_codec.c \ swfdec_codec_adpcm.c \ + swfdec_codec_audio.c \ $(CODECS) \ swfdec_codec_screen.c \ swfdec_codec_video.c \ @@ -122,7 +122,7 @@ noinst_HEADERS = \ swfdec_cache.h \ swfdec_cached.h \ swfdec_character.h \ - swfdec_codec.h...
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
...ec_audio_flv.h | 4 libswfdec/swfdec_audio_stream.h | 4 libswfdec/swfdec_bits.c | 60 +++++++------- libswfdec/swfdec_bits.h | 28 +++--- libswfdec/swfdec_buffer.c | 18 ++-- libswfdec/swfdec_buffer.h | 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 |...
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
...s_object.c | 18 +----- libswfdec/swfdec_as_object.h | 2 libswfdec/swfdec_as_super.c | 2 libswfdec/swfdec_as_types.c | 6 +- libswfdec/swfdec_as_with.c | 2 libswfdec/swfdec_button_movie.c | 2 libswfdec/swfdec_cached.c | 2 libswfdec/swfdec_codec_adpcm.c | 1 libswfdec/swfdec_codec_audio.c | 17 ------ libswfdec/swfdec_codec_ffmpeg.c | 3 - libswfdec/swfdec_codec_gst.c | 1 libswfdec/swfdec_codec_mad.c | 1 libswfdec/swfd...
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
...buffer->length; - - bits.ptr += 2; + swfdec_bits_init (&bits, image->raw_data); format = swfdec_bits_get_u8 (&bits); SWFDEC_LOG (" format = %d", format); @@@ -384,29 -383,31 +353,29 @@@ if (image->width == 0 || image->height == 0) return; swfdec_cached_load (SWFDEC_CACHED (image), 4 * image->width * image->height); - ptr = lossless (bits.ptr, endptr - bits.ptr, &len); - bits.ptr = endptr; if (format == 3) { - unsigned char *color_table; unsigned char *indexed_data; - int i; + guint i; + unsigned int ro...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...apparently we need even more const Add a SwfdecScriptable class that functions as the frontend for objects accessible from AS make SwfdecNetStream a SwfdecScriptable (nothing else changed) call unload function after adjusting size add new class SwfdecCached rename swfdec_cached_reload to swfdec_cached_use use the cache get the codec out of SwfdecSound and into the audio objects Add skeleton for interpreter remove leftover code from when the root movie contained the root script add the SwfdecSCript to the stack frame implement swfdec_b...
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
...r_data (image->surface, &key, data, - g_free); -} - -static void swfdec_image_jpeg_load (SwfdecImage *image) { JpegRGBDecoder *dec; - unsigned char *image_data; dec = jpeg_rgb_decoder_new (); @@ -217,10 +205,9 @@ swfdec_image_jpeg_load (SwfdecImage *ima return; } swfdec_cached_load (SWFDEC_CACHED (image), 4 * image->width * image->height); - jpeg_rgb_decoder_get_image (dec, &image_data, + jpeg_rgb_decoder_get_image (dec, &image->data, &image->rowstride, NULL, NULL); jpeg_rgb_decoder_free (dec); - swfdec_image_create_surface (image,...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...apparently we need even more const Add a SwfdecScriptable class that functions as the frontend for objects accessible from AS make SwfdecNetStream a SwfdecScriptable (nothing else changed) call unload function after adjusting size add new class SwfdecCached rename swfdec_cached_reload to swfdec_cached_use use the cache get the codec out of SwfdecSound and into the audio objects Add skeleton for interpreter remove leftover code from when the root movie contained the root script add the SwfdecSCript to the stack frame implement swfdec_b...
2007 Oct 14
0
4 commits - libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_sound.c
...wfdec/swfdec_sound.c +++ b/libswfdec/swfdec_sound.c @@ -203,6 +203,7 @@ swfdec_sound_get_decoded (SwfdecSound *sound, SwfdecAudioFormat *format) depth = swfdec_buffer_queue_get_depth (queue); if (depth == 0) { SWFDEC_ERROR ("decoding didn't produce any data, bailing"); + swfdec_cached_unload (SWFDEC_CACHED (sound)); return NULL; } tmp = swfdec_buffer_queue_pull (queue, depth); commit b083f36d612e43ae936073772857075c959079ad Author: Benjamin Otte <otte at gnome.org> Date: Sun Oct 14 21:21:46 2007 +0200 allow env vars SWFDEC_CODEC_VIDEO or SWFDEC_CODEC fo...
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...fdec_image.c index 0dee685..4d59b99 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -27,7 +27,7 @@ #include <zlib.h> #include <string.h> -#include "jpeg_rgb_decoder.h" +#include "jpeg.h" #include "swfdec_image.h" #include "swfdec_cache.h" #include "swfdec_debug.h" @@ -133,24 +133,24 @@ tag_func_define_bits_jpeg (SwfdecSwfDeco static void swfdec_image_jpeg_load (SwfdecImage *image) { - JpegRGBDecoder *dec; + JpegDecoder *dec; - dec = jpeg_rgb_decoder_new (); + dec = jpeg_decoder_new (); - jpeg_rgb_deco...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...bswfdec/swfdec_as_object.c | 49 ++++++- libswfdec/swfdec_as_object.h | 11 + libswfdec/swfdec_as_types.c | 31 ++++ libswfdec/swfdec_as_types.h | 33 ++++ libswfdec/swfdec_button.c | 4 libswfdec/swfdec_button_movie.c | 4 libswfdec/swfdec_cached.c | 3 libswfdec/swfdec_connection.c | 61 +++----- libswfdec/swfdec_connection.h | 8 - libswfdec/swfdec_debugger.c | 55 +------ libswfdec/swfdec_edittext.c | 56 +++----- libswfdec/swfdec_edittext.h | 4 libswfdec/swfdec_edit...