Home
last modified time | relevance | path

Searched refs:firstcolor (Results 1 – 25 of 33) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_video.c47 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
594 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in ph_SetColors() argument
608 for (i=firstcolor; i<firstcolor+ncolors; i++) in ph_SetColors()
610 … syspalph[i] = PgRGB(colors[i-firstcolor].r, colors[i-firstcolor].g, colors[i-firstcolor].b); in ph_SetColors()
622 for (i=firstcolor; i<firstcolor+ncolors; i++) in ph_SetColors()
624 … syspalph[i] = PgRGB(colors[i-firstcolor].r, colors[i-firstcolor].g, colors[i-firstcolor].b); in ph_SetColors()
630 PgSetPalette(&syspalph[firstcolor], 0, firstcolor, ncolors, Pg_PALSET_GLOBAL, 0); in ph_SetColors()
637 PgSetPalette(&syspalph[firstcolor], 0, firstcolor, ncolors, Pg_PALSET_GLOBAL, 0); in ph_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxvideo.c50 static int CGX_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
1235 static int CGX_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in CGX_SetColors() argument
1247 xcmap[0]+=firstcolor; in CGX_SetColors()
1252 xcmap[i*3+1] = colors[i+firstcolor].r<<24; in CGX_SetColors()
1253 xcmap[i*3+2] = colors[i+firstcolor].g<<24; in CGX_SetColors()
1254 xcmap[i*3+3] = colors[i+firstcolor].b<<24; in CGX_SetColors()
1293 …etSingleColor(fmt,colors[firstcolor+i].r,colors[firstcolor+i].g,colors[firstcolor+i].b,(unsigned c… in CGX_SetColors()
1298 …SDL_XPixels[i+firstcolor]=(colors[firstcolor+i].r<<16)+(colors[firstcolor+i].g<<8)+colors[firstcol… in CGX_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_video.c1135 int firstcolor, int ncolors) in SetPalette_logical() argument
1140 if ( colors != (pal->colors + firstcolor) ) { in SetPalette_logical()
1141 SDL_memcpy(pal->colors + firstcolor, colors, in SetPalette_logical()
1154 SDL_memcpy(vidpal->colors + firstcolor, colors, in SetPalette_logical()
1162 SDL_Color *colors, int firstcolor, int ncolors) in SetPalette_physical() argument
1171 SDL_memcpy(video->physpal->colors + firstcolor, in SetPalette_physical()
1205 + firstcolor, in SetPalette_physical()
1220 gotall = video->SetColors(video, firstcolor, ncolors, colors); in SetPalette_physical()
1243 SDL_Color *colors, int firstcolor, int ncolors) in SDL_SetPalette() argument
1267 if ( ncolors > (palsize - firstcolor) ) { in SDL_SetPalette()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/
DSDL_ggivideo.c55 static int GGI_SetColors(_THIS, int firstcolor, int ncolors,
355 int GGI_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in GGI_SetColors() argument
368 ggiSetPalette(VIS, firstcolor, ncolors, pal); in GGI_SetColors()
/external/qemu/distrib/sdl-1.2.12/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() argument
/external/qemu/distrib/sdl-1.2.12/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() argument
357 aa_setpalette(AA_palette, firstcolor + i, in AA_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
DSDL_xbios.c72 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
817 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in XBIOS_SetColors() argument
831 TT_palette[firstcolor+i]=((r*30)+(v*59)+(b*11))/100; in XBIOS_SetColors()
845 EsetPalette(firstcolor,ncolors,TT_palette); in XBIOS_SetColors()
858 VsetRGB(firstcolor,ncolors,F30_palette); in XBIOS_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/
DSDL_romvideo.c59 static int ROM_SetColors(_THIS, int firstcolor, int ncolors,
671 static int ROM_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in ROM_SetColors() argument
684 if ( (firstcolor+ncolors) > ((**cTab).ctSize+1) ) { in ROM_SetColors()
690 int j = firstcolor + i; in ROM_SetColors()
/external/qemu/distrib/sdl-1.2.12/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() argument
361 pal += firstcolor*2; in WIMP_SetColors()
DSDL_riscosFullScreenVideo.c65 static int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
533 int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in FULLSCREEN_SetColors() argument
547 palette[firstcolor] = ((colors->b) << 24) | ((colors->g) << 16) | ((colors->r) << 8); in FULLSCREEN_SetColors()
548 firstcolor++; in FULLSCREEN_SetColors()
/external/qemu/distrib/sdl-1.2.12/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() argument
413 GrSetSystemPalette (firstcolor, & pal) ; in NX_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/
DSDL_DirectFB_video.c57 static int DirectFB_SetColors(_THIS, int firstcolor, int ncolors,
1054 int DirectFB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in DirectFB_SetColors() argument
1061 if (firstcolor > 255) in DirectFB_SetColors()
1064 if (firstcolor + ncolors > 256) in DirectFB_SetColors()
1065 ncolors = 256 - firstcolor; in DirectFB_SetColors()
1080 palette->SetEntries (palette, entries, ncolors, firstcolor); in DirectFB_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/svga/
DSDL_svgavideo.c57 static int SVGA_SetColors(_THIS, int firstcolor, int ncolors,
538 int SVGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in SVGA_SetColors() argument
543 vga_setpalette(firstcolor + i, in SVGA_SetColors()
/external/qemu/distrib/sdl-1.2.12/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() argument
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/
DSDL_vglvideo.c51 static int VGL_SetColors(_THIS, int firstcolor, int ncolors,
446 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in VGL_SetColors() argument
451 VGLSetPaletteIndex(firstcolor + i, in VGL_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11video.c66 static int X11_SetColors(_THIS, int firstcolor, int ncolors,
1351 int X11_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in X11_SetColors() argument
1367 xcmap[i].pixel = i + firstcolor; in X11_SetColors()
1396 int pixel = firstcolor + i; in X11_SetColors()
1407 SDL_memcpy(want, colors + firstcolor, ncolors * sizeof(SDL_Color)); in X11_SetColors()
1410 SDL_memset(colors + firstcolor, 0, ncolors * sizeof(SDL_Color)); in X11_SetColors()
/external/qemu/distrib/sdl-1.2.12/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() argument
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_video.h424 SDL_Color *colors, int firstcolor, int ncolors);
443 SDL_Color *colors, int firstcolor,
/external/qemu/distrib/sdl-1.2.12/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() argument
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/
DSDL_epocvideo.cpp85 static int EPOC_SetColors(_THIS, int firstcolor, int ncolors,
326 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in EPOC_SetColors() argument
328 for(int i = firstcolor; i < ncolors; i++) { in EPOC_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/
DSDL_dspvideo.c156 static int DSp_SetColors(_THIS, int firstcolor, int ncolors,
1350 static int DSp_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in DSp_SetColors() argument
1359 if ( (firstcolor+ncolors) > ((**cTab).ctSize+1) ) { in DSp_SetColors()
1365 int j = firstcolor + i; in DSp_SetColors()
/external/qemu/distrib/sdl-1.2.12/src/video/windib/
DSDL_dibvideo.c74 static int DIB_SetColors(_THIS, int firstcolor, int ncolors,
937 int DIB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
954 entry = &screen_logpal->palPalEntry[firstcolor+i];
996 SetDIBColorTable(mdc, firstcolor, ncolors, pal);
/external/qemu/distrib/sdl-1.2.12/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() argument
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsvideo.c48 static int GS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
661 static int GS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) in GS_SetColors() argument
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/
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) in iPod_SetColors() argument

12