Home
last modified time | relevance | path

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

12

/external/qemu/distrib/sdl-1.2.15/test/
Dtestwin.c28 SDL_Color *colors, *cmap; in DrawPict()
45 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); in DrawPict()
46 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); in DrawPict()
48 ncolors*sizeof(SDL_Color)); in DrawPict()
54 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); in DrawPict()
55 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); in DrawPict()
144 SDL_Color final; in DrawPict()
145 SDL_Color palcolors[256]; in DrawPict()
151 memcpy(cmap, colors, ncolors*sizeof(SDL_Color)); in DrawPict()
156 memcpy(palcolors, colors, ncolors*sizeof(SDL_Color)); in DrawPict()
[all …]
Dtestpalette.c38 static SDL_Color wavemap[] = {
133 SDL_Color cmap[256]; in main()
210 memcpy(cmap, screen->format->palette->colors, 256 * sizeof(SDL_Color)); in main()
313 boatcols * sizeof(SDL_Color)); in main()
Dtestbitmap.c65 SDL_Color palette[256]; in main()
/external/qemu/distrib/sdl-1.2.15/src/video/
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);
DSDL_pixels.c133 (format->palette)->colors = (SDL_Color *)SDL_malloc( in SDL_AllocFormat()
134 (format->palette)->ncolors*sizeof(SDL_Color)); in SDL_AllocFormat()
219 (format->palette)->ncolors*sizeof(SDL_Color)); in SDL_AllocFormat()
266 void SDL_DitherColors(SDL_Color *colors, int bpp) in SDL_DitherColors()
423 void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, in SDL_ApplyGamma()
445 sizeof(SDL_Color)) == 0 ) { in Map1to1()
493 SDL_Color colors[256]; in MapNto1()
DSDL_sysvideo.h102 SDL_Color *colors);
282 SDL_Color *gammacols; /* gamma-corrected colours, or NULL */
DSDL_video.c546 sizeof(SDL_Color)); in SDL_CreateShadowSurface()
1050 SDL_Color *saved_colors = NULL; in SDL_UpdateRects()
1112 SDL_Color *saved_colors = NULL; in SDL_Flip()
1156 static void SetPalette_logical(SDL_Surface *screen, SDL_Color *colors, in SetPalette_logical()
1184 SDL_Color *colors, int firstcolor, int ncolors) in SetPalette_physical()
1219 * sizeof(SDL_Color)); in SetPalette_physical()
1236 SDL_Color gcolors[256]; in SetPalette_physical()
1265 SDL_Color *colors, int firstcolor, int ncolors) in SDL_SetPalette()
1319 size = pp->ncolors * sizeof(SDL_Color); in SDL_SetPalette()
1334 int SDL_SetColors(SDL_Surface *screen, SDL_Color *colors, int firstcolor, in SDL_SetColors()
DSDL_blit_0.c351 const SDL_Color *srcpal = info->src->palette->colors; in BlitBtoNAlpha()
398 const SDL_Color *srcpal = srcfmt->palette->colors; in BlitBtoNAlphaKey()
DSDL_blit_1.c415 const SDL_Color *srcpal = info->src->palette->colors; in Blit1toNAlpha()
454 const SDL_Color *srcpal = info->src->palette->colors; in Blit1toNAlphaKey()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_video.h55 typedef struct SDL_Color { struct
60 } SDL_Color; argument
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/
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) in DUMMY_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11video.c67 SDL_Color *colors);
1314 static void allocate_nearest(_THIS, SDL_Color *colors, in allocate_nearest()
1315 SDL_Color *want, int nwant) in allocate_nearest()
1376 int X11_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in X11_SetColors()
1412 SDL_Color *want, *reject; in X11_SetColors()
1430 want = SDL_stack_alloc(SDL_Color, ncolors); in X11_SetColors()
1431 reject = SDL_stack_alloc(SDL_Color, ncolors); in X11_SetColors()
1432 SDL_memcpy(want, colors + firstcolor, ncolors * sizeof(SDL_Color)); in X11_SetColors()
1435 SDL_memset(colors + firstcolor, 0, ncolors * sizeof(SDL_Color)); in X11_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
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) in NDS_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
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) in DC_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/
DSDL_ggivideo.c56 SDL_Color *colors);
355 int GGI_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in GGI_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
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) in AA_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
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) in QT_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
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) in PG_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
DSDL_epocvideo.cpp119 SDL_Color *colors);
290 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in EPOC_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
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) in WIMP_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
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) in NX_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/svga/
DSDL_svgavideo.c58 SDL_Color *colors);
538 int SVGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in SVGA_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
DSDL_DirectFB_video.c58 SDL_Color *colors);
294 SDL_Color *colors; in AllocatePalette()
303 colors = SDL_calloc (size, sizeof(SDL_Color)); in AllocatePalette()
1054 int DirectFB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in DirectFB_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
DSDL_vglvideo.c52 SDL_Color *colors);
438 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in VGL_SetColors()
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
DSDL_wsconsvideo.c56 static int WSCONS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
572 int WSCONS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in WSCONS_SetColors()

12