Displaying 11 results from an estimated 11 matches for "bg_color".
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
...if (s->parse_sprite->parse_frame < s->parse_sprite->n_frames) {
SwfdecSpriteFrame *old = &s->parse_sprite->frames[s->parse_sprite->parse_frame - 1];
SwfdecSpriteFrame *new = &s->parse_sprite->frames[s->parse_sprite->parse_frame];
- new->bg_color = old->bg_color;
if (old->sound_head)
new->sound_head = g_object_ref (old->sound_head);
}
@@ -240,11 +239,24 @@ tag_show_frame (SwfdecSwfDecoder * s)
int
tag_func_set_background_color (SwfdecSwfDecoder * s)
{
- SwfdecSpriteFrame *frame;
+ SwfdecPlayer *player = SWFDE...
2018 Dec 12
0
[PATCH v2 18/18] drm/qxl: remove dead qxl fbdev emulation code
...- if (ret)
- return ret;
- pal->num_ents = 2;
- pal->unique = unique++;
- if (visual == FB_VISUAL_TRUECOLOR || visual == FB_VISUAL_DIRECTCOLOR) {
- /* NB: this is the only used branch currently. */
- fgcolor = pseudo_palette[fb_image->fg_color];
- bgcolor = pseudo_palette[fb_image->bg_color];
- } else {
- fgcolor = fb_image->fg_color;
- bgcolor = fb_image->bg_color;
- }
- pal->ents[0] = bgcolor;
- pal->ents[1] = fgcolor;
- qxl_bo_kunmap(palette_bo);
- return 0;
-}
-
-void qxl_draw_opaque_fb(const struct qxl_fb_image *qxl_fb_image,
- int stride /* filled in if 0 */)
-{...
2018 Sep 11
0
[PATCH] qxl: refactor to use drm_fb_helper_fbdev_setup
...image->dx = clips->x1;
153 image->dy = clips->y1;
154 image->width = clips->x2 - clips->x1;
155 image->height = clips->y2 - clips->y1;
156 image->fg_color = 0xffffffff; /* unused, just to avoid uninitialized
157 warnings */
158 image->bg_color = 0;
159 image->depth = 32; /* TODO: take from somewhere? */
160 image->cmap.start = 0;
161 image->cmap.len = 0;
162 image->cmap.red = NULL;
163 image->cmap.green = NULL;
164 image->cmap.blue = NULL;
165 image->cmap.transp = NULL;
> 166 ima...
2009 Aug 17
8
drm bo accessors etc. v2
Revised patch set v2.
[PATCH 1/8] drm/nouveau: bo read/write wrappers for nv04_crtc.c
[PATCH 2/8] drm/nouveau: use bo accessors for push buffers
[PATCH 3/8] drm/nouveau: OUT_RINGp - optimize OUT_RING loops
[PATCH 4/8] drm/nv50: proper notifier_bo access in nv50_display_vblank_crtc_handler()
[PATCH 5/8] drm/nouveau: access fbcon notifier via bo accessors
[PATCH 6/8] drm/nouveau: screen_base and
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...struct _SwfdecSpriteMovie
SwfdecSprite * sprite; /* displayed sprite */
/* frame information */
- guint current_frame; /* frame that is currently displayed (NB: indexed from 0) */
+ guint next_action; /* next action in sprite to perform */
/* color information */
SwfdecColor bg_color; /* background color (only used on main sprite) */
diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c
index 82a884d..9f56aa1 100644
--- a/libswfdec/swfdec_tag.c
+++ b/libswfdec/swfdec_tag.c
@@ -252,22 +252,6 @@ tag_func_define_sprite (SwfdecSwfDecoder
return SWFDEC_STATUS_OK;
}
-int...
2007 Jan 17
12
Excel sheet generation
Hi,
Does anyone know of a package that will help with generation of
spreadsheets? (xls files, not csv)
Thanks,
Fredrik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe
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
...ibswfdec/swfdec_sprite.c
index 9201218..074bb37 100644
--- a/libswfdec/swfdec_sprite.c
+++ b/libswfdec/swfdec_sprite.c
@@ -503,7 +503,7 @@ swfdec_sprite_set_n_frames (SwfdecSprite
sprite->frames[i].sound_samples = 44100 * 256 / rate;
}
/* default bg is white */
- sprite->frames[0].bg_color = SWF_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF);
+ sprite->frames[0].bg_color = SWFDEC_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF);
SWFDEC_LOG ("n_frames = %d", sprite->n_frames);
}
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
...ibswfdec/swfdec_sprite.c
index 9201218..074bb37 100644
--- a/libswfdec/swfdec_sprite.c
+++ b/libswfdec/swfdec_sprite.c
@@ -503,7 +503,7 @@ swfdec_sprite_set_n_frames (SwfdecSprite
sprite->frames[i].sound_samples = 44100 * 256 / rate;
}
/* default bg is white */
- sprite->frames[0].bg_color = SWF_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF);
+ sprite->frames[0].bg_color = SWFDEC_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF);
SWFDEC_LOG ("n_frames = %d", sprite->n_frames);
}
2007 Jun 27
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie_as.c
...priteMovie
/* frame information */
guint next_action; /* next action in sprite to perform */
+ guint frame; /* current frame */
+ guint n_frames; /* amount of frames */
+ gboolean playing; /* TRUE if the movie automatically advances */
/* color information */
SwfdecColor bg_color; /* background color (only used on main sprite) */
@@ -60,6 +63,9 @@ struct _SwfdecSpriteMovieClass
GType swfdec_sprite_movie_get_type (void);
+void swfdec_sprite_movie_goto (SwfdecSpriteMovie * movie,
+ guint goto_frame);
+
G_END_DECLS
#endif
diff --git a/libswfdec/swfdec_spr...
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
...decSprite * sprite; /* displayed sprite */
/* frame information */
- unsigned int current_frame; /* frame that is currently displayed (NB: indexed from 0) */
+ guint current_frame; /* frame that is currently displayed (NB: indexed from 0) */
/* color information */
SwfdecColor bg_color; /* background color (only used on main sprite) */
/* audio stream handling */
- unsigned int sound_frame; /* current sound frame */
+ guint sound_frame; /* current sound frame */
SwfdecAudio * sound_stream; /* stream that currently plays */
};
diff --git a/libswfdec/swfdec_swf_...
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
...decSprite * sprite; /* displayed sprite */
/* frame information */
- unsigned int current_frame; /* frame that is currently displayed (NB: indexed from 0) */
+ guint current_frame; /* frame that is currently displayed (NB: indexed from 0) */
/* color information */
SwfdecColor bg_color; /* background color (only used on main sprite) */
/* audio stream handling */
- unsigned int sound_frame; /* current sound frame */
+ guint sound_frame; /* current sound frame */
SwfdecAudio * sound_stream; /* stream that currently plays */
};
diff --git a/libswfdec/swfdec_swf_...