/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
SDL_epocvideo.cpp | 294 TUint32 palette[256]; 298 // Set 12 bit palette 305 palette[i] = color4K; 318 palette[i] = color64K; 330 palette[i] = color16M; 337 if(EpocSdlEnv::SetPalette(firstcolor, ncolors, palette) == KErrNone)
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/ |
example.js | 25 [], // Placeholder for the palette of the currently selected preset. 216 $('palette').addEventListener('change', loadSelectedPalette); 284 var selectedPalette = $('palette').value; 289 // Only change the palette if it is set to "Default", which means to use 290 // the preset default palette. 295 // Save the current palette in slot 0: "Default". 300 loadPalette($('palette').value);
|
/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...] |
SDL_gamma.c | 175 SDL_Palette *pal = screen->format->palette; 177 /* If physical palette has been set independently, use it */
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
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/windib/ |
SDL_dibvideo.c | 304 moved palette creation here from "DIB_VideoInit" */ 306 LOGPALETTE *palette; local 311 palette = (LOGPALETTE *)SDL_malloc(sizeof(*palette)+ 313 palette->palVersion = 0x300; 314 palette->palNumEntries = ncolors; 316 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry); 318 screen_pal = CreatePalette(palette); 319 screen_logpal = palette; 411 /* Grab an identity palette if we are in a palettized mode * [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_compositor.h | 201 struct pipe_sampler_view *palette,
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.h | 201 struct pipe_sampler_view *palette,
|
/external/opencv/otherlibs/highgui/ |
grfmt_bmp.cpp | 507 PaletteEntry palette[256]; local 532 FillGrayPalette( palette, 8 ); 533 m_strm.PutBytes( palette, sizeof(palette));
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testwin.c | 43 if ( picture->format->palette ) { 44 ncolors = picture->format->palette->ncolors; 47 memcpy(colors, picture->format->palette->colors, 52 /* Allocate 256 color palette */ 71 (screen->format->palette != NULL) ) {
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/dvb/ |
video.h | 188 typedef struct video_spu_palette { /* SPU Palette information */ 190 uint8_t *palette; member in struct:video_spu_palette
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
video.h | 188 typedef struct video_spu_palette { /* SPU Palette information */ 190 uint8_t *palette; member in struct:video_spu_palette
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
video.h | 188 typedef struct video_spu_palette { /* SPU Palette information */ 190 uint8_t *palette; member in struct:video_spu_palette
|
/external/pixman/test/ |
utils.c | 827 initialize_palette (pixman_indexed_t *palette, uint32_t depth, int is_rgb) 833 palette->ent[i] = prng_rand() & mask; 835 memset (palette->rgba, 0, sizeof (palette->rgba)); 856 old_idx = palette->ent[i15]; 857 if (CONVERT_15 (palette->rgba[old_idx], is_rgb) == i15) 863 palette->rgba[i] = rgba24; 864 palette->ent[i15] = i; 869 assert (palette->ent[CONVERT_15 (palette->rgba[i], is_rgb)] == i) [all...] |
utils.h | 178 initialize_palette (pixman_indexed_t *palette, uint32_t depth, int is_rgb);
|
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
SDL_dx5video.c | 780 error = "No palette attached"; 783 error = "No palette hardware"; 2484 SDL_Palette *palette; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nxvideo.c | 409 pal.palette [i].r = colors [i].r ; 410 pal.palette [i].g = colors [i].g ; 411 pal.palette [i].b = colors [i].b ;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AdtPrefs.java | 62 public final static String PREFS_PALETTE_MODE = AdtPlugin.PLUGIN_ID + ".palette"; //$NON-NLS-1$ 453 public void setPaletteModes(String palette) { 454 mPalette = palette; 458 store.setValue(PREFS_PALETTE_MODE, palette);
|
/external/chromium_org/third_party/freetype/include/freetype/ |
ftimage.h | 230 /* An enumeration type to describe the format of a bitmap palette, */ 234 /* ft_palette_mode_rgb :: The palette is an array of 3-byte RGB */ 237 /* ft_palette_mode_rgba :: The palette is an array of 4-byte RGBA */ 307 /* it indicates how the palette is stored. Not */ 310 /* palette :: A typeless pointer to the bitmap palette; this */ 328 void* palette; member in struct:FT_Bitmap_ [all...] |
/external/freetype/include/freetype/ |
ftimage.h | 230 /* An enumeration type to describe the format of a bitmap palette, */ 234 /* ft_palette_mode_rgb :: The palette is an array of 3-byte RGB */ 237 /* ft_palette_mode_rgba :: The palette is an array of 4-byte RGBA */ 307 /* it indicates how the palette is stored. Not */ 310 /* palette :: A typeless pointer to the bitmap palette; this */ 328 void* palette; member in struct:FT_Bitmap_ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
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 */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
videodev.h | 76 __u16 palette; /* Palette in use */ member in struct:video_picture
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
videodev.h | 76 __u16 palette; /* Palette in use */ member in struct:video_picture
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
videodev.h | 76 __u16 palette; /* Palette in use */ member in struct:video_picture
|
/external/chromium_org/ui/gfx/codec/ |
png_codec_unittest.cc | 56 // Creates a palette-based image. 59 std::vector<png_color>* palette, 62 palette->resize(w); 64 png_color& color = (*palette)[i]; 71 (*data)[y * w + x] = x; // palette index 75 trans_chunk->resize(palette->size()); 148 // interlaced, palette-based, or grayscale images, but PNGCodec::Decode is 156 std::vector<png_color>* palette = 0, 171 if (!palette) 220 png_set_PLTE(png_ptr, info_ptr, &palette->front(), palette->size()) [all...] |