search for: color_t

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

Did you mean: color_p
2007 Jan 29
0
Branch 'interpreter' - 18 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_sound.c libswfdec/swfdec_pattern.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_script.c
...nflateInit (&z); - ret = inflate (&z, Z_SYNC_FLUSH); + ret = inflate (&z, Z_FINISH); if (ret != Z_STREAM_END) { SWFDEC_WARNING ("lossless: ret == %d", ret); } @@ -348,9 +348,8 @@ static void swfdec_image_lossless_load (SwfdecImage *image) { int format; - int color_table_size; + guint color_table_size; unsigned char *ptr; - unsigned char *endptr; SwfdecBits bits; unsigned char *image_data = NULL; int have_alpha = (image->type == SWFDEC_IMAGE_TYPE_LOSSLESS2); @@ -377,66 +376,70 @@ swfdec_image_lossless_load (SwfdecImage if (image->width =...
2020 Mar 18
0
[PATCH i-g-t] tests/kms_plane: Generate reference CRCs for partial coverage too
...ms_plane.c | 164 +++++++++++++++++++++++++--------------------- 1 file changed, 91 insertions(+), 73 deletions(-) diff --git a/tests/kms_plane.c b/tests/kms_plane.c index 805795cd..c95f3584 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -44,6 +44,11 @@ typedef struct { float blue; } color_t; +typedef struct { + int x, y; + color_t color; +} rectangle_t; + typedef struct { int drm_fd; igt_display_t display; @@ -71,9 +76,52 @@ static void test_fini(data_t *data) igt_pipe_crc_free(data->pipe_crc); } +enum { + TEST_POSITION_PARTIALLY_COVERED = 1 << 0, + TEST_DPMS...
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
...ta); - swfdec_image_create_surface (image, image_data); - SWFDEC_LOG (" width = %d", image->width); SWFDEC_LOG (" height = %d", image->height); } @@@ -356,13 -348,20 +326,12 @@@ swfdec_image_lossless_load (SwfdecImage *image) { int format; - int color_table_size; + guint color_table_size; unsigned char *ptr; - int len; - unsigned char *endptr; SwfdecBits bits; - unsigned char *image_data = NULL; int have_alpha = (image->type == SWFDEC_IMAGE_TYPE_LOSSLESS2); - bits.buffer = image->raw_data; - bits.ptr = image->ra...
2006 Sep 01
2
SYSLINUX 3.30-pre1 released
...s [Tab] message * 09 - cmdmark Command line marker * 10 - cmdline Command line * 11 - pwdborder Password box border * 12 - pwdheader Password box header * 13 - pwdentry Password box contents * 14 - timeout_msg Timeout message * 15 - timeout Timeout counter */ static const struct color_table default_color_table[] = { { "screen", "0;37;40", 0x80ffffff, 0x00000000 }, { "border", "0;30;44", 0x40000000, 0x00000000 }, { "title", "1;36;44", 0xc00090f0, 0x00000000 }, { "unsel", &q...
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
...Color +swfdec_color_apply_transform (SwfdecColor in, const SwfdecColorTransform * trans) { int r, g, b, a; diff --git a/libswfdec/swfdec_color.h b/libswfdec/swfdec_color.h index 54ce268..a7a7723 100644 --- a/libswfdec/swfdec_color.h +++ b/libswfdec/swfdec_color.h @@ -75,7 +75,7 @@ void swfdec_color_transform_init_color ( gboolean swfdec_color_transform_is_identity (const SwfdecColorTransform * trans); void swfdec_color_transform_chain (SwfdecColorTransform *dest, const SwfdecColorTransform *last, const SwfdecColorTransform *first); -unsigned int swfdec_color_apply_transform (unsigned int...
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing
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
...b, a); +} + unsigned int swfdec_color_apply_transform (unsigned int in, const SwfdecColorTransform * trans) { diff --git a/libswfdec/swfdec_color.h b/libswfdec/swfdec_color.h index 46fdea4..54ce268 100644 --- a/libswfdec/swfdec_color.h +++ b/libswfdec/swfdec_color.h @@ -77,6 +77,8 @@ void swfdec_color_transform_chain (Swfde const SwfdecColorTransform *last, const SwfdecColorTransform *first); unsigned int swfdec_color_apply_transform (unsigned int in, const SwfdecColorTransform * trans); +SwfdecColor swfdec_color_apply_transform_premultiplied (SwfdecColor in, + const SwfdecColorTran...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com> This series fixes some bugs and switches the elflink branch to be entirely ELF modules. It applies on top of, http://syslinux.zytor.com/archives/2011-April/016369.html The deletions in the diff stat below are mainly from deleting com32/elflink/modules (finally!). Now there should be no duplicate code because we don't need COM32 and