HomeSort by relevance Sort by last modified time
    Searched refs:palette (Results 26 - 50 of 127) sorted by null

12 3 4 5 6

  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_surface.c 605 if ( dst->format->palette || (color == 0) ) {
800 /* Check for empty destination palette! (results in empty image) */
801 if ( format->palette != NULL ) {
803 for ( i=0; i<format->palette->ncolors; ++i ) {
804 if ( (format->palette->colors[i].r != 0) ||
805 (format->palette->colors[i].g != 0) ||
806 (format->palette->colors[i].b != 0) )
809 if ( i == format->palette->ncolors ) {
810 SDL_SetError("Empty destination palette");
831 /* Copy the palette if any *
    [all...]
SDL_video.c 256 #if 0 /* Don't change the current palette - may be used by other programs.
260 /* If we have a palettized surface, create a default palette */
261 if ( SDL_VideoSurface->format->palette ) {
263 SDL_DitherColors(vf->palette->colors, vf->BitsPerPixel);
265 0, vf->palette->ncolors, vf->palette->colors);
531 /* 8-bit shadow surfaces report that they have exclusive palette */
532 if ( SDL_ShadowSurface->format->palette ) {
535 SDL_memcpy(SDL_ShadowSurface->format->palette->colors,
536 SDL_VideoSurface->format->palette->colors
    [all...]
  /external/quake/quake/src/QW/client/
gl_vidnt.c 373 int VID_SetMode (int modenum, unsigned char *palette)
444 VID_SetPalette (palette);
468 VID_SetPalette (palette);
703 void VID_SetPalette (unsigned char *palette)
720 pal = palette;
765 void VID_ShiftPalette (unsigned char *palette)
769 // VID_SetPalette (palette);
1542 unsigned char palette[768]; local
    [all...]
vid_x.c 360 // the palette data will go away after the call, so it must be copied off if
363 void VID_Init (unsigned char *palette)
526 // create and upload the palette
530 VID_SetPalette(palette);
607 void VID_SetPalette(unsigned char *palette)
614 st2d_8to16table[i]= xlib_rgb(palette[i*3],
615 palette[i*3+1],palette[i*3+2]);
619 if (palette != current_palette)
620 memcpy(current_palette, palette, 768);
    [all...]
gl_vidlinux_x11.c 124 unsigned char palette[768]; local
139 palette[i] = inf;
142 VID_SetPalette (palette);
436 void VID_SetPalette (unsigned char *palette)
453 pal = palette;
638 void VID_Init(unsigned char *palette)
759 VID_SetPalette(palette);
gl_vidlinux.c 210 void VID_SetPalette (unsigned char *palette)
229 pal = palette;
555 void VID_Init(unsigned char *palette)
637 VID_SetPalette(palette);
vid_win.c     [all...]
  /external/quake/quake/src/WinQuake/
gl_vidnt.cpp 373 int VID_SetMode (int modenum, unsigned char *palette)
444 VID_SetPalette (palette);
468 VID_SetPalette (palette);
703 void VID_SetPalette (unsigned char *palette)
720 pal = palette;
765 void VID_ShiftPalette (unsigned char *palette)
769 // VID_SetPalette (palette);
1542 unsigned char palette[768]; local
    [all...]
vid_sunx.cpp 509 // the palette data will go away after the call, so it must be copied off if
569 void VID_Init (unsigned char *palette)
729 // create and upload the palette
733 VID_SetPalette(palette);
813 void VID_SetPalette(unsigned char *palette)
820 st2d_8to16table[i]= xlib_rgb16(palette[i*3], palette[i*3+1],palette[i*3+2]);
821 st2d_8to24table[i]= xlib_rgb24(palette[i*3], palette[i*3+1],palette[i*3+2])
    [all...]
vid_x.cpp 439 // the palette data will go away after the call, so it must be copied off if
442 void VID_Init (unsigned char *palette)
601 // create and upload the palette
605 VID_SetPalette(palette);
681 void VID_SetPalette(unsigned char *palette)
688 st2d_8to16table[i]= xlib_rgb16(palette[i*3], palette[i*3+1],palette[i*3+2]);
689 st2d_8to24table[i]= xlib_rgb24(palette[i*3], palette[i*3+1],palette[i*3+2])
    [all...]
vid_dos.h 37 unsigned char *palette);
screen.cpp 533 unsigned char palette[48]; member in struct:__anon7222
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
gl_vidlinuxglx.cpp 487 void VID_SetPalette (unsigned char *palette)
503 pal = palette;
695 unsigned char palette[768]; local
715 palette[i] = inf;
718 memcpy (pal, palette, sizeof(palette));
721 void VID_Init(unsigned char *palette)
900 VID_SetPalette(palette);
vid_sunxil.cpp 324 // the palette data will go away after the call, so it must be copied off if
383 void VID_Init (unsigned char *palette)
575 // create and upload the palette
578 VID_SetPalette(palette);
712 void VID_SetPalette(unsigned char *palette)
719 if (palette != current_palette)
720 memcpy(current_palette, palette, 768);
725 colors[i].red = vid_gamma[palette[i*3]] * 257;
726 colors[i].green = vid_gamma[palette[i*3+1]] * 257;
727 colors[i].blue = vid_gamma[palette[i*3+2]] * 257
    [all...]
vid_win.cpp     [all...]
  /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c 130 /* Color palette used for rendering the plasma */
138 static uint16_t palette[PALETTE_SIZE]; variable
153 palette[nn] = make565(255, jj, 255-jj);
158 palette[nn] = make565(255-jj, 255, jj);
163 palette[nn] = make565(0, 255-jj, 255);
168 palette[nn] = make565(jj, 0, 255);
177 return palette[idx & (PALETTE_SIZE-1)];
  /development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c 135 /* Color palette used for rendering the plasma */
143 static uint16_t palette[PALETTE_SIZE]; variable
158 palette[nn] = make565(255, jj, 255-jj);
163 palette[nn] = make565(255-jj, 255, jj);
168 palette[nn] = make565(0, 255-jj, 255);
173 palette[nn] = make565(jj, 0, 255);
182 return palette[idx & (PALETTE_SIZE-1)];
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
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 for fullscreen *
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzVideo.h 43 - SetColors sets palette correctly but clears framebuffer
88 CGDirectPaletteRef palette; /* palette of an 8-bit display */ member in struct:SDL_PrivateVideoData
134 #define palette (this->hidden->palette) macro
  /external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
SDL_syswm.c 120 pal_256 = icon_256->format->palette;
121 if (icon->format->palette &&
124 SDL_memcpy(pal_256->colors, icon->format->palette->colors,
  /external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
SDL_sysvideo.cc 775 /* Is the system palette settable? */
779 SDL_Palette *palette; local
783 palette = _this->screen->format->palette;
785 palette->colors[i].r = cmap->color_list[i].red;
786 palette->colors[i].g = cmap->color_list[i].green;
787 palette->colors[i].b = cmap->color_list[i].blue;
  /external/qemu/distrib/sdl-1.2.12/src/video/windib/
SDL_dibvideo.c 270 moved palette creation here from "DIB_VideoInit" */
272 LOGPALETTE *palette; local
277 palette = (LOGPALETTE *)SDL_malloc(sizeof(*palette)+
279 palette->palVersion = 0x300;
280 palette->palNumEntries = ncolors;
282 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry);
284 screen_pal = CreatePalette(palette);
285 screen_logpal = palette;
375 /* Grab an identity palette if we are in a palettized mode *
    [all...]
  /external/webkit/WebCore/platform/qt/
RenderThemeQt.cpp 257 QPalette pal = QApplication::palette();
263 QPalette pal = QApplication::palette();
269 QPalette pal = QApplication::palette();
275 QPalette pal = QApplication::palette();
773 void RenderThemeQt::setPaletteFromPageClientIfExists(QPalette& palette) const
777 palette = lightGrayPalette;
780 // If the webview has a custom palette, use it
792 palette = pageClient->palette();
812 setPaletteFromPageClientIfExists(option.palette);
    [all...]
ScrollbarThemeQt.cpp 160 p.painter->fillRect(opt->rect, opt->palette.background());
237 context->fillRect(rect, QApplication::palette().color(QPalette::Normal, QPalette::Window), DeviceColorSpace);
  /external/qemu/distrib/sdl-1.2.12/src/video/windx5/
SDL_dx5video.c 764 error = "No palette attached";
767 error = "No palette hardware";
2465 SDL_Palette *palette; local
    [all...]

Completed in 372 milliseconds

12 3 4 5 6