/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 524 bzero(bmp_info.palette,sizeof(bmp_info.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() 575 vidd_load_palette(adp, (u_char *)&bmp_info.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 | 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 | 1976 vga_save_palette(video_adapter_t *adp, u_char *palette) in vga_save_palette() argument 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()
|
/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()
|
/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 | claris | 32 0 string \020\341\000\000\010\010 Claris Works palette files .plt
|
H A D | images | 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 1878 # for Atari DEGAS apparently no Spectrum 512 Enhanced 15 bit palette RGB?RRRRGGGGBBBB [all …]
|
H A D | pc98 | 40 # - b1=256 fixed colors using the MSX SCR8 palette
|
H A D | riff | 245 >8 string PAL\ \b, palette 247 # color palette by Microsoft Corporation 259 # palNumEntries specifies the number of palette color entries 843 >8 string PAL \b, palette
|
H A D | mathematica | 33 #0 string (*^\n\n::[\011palette
|
H A D | windows | 1587 # Note: there exist other color palette formats also with .pal extension 1588 0 string JASC-PAL\r\n PaintShop Pro color palette 1592 # 2nd line contains palette file version. For example "0100"
|
/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/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/sys/powerpc/ofw/ |
H A D | ofw_syscons.c | 515 ofwfb_save_palette(video_adapter_t *adp, u_char *palette) in ofwfb_save_palette() argument 522 ofwfb_load_palette(video_adapter_t *adp, u_char *palette) in ofwfb_load_palette() argument 775 ofwfb_save_cursor_palette(video_adapter_t *adp, u_char *palette) in ofwfb_save_cursor_palette() argument 782 ofwfb_load_cursor_palette(video_adapter_t *adp, u_char *palette) in ofwfb_load_cursor_palette() argument
|
/freebsd/sys/contrib/v4l/ |
H A D | videodev.h | 97 __u16 palette; /* Palette in use */ member
|
/freebsd/sys/dev/syscons/ |
H A D | scvidctl.c | 708 vidd_load_palette(adp, scp->sc->palette); in sc_vid_ioctl() 757 vidd_load_palette(adp, scp->sc->palette); in sc_vid_ioctl()
|
H A D | syscons.h | 247 u_char palette[256 * 3]; member
|
H A D | syscons.c | 2607 vidd_load_palette(scp->sc->adp, scp->sc->palette); in restore_scrn_saver_mode() 3015 vidd_load_palette(sc->adp, sc->palette); in exchange_scr() 3404 vidd_save_palette(sc->adp, sc->palette); in scinit()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_fb_helper.c | 579 u32 *palette; 584 palette = (u32 *)info->pseudo_palette; 596 palette[regno] = value;
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | vga.c | 1306 static uint8_t palette[] = { in vga_init() local 1314 memcpy(sc->vga_dac.dac_palette, palette, 16 * 3 * sizeof (uint8_t)); in vga_init()
|
/freebsd/stand/common/ |
H A D | gfx_fb.c | 362 generate_cons_palette(uint32_t *palette, int format, in generate_cons_palette() argument 371 palette[i] = cons_to_vga_colors[i]; in generate_cons_palette() 373 palette[i] = i; in generate_cons_palette() 377 palette[i] = rgb_color_map(i, rmax, roffset, in generate_cons_palette()
|