/external/qemu/distrib/sdl-1.2.15/test/ |
README | 25 testpalette Tests palette color cycling
|
/external/quake/quake/src/WinQuake/ |
view.h | 24 extern byte gammatable[256]; // palette is sent through this
|
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...] |
winquake.rc | 78 LTEXT "Creating 15 bit inverse palette. This is only done once, so just be patient for the next 30-60 seconds.",
|
/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)];
|
/external/qemu/distrib/sdl-1.2.15/docs/html/ |
guidevideo.html | 224 * Palettized screen modes will have a default palette (a standard 226 * use that palette for a nicer colour matching 228 if (image->format->palette && screen->format->palette) { 229 SDL_SetColors(screen, image->format->palette->colors, 0, 230 image->format->palette->ncolors); 371 Note: If the display is palettized, you must set the palette first.
|
sdlpixelformat.html | 94 SDL_Palette *palette; 129 >palette</I 137 >palette</A 313 >palette</I 345 >palette</I 379 color=fmt->palette->colors[index]; 391 pixels themselves, not in a palette. The mask, shift and loss fields tell us
|
/external/quake/quake/src/QW/dxsdk/sdk/inc/ |
d3drmdef.h | 126 palette otherwise, pixels encode
143 palette. For instance, most SVGA
147 int palette_size; /* number of entries in palette */
148 D3DRMPALETTEENTRY* palette; /* description of the palette (only if
member in struct:_D3DRMIMAGE
|
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/ |
D3DRMDEF.H | 126 palette otherwise, pixels encode
143 palette. For instance, most SVGA
147 int palette_size; /* number of entries in palette */
148 D3DRMPALETTEENTRY* palette; /* description of the palette (only if
member in struct:_D3DRMIMAGE
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
QtFallbackWebPopup.cpp | 130 QPalette palette = m_combo->palette(); 132 palette.setColor(QPalette::Background, backgroundColor); 134 palette.setColor(QPalette::Foreground, foregroundColor); 135 m_combo->setPalette(palette);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_video.c | 262 #if 0 /* Don't change the current palette - may be used by other programs. 266 /* If we have a palettized surface, create a default palette */ 267 if ( SDL_VideoSurface->format->palette ) { 269 SDL_DitherColors(vf->palette->colors, vf->BitsPerPixel); 271 0, vf->palette->ncolors, vf->palette->colors); 539 /* 8-bit shadow surfaces report that they have exclusive palette */ 540 if ( SDL_ShadowSurface->format->palette ) { 543 SDL_memcpy(SDL_ShadowSurface->format->palette->colors, 544 SDL_VideoSurface->format->palette->colors [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 177 if (!data.palette.isDirect && data.depth <= 8) 188 RGB rgb = data.palette.getRGB(pixels[x]); 204 // pick the most frequently used 256 (or fewer), and make a palette 214 rgbs[rgbs.length - 1] = data.transparentPixel != -1 ? data.palette.getRGB(data.transparentPixel) : new RGB(255, 255, 255); 216 PaletteData palette = new PaletteData(rgbs); local 218 // create a new image using the new palette: 220 // index in the new palette 221 ImageData newData = new ImageData(width, data.height, 8, palette); 232 RGB rgb = data.palette.getRGB(pixels[x]);
|
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_video.c | 412 /* save current palette */ 514 /* using palette emulation code in window mode */ 570 /* restore palette */ 603 /* palette emulation code, using palette of the PhImage_t struct */ 606 if ((SDL_Image) && (SDL_Image->palette)) 611 SDL_Image->palette[i] = syspalph[i]; 629 /* window mode must use soft palette */ 636 /* fullscreen mode must use hardware palette */
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtilsTest.java | 64 PaletteData outPalette = outData.palette; 120 PaletteData outPalette = outData.palette; 151 PaletteData outPalette = outData.palette; 188 PaletteData outPalette = outData.palette; 247 PaletteData outPalette = outData.palette; 286 PaletteData outPalette = outData.palette;
|
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/ |
SDL_lowvideo.h | 99 /* Called by windows message loop when system palette is available */ 102 /* Called by windows message loop when the system palette changes */
|
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
SDL_xbios.h | 52 void *old_palette; /* Old palette */ 53 Uint32 old_num_colors; /* Nb of colors in saved palette */
|
/external/webkit/Tools/QtTestBrowser/ |
locationedit.cpp | 102 QColor backgroundColor = QApplication::palette().color(QPalette::Base); 104 QPalette p = palette();
|
/packages/wallpapers/Basic/res/values-en-rGB/ |
strings.xml | 44 <string name="palette" msgid="1636154448241520718">"Colour palette"</string>
|
/packages/wallpapers/Basic/res/values-fr/ |
strings.xml | 44 <string name="palette" msgid="1636154448241520718">"Palette de couleurs"</string>
|
/packages/wallpapers/Basic/res/values-tl/ |
strings.xml | 44 <string name="palette" msgid="1636154448241520718">"Color palette"</string>
|
/external/opencv/ |
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/caca/ |
SDL_cacavideo.h | 63 #define Caca_palette (this->hidden->palette)
|
/external/quake/quake/src/QW/client/ |
gl_vidandroid.c | 58 void VID_SetPalette (unsigned char *palette) 77 pal = palette; 216 void VID_Init(unsigned char *palette) 251 VID_SetPalette(palette);
|
winquake.rc | 80 LTEXT "Creating 15 bit inverse palette. This is only done once, so just be patient for the next 30-60 seconds.",
|