/external/qemu/distrib/sdl-1.2.15/test/ |
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/jpeg/ |
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;
|
rdrle.c | 124 if (source->header.ncolors == 1 && source->header.ncmap == 0) { 127 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) { 131 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) { 135 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) { 139 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) { 166 (JDIMENSION) (width * source->header.ncolors), 296 for (channel = 0; channel < source->header.ncolors; channel++) {
|
/external/qemu/distrib/jpeg-6b/ |
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;
|
rdrle.c | 124 if (source->header.ncolors == 1 && source->header.ncmap == 0) { 127 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) { 131 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) { 135 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) { 139 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) { 166 (JDIMENSION) (width * source->header.ncolors), 296 for (channel = 0; channel < source->header.ncolors; channel++) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
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; ++i ) [all...] |
SDL_pixels_c.h | 46 extern void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors);
|
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 ) {
|
SDL_video.c | 271 0, vf->palette->ncolors, vf->palette->colors); 545 SDL_VideoSurface->format->palette->ncolors* 720 video->SetColors(this, 0, vf->palette->ncolors, 1157 int firstcolor, int ncolors) 1164 ncolors * sizeof(*colors)); 1177 ncolors * sizeof(*colors)); 1184 SDL_Color *colors, int firstcolor, int ncolors) 1194 colors, ncolors * sizeof(*colors)); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11video.c | 66 static int X11_SetColors(_THIS, int firstcolor, int ncolors, 987 int ncolors; local 990 ncolors = SDL_Visual->map_entries; 991 SDL_XPixels = SDL_malloc(ncolors * sizeof(int)); 996 SDL_memset(SDL_XPixels, 0, ncolors * sizeof(*SDL_XPixels)); 1469 int i, ncolors; local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
XWDFile.h | 87 CARD32 ncolors B32; /* Number of XWDColor structures */ 98 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
XWDFile.h | 87 CARD32 ncolors B32; /* Number of XWDColor structures */ 98 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
XWDFile.h | 87 CARD32 ncolors B32; /* Number of XWDColor structures */ 98 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
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) 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/dummy/ |
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)
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
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) 361 for (i = 0; i < ncolors; i++) 368 ggiSetPalette(VIS, firstcolor, ncolors, pal);
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
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) 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/dga/ |
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) 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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
SDL_dibvideo.c | 95 static int DIB_SetColors(_THIS, int firstcolor, int ncolors, 308 int ncolors; local 310 ncolors = (1 << bpp); 312 ncolors*sizeof(PALETTEENTRY)); 314 palette->palNumEntries = ncolors; 316 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry); 859 binfo_size += video->format->palette->ncolors * 892 video->format->palette->ncolors*sizeof(RGBQUAD)); 1014 int DIB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) 1030 for ( i=0; i<ncolors; ++i ) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
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) 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/aalib/ |
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) 356 for ( i=0; i < ncolors; i++ ) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
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) 483 int i,j=firstcolor+ncolors;
|
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
SDL_dx5video.c | 425 static int DX5_SetColors(_THIS, int firstcolor, int ncolors, [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
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) 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/directfb/ |
SDL_DirectFB_video.c | 57 static int DirectFB_SetColors(_THIS, int firstcolor, int ncolors, 310 palette->ncolors = size; 1054 int DirectFB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) 1064 if (firstcolor + ncolors > 256) 1065 ncolors = 256 - firstcolor; 1067 if (ncolors > 0) 1070 DFBColor entries[ncolors]; 1072 for (i=0; i<ncolors; i++) 1080 palette->SetEntries (palette, entries, ncolors, firstcolor);
|