/external/jpeg/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; local 55 for (index = 0; index < ncolors; index++) { 63 if (ncolors >= (MAXJSAMPLE+1)) 67 colormap0[ncolors] = (JSAMPLE) R; 68 colormap1[ncolors] = (JSAMPLE) G; 69 colormap2[ncolors] = (JSAMPLE) B;
|
/external/qemu/distrib/jpeg-6b/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; local 55 for (index = 0; index < ncolors; index++) { 63 if (ncolors >= (MAXJSAMPLE+1)) 67 colormap0[ncolors] = (JSAMPLE) R; 68 colormap1[ncolors] = (JSAMPLE) G; 69 colormap2[ncolors] = (JSAMPLE) B;
|
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/ |
H A 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) argument
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testwin.c | 27 int ncolors; local 44 ncolors = picture->format->palette->ncolors; 45 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); 46 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); 48 ncolors*sizeof(SDL_Color)); 53 ncolors = 256; 54 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); 55 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color)); 70 if ( ! SDL_SetColors(screen, colors, 0, ncolors) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_bmp.c | 252 palette->ncolors = biClrUsed; 467 biClrUsed = surface->format->palette->ncolors; 489 int ncolors; local 492 ncolors = surface->format->palette->ncolors; 493 for ( i=0; i<ncolors; ++i ) {
|
H A D | SDL_pixels.c | 122 int ncolors = 1<<bpp; local 124 fprintf(stderr,"bpp=%d ncolors=%d\n",bpp,ncolors); 132 (format->palette)->ncolors = ncolors; 134 (format->palette)->ncolors*sizeof(SDL_Color)); 186 for(i=0; i < ncolors; ++i) { 208 } else if ( ncolors == 2 ) { 219 (format->palette)->ncolors*sizeof(SDL_Color)); 323 for ( i=0; i<pal->ncolors; 423 SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
H A 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) argument 356 for ( i=0; i < ncolors; i++ ) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
H A 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) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
H A D | SDL_ggivideo.c | 55 static int GGI_SetColors(_THIS, int firstcolor, int ncolors, 355 int GGI_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 361 for (i = 0; i < ncolors; i++) 368 ggiSetPalette(VIS, firstcolor, ncolors, pal);
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
H A D | SDL_nxvideo.c | 45 static int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) ; 397 // ncolors <= 256 398 int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) argument 405 if (ncolors > 256) return 0 ; 407 pal.count = ncolors ; 408 for (i = 0; i < ncolors; ++ i) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
H A 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) argument 483 int i,j=firstcolor+ncolors;
|
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
H A D | SDL_ph_video.c | 47 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) argument 608 for (i=firstcolor; i<firstcolor+ncolors; i++) 622 for (i=firstcolor; i<firstcolor+ncolors; i++) 630 PgSetPalette(&syspalph[firstcolor], 0, firstcolor, ncolors, Pg_PALSET_GLOBAL, 0); 637 PgSetPalette(&syspalph[firstcolor], 0, firstcolor, ncolors, Pg_PALSET_GLOBAL, 0);
|
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/ |
H A 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) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
H A 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) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A 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) argument 362 for (j = 0; j < ncolors; j++)
|
H A D | SDL_riscosFullScreenVideo.c | 65 static int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 533 int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 545 while(ncolors--)
|
/external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
H A D | SDL_svgavideo.c | 57 static int SVGA_SetColors(_THIS, int firstcolor, int ncolors, 538 int SVGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 542 for(i = 0; i < ncolors; i++) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
H A D | SDL_epocvideo.cpp | 118 static int EPOC_SetColors(_THIS, int firstcolor, int ncolors, 290 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 292 if ((firstcolor+ncolors) > 256) 299 for(int i = firstcolor; i < ncolors; i++) 310 for(int i = firstcolor; i < ncolors; i++) 323 for(int i = firstcolor; i < ncolors; i++) 337 if(EpocSdlEnv::SetPalette(firstcolor, ncolors, palette) == KErrNone)
|
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/ |
H A D | SDL_vglvideo.c | 51 static int VGL_SetColors(_THIS, int firstcolor, int ncolors, 438 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 442 for(i = 0; i < ncolors; i++) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysvideo.cc | 50 static int BE_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 788 int BE_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/macrom/ |
H A D | SDL_romvideo.c | 59 static int ROM_SetColors(_THIS, int firstcolor, int ncolors, 671 static int ROM_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 684 if ( (firstcolor+ncolors) > ((**cTab).ctSize+1) ) { 689 for ( i=0; i< ncolors; ++i ) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsvideo.c | 48 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) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
H A 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) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
H A D | SDL_xbios.c | 77 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 975 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 984 for (i=0;i<ncolors;i++) 995 for(i = 0; i < ncolors; i++) 1003 EsetPalette(firstcolor,ncolors,TT_palette); 1007 for(i = 0; i < ncolors; i++) 1015 VsetRGB(firstcolor,ncolors,F30_palette);
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
H A D | SDL_dgavideo.c | 50 static int DGA_SetColors(_THIS, int firstcolor, int ncolors, 994 static int DGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 1003 xcmap = SDL_stack_alloc(XColor, ncolors); 1004 for ( i=0; i<ncolors; ++i ) { 1012 XStoreColors(DGA_Display, DGA_colormap, xcmap, ncolors); 1023 int i, ncolors; local 1034 ncolors = 64; /* Is this right? */ 1036 ncolors = 256; 1038 for ( i=0; i<ncolors; ++i ) { 1039 Uint8 c = (256 * i / ncolors); [all...] |