ReactOS 0.4.16-dev-38-g96c65e9
|
Go to the source code of this file.
Classes | |
struct | _VideoMode |
Macros | |
#define | SCREEN_X 640 |
#define | SCREEN_Y 480 |
#define | SCREEN_STRIDE 80 |
#define | VGA_NORMAL 0 |
#define | VGA_AND 8 |
#define | VGA_OR 16 |
#define | VGA_XOR 24 |
#define | MISC 0x3c2 |
#define | SEQ 0x3c4 |
#define | CRTC 0x3d4 |
#define | GRAPHICS 0x3ce |
#define | FEATURE 0x3da |
#define | ATTRIB 0x3c0 |
#define | STATUS 0x3da |
#define | SEQ_I 0x3C4 /* Sequencer Index */ |
#define | SEQ_D 0x3C5 /* Sequencer Data Register */ |
#define | GRA_I 0x3CE /* Graphics Controller Index */ |
#define | GRA_D 0x3CF /* Graphics Controller Data Register */ |
#define | LowByte(w) (*((unsigned char *)&(w) + 0)) |
#define | HighByte(w) (*((unsigned char *)&(w) + 1)) |
#define | ASSIGNVP4(x, y, vp) vp = vidmem /* VBUF */ + (((x) + (y)*SCREEN_X) >> 3); |
#define | ASSIGNMK4(x, y, mask) mask = 0x80 >> ((x) & 7); |
#define | mod8(n) ((n)&7) |
#define | mod2(n) ((n)&1) |
Typedefs | |
typedef struct _VideoMode | VideoMode |
Functions | |
VOID | vgaPreCalc (VOID) |
VOID | vgaPutPixel (INT x, INT y, UCHAR c) |
VOID | vgaPutByte (INT x, INT y, UCHAR c) |
VOID | vgaGetByte (ULONG offset, UCHAR *b, UCHAR *g, UCHAR *r, UCHAR *i) |
INT | vgaGetPixel (INT x, INT y) |
BOOL | vgaHLine (INT x, INT y, INT len, UCHAR c) |
BOOL | vgaVLine (INT x, INT y, INT len, UCHAR c) |
INT __cdecl | abs (INT nm) |
BOOL | VGADDIIntersectRect (PRECTL prcDst, PRECTL prcSrc1, PRECTL prcSrc2) |
void | get_masks (int x, int w) |
void | DIB_BltFromVGA (int x, int y, int w, int h, void *b, int Dest_lDelta) |
void | DIB_BltToVGA (int x, int y, int w, int h, void *b, int Source_lDelta, int StartMod) |
void | DIB_BltToVGAWithXlate (int x, int y, int w, int h, void *b, int Source_lDelta, XLATEOBJ *Xlate) |
void | DIB_TransparentBltToVGA (int x, int y, int w, int h, void *b, int Source_lDelta, ULONG trans) |
Variables | |
int | maskbit [640] |
int | y80 [480] |
int | xconv [640] |
int | bit8 [640] |
int | startmasks [8] |
int | endmasks [8] |
UCHAR | PreCalcReverseByte [256] |
PBYTE | vidmem |
Definition at line 66 of file vgavideo.h.
Definition at line 65 of file vgavideo.h.
#define ATTRIB 0x3c0 |
Definition at line 31 of file vgavideo.h.
#define CRTC 0x3d4 |
Definition at line 28 of file vgavideo.h.
#define FEATURE 0x3da |
Definition at line 30 of file vgavideo.h.
Definition at line 60 of file vgavideo.h.
Definition at line 59 of file vgavideo.h.
#define GRAPHICS 0x3ce |
Definition at line 29 of file vgavideo.h.
#define MISC 0x3c2 |
Definition at line 26 of file vgavideo.h.
Definition at line 71 of file vgavideo.h.
Definition at line 70 of file vgavideo.h.
#define SCREEN_STRIDE 80 |
Definition at line 5 of file vgavideo.h.
#define SCREEN_X 640 |
Definition at line 2 of file vgavideo.h.
#define SCREEN_Y 480 |
Definition at line 3 of file vgavideo.h.
#define SEQ 0x3c4 |
Definition at line 27 of file vgavideo.h.
Definition at line 57 of file vgavideo.h.
Definition at line 56 of file vgavideo.h.
#define STATUS 0x3da |
Definition at line 32 of file vgavideo.h.
#define VGA_AND 8 |
Definition at line 8 of file vgavideo.h.
#define VGA_NORMAL 0 |
Definition at line 7 of file vgavideo.h.
#define VGA_OR 16 |
Definition at line 9 of file vgavideo.h.
#define VGA_XOR 24 |
Definition at line 10 of file vgavideo.h.
typedef struct _VideoMode VideoMode |
Definition at line 352 of file vgavideo.c.
Referenced by DrvCopyBits(), and VGAtoDIB().
Definition at line 447 of file vgavideo.c.
Referenced by DIBtoVGA(), and DrvCopyBits().
void DIB_BltToVGAWithXlate | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
void * | b, | ||
int | Source_lDelta, | ||
XLATEOBJ * | Xlate | ||
) |
Definition at line 491 of file vgavideo.c.
Referenced by DIBtoVGA().
void DIB_TransparentBltToVGA | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
void * | b, | ||
int | Source_lDelta, | ||
ULONG | trans | ||
) |
Definition at line 536 of file vgavideo.c.
Referenced by DrvTransparentBlt().
Definition at line 133 of file vgavideo.c.
Referenced by DFB_BltFromVGA(), and vgaReadScan().
Definition at line 333 of file vgavideo.c.
Definition at line 231 of file vgavideo.c.
Referenced by DrvLineTo().
Definition at line 176 of file vgavideo.c.
Definition at line 163 of file vgavideo.c.
Referenced by DIB_TransparentBltToVGA(), VGADDI_BltMask(), vgaNEtoSW(), vgaNWtoSE(), vgaSEtoNW(), and vgaSWtoNE().
Definition at line 308 of file vgavideo.c.
Referenced by DrvLineTo().
|
extern |
Definition at line 15 of file vgavideo.c.
Referenced by vgaGetPixel(), and vgaPreCalc().
|
extern |
Definition at line 17 of file vgavideo.c.
Referenced by VGADDIFillSolid(), vgaHLine(), and vgaPreCalc().
|
extern |
Definition at line 12 of file vgavideo.c.
Referenced by DIB_BltToVGA(), DIB_BltToVGAWithXlate(), VGADDI_BltMask(), vgaGetPixel(), vgaPreCalc(), vgaPutPixel(), and vgaVLine().
|
extern |
Definition at line 11 of file vgavideo.c.
Referenced by DIB_BltFromVGA(), and vgaPreCalc().
|
extern |
Definition at line 16 of file vgavideo.c.
Referenced by VGADDIFillSolid(), vgaHLine(), and vgaPreCalc().
|
extern |
Definition at line 18 of file vgavideo.c.
Referenced by DIB_BltFromVGA(), DIB_BltToVGA(), DIB_BltToVGAWithXlate(), fill_videocontroller(), InitVGA(), ScrIoControl(), ScrWrite(), VGADDI_BltBrush(), VGADDI_BltFromSavedScreenBits(), VGADDI_BltPointerToVGA(), VGADDI_BltToSavedScreenBits(), VGADDIFillSolid(), vgaGetByte(), vgaHLine(), vgaPutByte(), vgaPutPixel(), and vgaVLine().
|
extern |
Definition at line 14 of file vgavideo.c.
Referenced by DIB_BltToVGA(), DIB_BltToVGAWithXlate(), VGADDIFillSolid(), vgaGetPixel(), vgaHLine(), vgaPreCalc(), vgaPutByte(), vgaPutPixel(), and vgaVLine().
|
extern |
Definition at line 13 of file vgavideo.c.
Referenced by DIB_BltToVGA(), DIB_BltToVGAWithXlate(), VGADDIFillSolid(), vgaGetPixel(), vgaHLine(), vgaPreCalc(), vgaPutByte(), vgaPutPixel(), and vgaVLine().