mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-18 00:42:40 +00:00
Initial revision
This commit is contained in:
parent
ded6147bfb
commit
9508a382f8
982 changed files with 479777 additions and 0 deletions
104
iplan2p4/iplmskbits.c
Normal file
104
iplan2p4/iplmskbits.c
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
/* $XFree86: xc/programs/Xserver/iplan2p4/iplmskbits.c,v 3.0 1996/08/18 01:54:54 dawes Exp $ */
|
||||
/* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with
|
||||
interleaved planes */
|
||||
#include "iplmap.h"
|
||||
|
||||
unsigned short iplmask[] =
|
||||
{ 0x8000,
|
||||
0x4000,
|
||||
0x2000,
|
||||
0x1000,
|
||||
0x0800,
|
||||
0x0400,
|
||||
0x0200,
|
||||
0x0100,
|
||||
0x0080,
|
||||
0x0040,
|
||||
0x0020,
|
||||
0x0010,
|
||||
0x0008,
|
||||
0x0004,
|
||||
0x0002,
|
||||
0x0001
|
||||
};
|
||||
|
||||
unsigned short iplstarttab[] =
|
||||
{
|
||||
0x0000,
|
||||
0x7fff,
|
||||
0x3fff,
|
||||
0x1fff,
|
||||
0x0fff,
|
||||
0x07ff,
|
||||
0x03ff,
|
||||
0x01ff,
|
||||
0x00ff,
|
||||
0x007f,
|
||||
0x003f,
|
||||
0x001f,
|
||||
0x000f,
|
||||
0x0007,
|
||||
0x0003,
|
||||
0x0001
|
||||
};
|
||||
|
||||
unsigned short iplendtab[] =
|
||||
{
|
||||
0x0000,
|
||||
0x8000,
|
||||
0xc000,
|
||||
0xe000,
|
||||
0xf000,
|
||||
0xf800,
|
||||
0xfc00,
|
||||
0xfe00,
|
||||
0xff00,
|
||||
0xff80,
|
||||
0xffc0,
|
||||
0xffe0,
|
||||
0xfff0,
|
||||
0xfff8,
|
||||
0xfffc,
|
||||
0xfffe
|
||||
};
|
||||
|
||||
unsigned short iplstartpartial[] =
|
||||
{
|
||||
0xffff,
|
||||
0x7fff,
|
||||
0x3fff,
|
||||
0x1fff,
|
||||
0x0fff,
|
||||
0x07ff,
|
||||
0x03ff,
|
||||
0x01ff,
|
||||
0x00ff,
|
||||
0x007f,
|
||||
0x003f,
|
||||
0x001f,
|
||||
0x000f,
|
||||
0x0007,
|
||||
0x0003,
|
||||
0x0001
|
||||
};
|
||||
|
||||
unsigned short iplendpartial[] =
|
||||
{
|
||||
0xffff,
|
||||
0x8000,
|
||||
0xc000,
|
||||
0xe000,
|
||||
0xf000,
|
||||
0xf800,
|
||||
0xfc00,
|
||||
0xfe00,
|
||||
0xff00,
|
||||
0xff80,
|
||||
0xffc0,
|
||||
0xffe0,
|
||||
0xfff0,
|
||||
0xfff8,
|
||||
0xfffc,
|
||||
0xfffe
|
||||
};
|
||||
|
||||
Loading…
Reference in a new issue