| /freebsd/sys/dev/syscons/fade/ |
| H A D | fade_saver.c | 42 static u_char palette[256*3]; variable 54 vidd_save_palette(adp, palette); in fade_saver() 58 if (palette[i] - count > 60) in fade_saver() 59 pal[i] = palette[i] - count; in fade_saver() 71 vidd_load_palette(adp, palette); in fade_saver()
|
| /freebsd/sys/dev/fb/ |
| H A D | splash_bmp.c | 223 u_char palette[256][3]; /* raw palette data */ member 522 /* palette details */ in bmp_Init() 524 bzero(bmp_info.palette,sizeof(bmp_info.palette)); in bmp_Init() 537 /* read palette */ in bmp_Init() 539 bmp_info.palette[pind][0] = bmf->bmfi.bmiColors[pind].rgbRed; in bmp_Init() 540 bmp_info.palette[pind][1] = bmf->bmfi.bmiColors[pind].rgbGreen; in bmp_Init() 541 bmp_info.palette[pind][2] = bmf->bmfi.bmiColors[pind].rgbBlue; in bmp_Init() 574 /* set the palette for our image */ in bmp_Draw() 575 vidd_load_palette(adp, (u_char *)&bmp_info.palette); in bmp_Draw() 588 outb(ATC, 0x20); /* enable palette */ in bmp_Draw()
|
| H A D | fbreg.h | 107 typedef int vi_save_palette_t(video_adapter_t *adp, u_char *palette); 108 typedef int vi_load_palette_t(video_adapter_t *adp, u_char *palette); 132 typedef int vi_save_cursor_palette_t(video_adapter_t *adp, u_char *palette); 133 typedef int vi_load_cursor_palette_t(video_adapter_t *adp, u_char *palette); 235 #define vidd_save_cursor_palette(adp, palette) \ argument 236 (*vidsw[(adp)->va_index]->save_cursor_palette)((adp), (palette)) 237 #define vidd_load_cursor_palette(adp, palette) \ argument 238 (*vidsw[(adp)->va_index]->load_cursor_palette)((adp), (palette))
|
| H A D | vgareg.h | 57 #define PALRADR (IO_VGA + 0x07) /* palette read address */ 58 #define PALWADR (IO_VGA + 0x08) /* palette write address */ 59 #define PALDATA (IO_VGA + 0x09) /* palette data register */
|
| H A D | vesa.c | 200 static int vesa_bios_save_palette(int start, int colors, u_char *palette, 204 static int vesa_bios_load_palette(int start, int colors, u_char *palette, 386 vesa_bios_save_palette(int start, int colors, u_char *palette, int bits) in vesa_bios_save_palette() argument 408 palette[i * 3] = vesa_palette[i * 4 + 2] << bits; in vesa_bios_save_palette() 409 palette[i * 3 + 1] = vesa_palette[i * 4 + 1] << bits; in vesa_bios_save_palette() 410 palette[i * 3 + 2] = vesa_palette[i * 4] << bits; in vesa_bios_save_palette() 451 vesa_bios_load_palette(int start, int colors, u_char *palette, int bits) in vesa_bios_load_palette() argument 468 vesa_palette[i * 4] = palette[i * 3 + 2] >> bits; in vesa_bios_load_palette() 469 vesa_palette[i * 4 + 1] = palette[i * 3 + 1] >> bits; in vesa_bios_load_palette() 470 vesa_palette[i * 4 + 2] = palette[i * 3] >> bits; in vesa_bios_load_palette() [all …]
|
| H A D | splash_pcx.c | 70 uint8_t *palette; member 195 pcx_info.palette = (uint8_t *)data + size - 768; in pcx_init() 211 vidd_load_palette(adp, pcx_info.palette); in pcx_draw()
|
| H A D | s3_pci.c | 329 s3lfb_save_palette(video_adapter_t *adp, u_char *palette) in s3lfb_save_palette() argument 331 return (*prevvidsw->save_palette)(adp, palette); in s3lfb_save_palette() 335 s3lfb_load_palette(video_adapter_t *adp, u_char *palette) in s3lfb_load_palette() argument 337 return (*prevvidsw->load_palette)(adp, palette); in s3lfb_load_palette()
|
| H A D | vga.c | 1700 outb(ATC, 0x20); /* enable palette */ in set_font_mode() 1742 outb(ATC, 0x20); /* enable palette */ in set_normal_mode() 1976 vga_save_palette(video_adapter_t *adp, u_char *palette) in vga_save_palette() argument 1984 * We store 8 bit values in the palette buffer, while the standard in vga_save_palette() 1990 palette[i] = inb(PALDATA) << bits; in vga_save_palette() 2022 vga_load_palette(video_adapter_t *adp, u_char *palette) in vga_load_palette() argument 2033 outb(PALDATA, palette[i] >> bits); in vga_load_palette() 2035 outb(ATC, 0x20); /* enable palette */ in vga_load_palette() 2057 outb(ATC, 0x20); /* enable palette */ in vga_load_palette2() 2145 outb(ATC, 0x20); /* enable palette */ in vga_save_state() [all …]
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | gimp | 12 # GIMP palette (.gpl) 14 0 string/t GIMP\ Palette GIMP palette data
|
| H A D | pc98 | 37 # - b2=Palette or fixed colors flag (called "analog" and "digital" in the doc): 0=Paletted, 1=Fixed… 40 # - b1=256 fixed colors using the MSX SCR8 palette
|
| H A D | images | 388 >>8 uleshort 3 \bRGB Palette 855 # number of colors in palette, or 0 to default to 2**n 1055 # number of colors in palette 16 256, or 0 to default to 2**n 1721 # skip some ISO 9660 CD-ROM filesystems like plpbt.iso by test for 4 non black colors in palette en… 1748 # skip many control files like gnucash-4.8.setup.exe.aria2 by test for non black in 4 palette entri… 1792 # skip Intel ia64 COFF msvcrt.lib by test for unused bits of 1st atari color palette entry 1824 # skip lif files handled via ./lif by test for unused bits of 1st palette entry 1828 …-id-1195.adx fmt-840-signature-id-1199.adx) by test for 4 first non black colors in palette entries 1833 … (DarkGardenMK.pfb coupbi.pfb MONOBOLD.PFB) with invalid 1st atari color palette entry 5506 5b06 6… 1835 … 1 font (fmt-525-signature-id-816.pfb LUXEMBRG.PFB) with invalid 3rd atari color palette entry 2521 [all …]
|
| H A D | claris | 32 0 string \020\341\000\000\010\010 Claris Works palette files .plt
|
| /freebsd/sys/isa/ |
| H A D | vga_isa.c | 96 /* Save the color palette across the suspend. */ in vga_suspend() 103 device_printf(dev, "saving color palette\n"); in vga_suspend() 105 device_printf(dev, "failed to save palette\n"); in vga_suspend() 126 device_printf(dev, "failed to reload palette\n"); in vga_resume()
|
| /freebsd/stand/i386/libi386/ |
| H A D | vbe.c | 53 /* The default VGA color palette format is 6 bits per primary color. */ 59 * palette array for 8-bit indexed colors. In this case, cmap does store 61 * not be able to read palette data from hardware. 256 * The mode change should reset the palette format to in bios_set_text_mode() 258 * palette, so we switch to 6-bit here. in bios_set_text_mode() 362 * The mode change should reset the palette format to in biosvbe_set_mode() 364 * palette, so we switch to 6-bit here. in biosvbe_set_mode() 402 /* Function 08h - Set/Get DAC Palette Format */ 415 /* Function 09h - Set/Get Palette Data */ 1096 mode = 1; /* get DAC palette width */ in vbe_print_mode() [all …]
|
| /freebsd/sys/dev/vt/colors/ |
| H A D | vt_termcolors.c | 154 vt_generate_cons_palette(uint32_t *palette, int format, uint32_t rmax, in vt_generate_cons_palette() argument 162 palette[i] = cons_to_vga_colors[i]; in vt_generate_cons_palette() 168 palette[i] = CF(r, i) | CF(g, i) | CF(b, i); in vt_generate_cons_palette()
|
| H A D | vt_termcolors.h | 51 * Between console's palette and VGA's one:
|
| /freebsd/share/man/man4/ |
| H A D | vt.4 | 234 Set this value to override default palette entry for color 246 VGA hardware driver does not support palette configuration. 385 To set black and white colors of console palette
|
| /freebsd/contrib/ncurses/man/ |
| H A D | curs_color.3x | 245 red, green, and blue components of the color palette. 264 \fB\%start_color\fP does not attempt to set the terminal's color palette 468 color palette, color pairs table, 473 historical implementations may use a single shared color palette.
|
| /freebsd/sys/arm/ti/am335x/ |
| H A D | am335x_lcd_syscons.c | 494 am335x_syscons_save_palette(video_adapter_t *adp, u_char *palette) in am335x_syscons_save_palette() argument 500 am335x_syscons_load_palette(video_adapter_t *adp, u_char *palette) in am335x_syscons_load_palette() argument 640 am335x_syscons_save_cursor_palette(video_adapter_t *adp, u_char *palette) in am335x_syscons_save_cursor_palette() argument 647 am335x_syscons_load_cursor_palette(video_adapter_t *adp, u_char *palette) in am335x_syscons_load_cursor_palette() argument
|
| /freebsd/sys/dev/syscons/plasma/ |
| H A D | plasma_saver.c | 71 * Palette 199 /* initialize the palette */ in plasma_init()
|
| /freebsd/lib/libvgl/ |
| H A D | vgl.3 | 361 this function sets the palette used, the arguments 366 set the palette index
|
| /freebsd/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_fb.c | 584 bcmfb_save_palette(video_adapter_t *adp, u_char *palette) in bcmfb_save_palette() argument 590 bcmfb_load_palette(video_adapter_t *adp, u_char *palette) in bcmfb_load_palette() argument 730 bcmfb_save_cursor_palette(video_adapter_t *adp, u_char *palette) in bcmfb_save_cursor_palette() argument 737 bcmfb_load_cursor_palette(video_adapter_t *adp, u_char *palette) in bcmfb_load_cursor_palette() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TileConfig.cpp | 111 // Here we are leveraging the palette id inserted in PreRA pass. in INITIALIZE_PASS_DEPENDENCY() 148 // 0 palette in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd/sys/dev/syscons/ |
| H A D | scvidctl.c | 683 /* restore fonts & palette ! */ in sc_vid_ioctl() 708 vidd_load_palette(adp, scp->sc->palette); in sc_vid_ioctl() 730 /* no restore fonts & palette */ in sc_vid_ioctl() 757 vidd_load_palette(adp, scp->sc->palette); in sc_vid_ioctl()
|
| /freebsd/stand/common/ |
| H A D | gfx_fb.c | 69 * To perform index to RGB translation, we use palette table generated 70 * from when we set up 8-bit mode video. We cannot read palette data from 74 * palette array for closest match of RBG values. 76 * Note: In 8-bit mode, We do store first 16 colors to palette registers 78 * if palette update is not supported, we still have correct 16 colors. 80 * loader is used. However, the palette map for 8-bit colors is using 150 * Between console's palette and VGA's one: 383 * UEFI because there is no need for it and we do not have palette array 424 generate_cons_palette(uint32_t *palette, int format, in generate_cons_palette() argument 433 palette[i] = cons_to_vga_colors[i]; in generate_cons_palette() [all …]
|