/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/sdl-1.2.12/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 | 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_video.c | 265 0, vf->palette->ncolors, vf->palette->colors); 537 SDL_VideoSurface->format->palette->ncolors* 703 video->SetColors(this, 0, vf->palette->ncolors, 1135 int firstcolor, int ncolors) 1142 ncolors * sizeof(*colors)); 1155 ncolors * sizeof(*colors)); 1162 SDL_Color *colors, int firstcolor, int ncolors) 1172 colors, ncolors * sizeof(*colors)); 1196 video->gammacols = SDL_malloc(pp->ncolors 1201 pp->ncolors); [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/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...] |
/prebuilt/linux-x86/toolchain/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
|
/external/qemu/distrib/sdl-1.2.12/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.12/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.12/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.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/xbios/ |
SDL_xbios.c | 72 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) 825 for (i=0;i<ncolors;i++) 836 for(i = 0; i < ncolors; i++) 845 EsetPalette(firstcolor,ncolors,TT_palette); 849 for(i = 0; i < ncolors; i++) 858 VsetRGB(firstcolor,ncolors,F30_palette);
|
/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...] |
/external/qemu/distrib/sdl-1.2.12/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.12/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.12/src/video/windx5/ |
SDL_dx5video.c | 409 static int DX5_SetColors(_THIS, int firstcolor, int ncolors, [all...] |
/external/qemu/distrib/sdl-1.2.12/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);
|
/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/riscos/ |
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) 362 for (j = 0; j < ncolors; j++)
|
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
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) 542 for(i = 0; i < ncolors; i++) {
|
/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...] |