/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;
|
jquant2.c | 660 int i, x, ncolors; local 765 ncolors = 0; 768 colorlist[ncolors++] = (JSAMPLE) i; 770 return ncolors; [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_bmp.c | 233 palette->ncolors = biClrUsed; 438 biClrUsed = surface->format->palette->ncolors; 460 int ncolors; local 463 ncolors = surface->format->palette->ncolors; 464 for ( i=0; i<ncolors; ++i ) {
|
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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgxvideo.c | 50 static int CGX_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 74 Int i, ncolors; 84 ncolors = SDL_Visual->map_entries; 85 for ( i=0; i<ncolors; ++i ) { 86 Uint8 c = (256 * i / ncolors); 93 XStoreColors(GFX_Display, SDL_XColorMap, xcmap, ncolors); 755 int ncolors,i; local 761 ncolors=256; 763 ncolors = 1 << screen->format->BitsPerPixel; 765 SDL_XPixels = (Sint32 *)SDL_malloc(ncolors * sizeof(Sint32)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgavideo.c | 55 static int DGA_SetColors(_THIS, int firstcolor, int ncolors, 990 static int DGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) 999 xcmap = SDL_stack_alloc(XColor, ncolors); 1000 for ( i=0; i<ncolors; ++i ) { 1008 XStoreColors(DGA_Display, DGA_colormap, xcmap, ncolors); 1019 int i, ncolors; local 1030 ncolors = 64; /* Is this right? */ 1032 ncolors = 256; 1034 for ( i=0; i<ncolors; ++i ) { 1035 Uint8 c = (256 * i / ncolors); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11video.c | 66 static int X11_SetColors(_THIS, int firstcolor, int ncolors, 967 int ncolors; local 970 ncolors = SDL_Visual->map_entries; 971 SDL_XPixels = SDL_malloc(ncolors * sizeof(int)); 976 SDL_memset(SDL_XPixels, 0, ncolors * sizeof(*SDL_XPixels)); 1444 int i, ncolors; local [all...] |
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_video.h | 57 int ncolors; member in struct:SDL_Palette 424 SDL_Color *colors, int firstcolor, int ncolors); 444 int ncolors); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
SDL_dibvideo.c | 74 static int DIB_SetColors(_THIS, int firstcolor, int ncolors, 274 int ncolors; local 276 ncolors = (1 << bpp); 278 ncolors*sizeof(PALETTEENTRY)); 280 palette->palNumEntries = ncolors; 282 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry); 722 binfo_size += video->format->palette->ncolors * 755 video->format->palette->ncolors*sizeof(RGBQUAD)); 937 int DIB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) 953 for ( i=0; i<ncolors; ++i ) [all...] |
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_video.h | 57 int ncolors; member in struct:SDL_Palette 424 SDL_Color *colors, int firstcolor, int ncolors); 444 int ncolors); [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_video.h | 57 int ncolors; member in struct:SDL_Palette 424 SDL_Color *colors, int firstcolor, int ncolors); 444 int ncolors); [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_video.h | 64 int ncolors; member in struct:SDL_Palette 428 SDL_Color *colors, int firstcolor, int ncolors); 448 int ncolors); [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_video.h | 57 int ncolors; member in struct:SDL_Palette 424 SDL_Color *colors, int firstcolor, int ncolors); 444 int ncolors); [all...] |