Searched refs:SDL_Color (Results 1 - 25 of 50) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_pixels_c.h44 extern void SDL_DitherColors(SDL_Color *colors, int bpp);
46 extern void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors);
H A DSDL_pixels.c133 (format->palette)->colors = (SDL_Color *)SDL_malloc(
134 (format->palette)->ncolors*sizeof(SDL_Color));
219 (format->palette)->ncolors*sizeof(SDL_Color));
266 void SDL_DitherColors(SDL_Color *colors, int bpp)
423 void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output,
445 sizeof(SDL_Color)) == 0 ) {
493 SDL_Color colors[256];
H A DSDL_sysvideo.h102 SDL_Color *colors);
282 SDL_Color *gammacols; /* gamma-corrected colours, or NULL */
H A DSDL_video.c546 sizeof(SDL_Color));
1050 SDL_Color *saved_colors = NULL;
1112 SDL_Color *saved_colors = NULL;
1156 static void SetPalette_logical(SDL_Surface *screen, SDL_Color *colors,
1184 SDL_Color *colors, int firstcolor, int ncolors)
1219 * sizeof(SDL_Color));
1236 SDL_Color gcolors[256];
1265 SDL_Color *colors, int firstcolor, int ncolors)
1319 size = pp->ncolors * sizeof(SDL_Color);
1334 int SDL_SetColors(SDL_Surface *screen, SDL_Color *color
[all...]
H A DSDL_blit_0.c351 const SDL_Color *srcpal = info->src->palette->colors;
398 const SDL_Color *srcpal = srcfmt->palette->colors;
H A DSDL_blit_1.c415 const SDL_Color *srcpal = info->src->palette->colors;
454 const SDL_Color *srcpal = info->src->palette->colors;
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestwin.c28 SDL_Color *colors, *cmap;
45 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
46 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
48 ncolors*sizeof(SDL_Color));
54 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
55 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
[all...]
H A Dtestpalette.c38 static SDL_Color wavemap[] = {
133 SDL_Color cmap[256];
210 memcpy(cmap, screen->format->palette->colors, 256 * sizeof(SDL_Color));
313 boatcols * sizeof(SDL_Color));
H A Dtestbitmap.c65 SDL_Color palette[256];
H A Dgraywin.c109 SDL_Color palette[NUM_COLORS];
H A Dthreadwin.c230 SDL_Color palette[256];
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_video.h55 typedef struct SDL_Color { struct
60 } SDL_Color; typedef in typeref:struct:SDL_Color
61 #define SDL_Colour SDL_Color
65 SDL_Color *colors;
467 SDL_Color *colors, int firstcolor, int ncolors);
486 SDL_Color *colors, int firstcolor,
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/
H A DSDL_nullvideo.c55 static int DUMMY_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
223 int DUMMY_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11video.c67 SDL_Color *colors);
1314 static void allocate_nearest(_THIS, SDL_Color *colors,
1315 SDL_Color *want, int nwant)
1376 int X11_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
1412 SDL_Color *want, *reject;
1430 want = SDL_stack_alloc(SDL_Color, ncolors);
1431 reject = SDL_stack_alloc(SDL_Color, ncolors);
1432 SDL_memcpy(want, colors + firstcolor, ncolors * sizeof(SDL_Color));
1435 SDL_memset(colors + firstcolor, 0, ncolors * sizeof(SDL_Color));
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aavideo.c47 static int AA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
352 int AA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c42 static int DC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
309 static int DC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/
H A DSDL_ggivideo.c56 SDL_Color *colors);
355 int GGI_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c44 static int NDS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
472 int NDS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
H A DSDL_sysvideo.cc58 static int QT_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
367 int QT_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/
H A DSDL_ipodvideo.c51 static int iPod_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color *colors);
382 static int iPod_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxvideo.c45 static int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) ;
398 int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors)
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.c42 static int PG_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
316 int PG_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_wimpvideo.c48 int WIMP_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
355 int WIMP_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
H A DSDL_epocvideo.cpp119 SDL_Color *colors);
290 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
H A DSDL_syswm.c125 pal_256->ncolors*sizeof(SDL_Color));

Completed in 363 milliseconds

12