/vbox/src/VBox/Devices/Graphics/ |
H A D | DevVGATmpl.h | 186 uint32_t plane_mask, *palette, data, v, src_inc, dwb_mode; local 189 palette = s1->last_palette; 199 ((PIXEL_TYPE *)d)[0] = palette[v >> 12]; 200 ((PIXEL_TYPE *)d)[1] = palette[(v >> 8) & 0xf]; 201 ((PIXEL_TYPE *)d)[2] = palette[(v >> 4) & 0xf]; 202 ((PIXEL_TYPE *)d)[3] = palette[(v >> 0) & 0xf]; 206 ((PIXEL_TYPE *)d)[4] = palette[v >> 12]; 207 ((PIXEL_TYPE *)d)[5] = palette[(v >> 8) & 0xf]; 208 ((PIXEL_TYPE *)d)[6] = palette[(v >> 4) & 0xf]; 209 ((PIXEL_TYPE *)d)[7] = palette[( 230 uint32_t plane_mask, *palette, data, v, src_inc, dwb_mode; local 265 uint32_t plane_mask, data, v, *palette; local 297 uint32_t plane_mask, data, v, *palette; local 331 uint32_t *palette; local 354 uint32_t *palette; local [all...] |
H A D | DevVGA.cpp | 630 val = pThis->palette[pThis->dac_read_index * 3 + pThis->dac_sub_index]; 763 memcpy(&pThis->palette[pThis->dac_write_index * 3], pThis->dac_cache, 3); 1529 /* return true if the palette was modified */ 1534 uint32_t v, col, *palette; local 1536 palette = pThis->last_palette; 1544 col = pThis->rgb_to_pixel(c6_to_8(pThis->palette[v]), 1545 c6_to_8(pThis->palette[v + 1]), 1546 c6_to_8(pThis->palette[v + 2])); 1547 if (col != palette[i]) { 1549 palette[ 1560 uint32_t v, col, *palette; local 1711 uint32_t *palette; local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | palette.c | 44 ULONG CDECL wined3d_palette_incref(struct wined3d_palette *palette) argument 46 ULONG refcount = InterlockedIncrement(&palette->ref); 48 TRACE("%p increasing refcount to %u.\n", palette, refcount); 53 ULONG CDECL wined3d_palette_decref(struct wined3d_palette *palette) argument 55 ULONG refcount = InterlockedDecrement(&palette->ref); 57 TRACE("%p decreasing refcount to %u.\n", palette, refcount); 61 DeleteObject(palette->hpal); 62 HeapFree(GetProcessHeap(), 0, palette); local 82 HRESULT CDECL wined3d_palette_get_entries(const struct wined3d_palette *palette, argument 85 TRACE("palette 106 wined3d_palette_set_entries(struct wined3d_palette *palette, DWORD flags, DWORD start, DWORD count, const PALETTEENTRY *entries) argument 158 wined3d_palette_get_flags(const struct wined3d_palette *palette) argument 165 wined3d_palette_get_parent(const struct wined3d_palette *palette) argument 172 wined3d_palette_init(struct wined3d_palette *palette, struct wined3d_device *device, DWORD flags, const PALETTEENTRY *entries, void *parent) argument 201 wined3d_palette_create(struct wined3d_device *device, DWORD flags, const PALETTEENTRY *entries, void *parent, struct wined3d_palette **palette) argument [all...] |
H A D | surface.c | 497 /* Allocate extra space for a palette. */ 557 /* Don't know palette */ 593 TRACE("Using wined3d palette %p.\n", surface->palette); 594 SelectPalette(surface->hDC, surface->palette ? surface->palette->hpal : 0, FALSE); 963 struct wined3d_palette *palette = surface->palette; local 967 if (!palette) return; 978 /* We want to force a palette refres 2256 struct wined3d_palette *palette = surface->palette; local 3404 wined3d_surface_set_palette(struct wined3d_surface *surface, struct wined3d_palette *palette) argument [all...] |
H A D | wined3d_private.h | 2259 struct wined3d_palette *palette; /* D3D7 style palette handling */ member in struct:wined3d_surface 3076 /* This is to store the palette in 'screen format' */
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | palette.c | 145 TRACE("WINEDDPCAPS_ALLOW256 set, overriding palette entry 0 with black and 255 with white\n"); 160 /* Now, if we are in 'depth conversion mode', update the screen palette */ 161 /* FIXME: we need to update the image or we won't get palette fading. */ 166 /* If the palette is attached to the render target, update all render targets */ 172 if(impl->palette == This) 210 HRESULT wined3d_palette_init(IWineD3DPaletteImpl *palette, IWineD3DDeviceImpl *device, argument 215 palette->lpVtbl = &IWineD3DPalette_Vtbl; 216 palette->ref = 1; 217 palette->parent = parent; 218 palette [all...] |
H A D | wined3d_private.h | 2371 IWineD3DPaletteImpl *palette; /* D3D7 style palette handling */ member in struct:IWineD3DSurfaceImpl 2372 PALETTEENTRY *palette9; /* D3D8/9 style palette handling */ 3315 /* This is to store the palette in 'screen format' */ 3320 HRESULT wined3d_palette_init(IWineD3DPaletteImpl *palette, IWineD3DDeviceImpl *device,
|
/vbox/src/libs/libpng-1.2.8/ |
H A D | pngget.c | 689 png_get_PLTE(png_structp png_ptr, png_infop info_ptr, png_colorp *palette, argument 693 && palette != NULL) 696 *palette = info_ptr->palette;
|
H A D | pngset.c | 513 png_colorp palette, int num_palette) 521 * It may not actually be necessary to set png_ptr->palette here; 531 png_ptr->palette = (png_colorp)png_malloc(png_ptr, 533 png_memset(png_ptr->palette, 0, 256 * png_sizeof(png_color)); 534 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof (png_color)); 535 info_ptr->palette = png_ptr->palette; 512 png_set_PLTE(png_structp png_ptr, png_infop info_ptr, png_colorp palette, int num_palette) argument
|
H A D | pngtest.c | 891 png_colorp palette; local 894 if (png_get_PLTE(read_ptr, read_info_ptr, &palette, &num_palette)) 896 png_set_PLTE(write_ptr, write_info_ptr, palette, num_palette);
|
H A D | pngrtran.c | 127 /* Dither file to 8 bit. Supply a palette, the current number 128 * of elements in the palette, the maximum number of elements 130 * of colors is greater then the maximum number, the palette will be 146 png_set_dither(png_structp png_ptr, png_colorp palette, argument 180 /* Find the least used palette entries by starting a 209 /* swap the palette around, and set up a table, if necessary */ 223 palette[i] = palette[j]; 244 tmp_color = palette[j]; 245 palette[ 794 png_colorp palette = png_ptr->palette; local 950 png_colorp palette = png_ptr->palette; local 974 png_colorp palette = png_ptr->palette; local 2363 png_build_grayscale_palette(int bit_depth, png_colorp palette) argument 2409 png_correct_palette(png_structp png_ptr, png_colorp palette, int num_palette) argument 3465 png_do_expand_palette(png_row_infop row_info, png_bytep row, png_colorp palette, png_bytep trans, int num_trans) argument [all...] |
H A D | pngrutil.c | 405 /* read and check the palette */ 409 png_color palette[PNG_MAX_PALETTE_LENGTH]; local 449 png_warning(png_ptr, "Invalid palette chunk"); 455 png_error(png_ptr, "Invalid palette chunk"); 462 for (i = 0, pal_ptr = palette; i < num; i++, pal_ptr++) 478 palette[i].red = buf[0]; 479 palette[i].green = buf[1]; 480 palette[i].blue = buf[2]; 521 png_set_PLTE(png_ptr, info_ptr, palette, num); 1388 (png_uint_16)png_ptr->palette[bu [all...] |
H A D | pngwutil.c | 533 /* write the palette. We are careful not to trust png_color to be in the 538 png_write_PLTE(png_structp png_ptr, png_colorp palette, png_uint_32 num_pal) argument 556 png_error(png_ptr, "Invalid number of colors in palette"); 560 png_warning(png_ptr, "Invalid number of colors in palette"); 577 for (i = 0, pal_ptr = palette; i < num_pal; i++, pal_ptr++) 586 pal_ptr=palette; 796 /* loop through each palette entry, writing appropriately */ 1098 png_warning(png_ptr, "Invalid background palette index");
|
H A D | png.h | 483 png_byte index; /* used for palette files */ 518 /* When the depth of the sPLT palette is 8 bits, the color and alpha samples 525 png_charp name; /* palette name */ 526 png_byte depth; /* depth of palette samples */ 527 png_sPLT_entryp entries; /* palette entries */ 528 png_int_32 nentries; /* number of palette entries */ 635 * cleaned up before the structure is discarded: palette, trans, text, 659 png_colorp palette; /* array of color values (valid & PNG_INFO_PLTE) */ member in struct:png_info_struct 660 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ 661 png_uint_16 num_trans; /* number of transparent palette colo 1134 png_colorp palette; /* palette from the input file */ member in struct:png_struct_def [all...] |
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/main/ |
H A D | texformat_tmp.h | 1062 const struct gl_color_table *palette; local 1068 palette = &ctx->Texture.Palette; 1071 palette = &texImage->TexObject->Palette; 1073 if (palette->Size == 0) 1076 /* Mask the index against size of palette to avoid going out of bounds */ 1077 index = (*src) & (palette->Size - 1); 1080 const GLubyte *table = palette->TableUB; 1081 switch (palette->_BaseFormat) { 1119 _mesa_problem(ctx, "Bad palette format in fetch_texel_ci8");
|
/vbox/src/VBox/Devices/Graphics/BIOS/ |
H A D | vgabios.c | 649 uint8_t line,mmask,*palette,vpti; local 697 // if palette loading (bit 3 of modeset ctl = 0) 705 // From which palette 708 palette=&palette0[0]; 711 palette=&palette1[0]; 714 palette=&palette2[0]; 717 palette=&palette3[0]; 723 {outb(VGAREG_DAC_DATA,palette[(i*3)+0]); 724 outb(VGAREG_DAC_DATA,palette[(i*3)+1]); 725 outb(VGAREG_DAC_DATA,palette[( [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | d3drmdef.h | 112 D3DRMPALETTEENTRY* palette; member in struct:_D3DRMIMAGE
|
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | d3drmdef.h | 170 D3DRMPALETTEENTRY* palette; member in struct:_D3DRMIMAGE
|
/vbox/src/VBox/Frontends/VirtualBox/src/extradata/ |
H A D | UIExtraDataManager.cpp | 238 const QPalette &palette = option.palette; local 250 QColor highlight = palette.color(option.state & QStyle::State_Active ?
|
/vbox/src/VBox/Devices/Graphics/shaderlib/ |
H A D | wined3d_private.h | 2406 IWineD3DPaletteImpl *palette; /* D3D7 style palette handling */ member in struct:IWineD3DSurfaceImpl 2407 PALETTEENTRY *palette9; /* D3D8/9 style palette handling */ 3356 /* This is to store the palette in 'screen format' */ 3361 HRESULT wined3d_palette_init(IWineD3DPaletteImpl *palette, IWineD3DDeviceImpl *device,
|