/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
H A D | SDL_aavideo.h | 42 aa_palette palette; member in struct:SDL_PrivateVideoData 54 #define AA_palette (this->hidden->palette)
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testbitmap.c | 65 SDL_Color palette[256]; local 108 palette[i].r = 255-i; 109 palette[i].g = 255-i; 110 palette[i].b = 255-i; 112 SDL_SetColors(screen, palette, 0, 256);
|
H A D | graywin.c | 109 SDL_Color palette[NUM_COLORS]; local 124 palette[i].r = (NUM_COLORS-1)-i * (256 / NUM_COLORS); 125 palette[i].g = (NUM_COLORS-1)-i * (256 / NUM_COLORS); 126 palette[i].b = (NUM_COLORS-1)-i * (256 / NUM_COLORS); 128 SDL_SetColors(screen, palette, 0, NUM_COLORS);
|
H A D | threadwin.c | 46 if ( icon->format->palette == NULL ) { 47 fprintf(stderr, "Icon must have a palette!\n"); 58 icon->format->palette->colors[*pixels].r, 59 icon->format->palette->colors[*pixels].g, 60 icon->format->palette->colors[*pixels].b); 230 SDL_Color palette[256]; local 304 palette[i].r = 255-i; 305 palette[i].g = 255-i; 306 palette[i].b = 255-i; 308 SDL_SetColors(screen, palette, [all...] |
H A D | testwm.c | 28 SDL_Color palette[256]; local 41 palette[i].r = 255-i; 42 palette[i].g = 255-i; 43 palette[i].b = 255-i; 45 SDL_SetColors(screen, palette, 0, 256); 88 if ( icon->format->palette == NULL ) { 89 fprintf(stderr, "Icon must have a palette!\n"); 100 icon->format->palette->colors[*pixels].r, 101 icon->format->palette->colors[*pixels].g, 102 icon->format->palette [all...] |
/external/quake/quake/src/QW/client/ |
H A D | vid_null.c | 18 void VID_SetPalette (unsigned char *palette) argument 22 void VID_ShiftPalette (unsigned char *palette) argument 26 void VID_Init (unsigned char *palette) argument
|
H A D | gl_vidandroid.c | 58 void VID_SetPalette (unsigned char *palette) argument 77 pal = palette; 216 void VID_Init(unsigned char *palette) argument 251 VID_SetPalette(palette);
|
H A D | gl_vidlinuxglx.c | 382 void VID_SetPalette (unsigned char *palette) argument 401 pal = palette; 586 void VID_Init(unsigned char *palette) argument 696 VID_SetPalette(palette);
|
/external/quake/quake/src/WinQuake/ |
H A D | vid_null.cpp | 37 void VID_SetPalette (unsigned char *palette)
argument 41 void VID_ShiftPalette (unsigned char *palette)
argument 45 void VID_Init (unsigned char *palette)
argument
|
H A D | screen.cpp | 533 unsigned char palette[48]; member in struct:__anon12440 548 int rowbytes, byte *palette) 571 Q_memset (pcx->palette,0,sizeof(pcx->palette)); 596 // write the palette 597 *pack++ = 0x0c; // palette ID byte 599 *pack++ = *palette++; 792 cl.cshifts[0].percent = 0; // no area contents palette on next frame 547 WritePCXfile(char *filename, byte *data, int width, int height, int rowbytes, byte *palette) argument
|
H A D | vid_dos.cpp | 90 void VID_Init (unsigned char *palette)
argument 123 VID_SetMode (vid_modenum, palette);
198 int VID_SetMode (int modenum, unsigned char *palette)
argument 243 if (!VID_SetMode (vid_modenum, palette)) // restore prior mode
265 (*pcurrentmode->setpalette) (&vid, pcurrentmode, palette);
285 void VID_SetPalette (unsigned char *palette)
argument 287 if (palette != vid_current_palette)
288 Q_memcpy(vid_current_palette, palette, 768);
298 void VID_ShiftPalette (unsigned char *palette)
argument 301 VID_SetPalette (palette);
[all...] |
/external/opencv/otherlibs/highgui/ |
H A D | grfmt_bmp.cpp | 507 PaletteEntry palette[256]; local 532 FillGrayPalette( palette, 8 ); 533 m_strm.PutBytes( palette, sizeof(palette));
|
H A D | grfmt_pxm.cpp | 201 PaletteEntry palette[256]; local 227 FillGrayPalette( palette, m_bpp==1 ? 1 : 8 , m_bpp == 1 ); 246 FillColorRow8( data, src, m_width, palette ); 258 FillColorRow1( data, src, m_width, palette );
|
H A D | utils.cpp | 341 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries ) argument 346 icvCvt_BGR2Gray_8u_C3C1R( (uchar*)(palette + i), 0, grayPalette + i, 0, cvSize(1,1) ); 351 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative ) argument 359 palette[i].b = palette[i].g = palette[i].r = (uchar)val; 360 palette[i].a = 0; 365 bool IsColorPalette( PaletteEntry* palette, int bpp ) argument 371 if( palette[i].b != palette[ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_bmp.c | 58 SDL_Palette *palette; local 231 /* Load the palette, if any */ 232 palette = (surface->format)->palette; 233 if ( palette ) { 239 SDL_RWread(src, &palette->colors[i].b, 1, 1); 240 SDL_RWread(src, &palette->colors[i].g, 1, 1); 241 SDL_RWread(src, &palette->colors[i].r, 1, 1); 242 palette->colors[i].unused = 0; 246 SDL_RWread(src, &palette [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
H A D | SDL_ph_image.c | 37 PgColor_t* palette=NULL; local 73 /* palette emulation code */ 76 /* creating image palette */ 77 palette=SDL_malloc(_Pg_MAX_PALETTE*sizeof(PgColor_t)); 78 if (palette==NULL) 80 SDL_SetError("ph_SetupImage(): can't allocate memory for palette !\n"); 83 PgGetPalette(palette); 86 if ((SDL_Image = PhCreateImage(NULL, screen->w, screen->h, type, palette, _Pg_MAX_PALETTE, 1)) == NULL) 89 SDL_free(palette); 193 /* store palette fo [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
H A D | SDL_QuartzVideo.h | 43 - SetColors sets palette correctly but clears framebuffer 94 CGDirectPaletteRef palette; /* palette of an 8-bit display */ member in struct:SDL_PrivateVideoData 134 #define palette (this->hidden->palette) macro
|
/external/webkit/Source/WebKit/qt/Api/ |
H A D | qwebpage_p.h | 202 QPalette palette; member in class:QWebPagePrivate
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
H A D | PageClientQt.cpp | 221 QPalette PageClientQWidget::palette() const function in class:WebCore::PageClientQWidget 223 return view->palette(); 405 QPalette PageClientQGraphicsWidget::palette() const function in class:WebCore::PageClientQGraphicsWidget 407 return view->palette();
|
/external/opencv/ |
H A D | cvjni.h | 184 PaletteEntry palette[256];
local 214 FillGrayPalette( palette, 8 );
215 m_strm->PutBytes( palette, sizeof(palette));
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysvideo.cc | 787 /* Is the system palette settable? */ 791 SDL_Palette *palette; local 795 palette = _this->screen->format->palette; 797 palette->colors[i].r = cmap->color_list[i].red; 798 palette->colors[i].g = cmap->color_list[i].green; 799 palette->colors[i].b = cmap->color_list[i].blue;
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | SDL_riscosFullScreenVideo.c | 215 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */ 536 int palette[256]; local 540 regs.r[2] = (int)palette; 547 palette[firstcolor] = ((colors->b) << 24) | ((colors->g) << 16) | ((colors->r) << 8); 554 regs.r[2] = (int)palette; 683 /* Note: Need to set ModeFlags to 128 and NColour variables to 255 get full 8 bit palette */ 763 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */
|
/external/libpng/ |
H A D | pngget.c | 730 png_get_PLTE(png_structp png_ptr, png_infop info_ptr, png_colorp *palette, argument 736 && palette != NULL) 738 *palette = info_ptr->palette;
|
/external/qemu/distrib/libpng-1.2.19/ |
H A D | pngget.c | 694 png_get_PLTE(png_structp png_ptr, png_infop info_ptr, png_colorp *palette, argument 698 && palette != NULL) 701 *palette = info_ptr->palette;
|
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
H A D | SDL_DirectFB_video.c | 215 IDirectFBPalette *palette; member in struct:private_hwdata 293 SDL_Palette *palette; local 296 palette = SDL_calloc (1, sizeof(SDL_Palette)); 297 if (!palette) 310 palette->ncolors = size; 311 palette->colors = colors; 313 return palette; 354 if (!format->palette) 355 format->palette = AllocatePalette(256); 608 /* And its palette i 1056 IDirectFBPalette *palette = this->screen->hwdata->palette; local 1093 IDirectFBPalette *palette = this->screen->hwdata->palette; local [all...] |