/external/qemu/distrib/sdl-1.2.15/test/ |
D | testwin.c | 28 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 …]
|
D | testpalette.c | 38 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()
|
D | testbitmap.c | 65 SDL_Color palette[256]; in main()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
D | SDL_pixels_c.h | 44 extern void SDL_DitherColors(SDL_Color *colors, int bpp); 46 extern void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors);
|
D | SDL_pixels.c | 133 (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()
|
D | SDL_sysvideo.h | 102 SDL_Color *colors); 282 SDL_Color *gammacols; /* gamma-corrected colours, or NULL */
|
D | SDL_video.c | 546 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()
|
D | SDL_blit_0.c | 351 const SDL_Color *srcpal = info->src->palette->colors; in BlitBtoNAlpha() 398 const SDL_Color *srcpal = srcfmt->palette->colors; in BlitBtoNAlphaKey()
|
D | SDL_blit_1.c | 415 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/ |
D | SDL_video.h | 55 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/ |
D | SDL_nullvideo.c | 55 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/ |
D | SDL_x11video.c | 67 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/ |
D | SDL_ndsvideo.c | 44 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/ |
D | SDL_dcvideo.c | 42 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/ |
D | SDL_ggivideo.c | 56 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/ |
D | SDL_aavideo.c | 47 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/ |
D | SDL_sysvideo.cc | 58 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/ |
D | SDL_pgvideo.c | 42 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/ |
D | SDL_epocvideo.cpp | 119 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/ |
D | SDL_wimpvideo.c | 48 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/ |
D | SDL_nxvideo.c | 45 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/ |
D | SDL_svgavideo.c | 58 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/ |
D | SDL_DirectFB_video.c | 58 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/ |
D | SDL_vglvideo.c | 52 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/ |
D | SDL_wsconsvideo.c | 56 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()
|