ReactOS  r75385
precomp.h File Reference
#include <ntddk.h>
#include <drivers/bootvid/bootvid.h>
Include dependency graph for precomp.h:

Go to the source code of this file.

Classes

struct  tagBITMAPINFOHEADER
 

Macros

#define BOOTCHAR_HEIGHT   13
 
#define CMD_STREAM_WRITE   0x0
 
#define CMD_STREAM_WRITE_ARRAY   0x2
 
#define CMD_STREAM_USHORT   0x4
 
#define CMD_STREAM_READ   0x8
 
#define BI_RGB   0
 
#define BI_RLE4   2
 

Typedefs

typedef struct tagBITMAPINFOHEADER BITMAPINFOHEADER
 
typedef struct
tagBITMAPINFOHEADER
PBITMAPINFOHEADER
 

Functions

VOID NTAPI InitializePalette (VOID)
 

Variables

USHORT AT_Initialization []
 
ULONG curr_x
 
ULONG curr_y
 
ULONG_PTR VgaRegisterBase
 
ULONG_PTR VgaBase
 
UCHAR FontData [256 *BOOTCHAR_HEIGHT]
 

Macro Definition Documentation

#define BI_RGB   0

Definition at line 35 of file precomp.h.

Referenced by _write_bitmap(), add_with_alpha(), AdjustBrightness(), AdjustContrast(), alpha_blend_hdc_pixels(), alpha_blend_image(), ARGB2BMP(), AVIFILE_LoadFile(), AVISaveOptionsUpdate(), begin_solve_maze(), BITMAP_CopyImage(), BITMAP_GetObject(), BITMAP_LoadImageW(), BitmapFormat(), BmpDecoder_ReadHeaders(), CalculateColorTableSize(), CDimmedWindow::CDimmedWindow(), check_cursor_data(), check_StretchDIBits_pixel(), check_StretchDIBits_stretch(), ComponentFactory_CreateBitmapFromHICON(), ConvertBitmapInfo(), ConvertBitmapTo32Bpp(), ConvertDDBtoDIB(), CRAM_DecompressGetFormat(), ATL::CImage::Create(), Create24BppBitmap(), create_alpha_bitmap(), create_bitmap(), create_dib(), create_hatch_bitmap(), create_render_dc(), create_test_bitmap(), create_test_icon(), CreateDIBWithProperties(), CreateStarBitmap(), CURSORICON_GetCursorDataFromBMI(), Decompress(), DecompressBegin(), DecompressGetFormat(), DIB_BitmapMaxBitsSize(), DIB_ConvertBitmapInfo(), DIB_CreateDIBSection(), DIB_GetBitmapInfo(), DibLoadImage(), DisplayBlackAndWhite(), DisplayBlur(), DisplayInvertedColors(), DisplaySharpness(), draw_graphics(), DrawShadowText(), EMFDRV_StretchBlt(), GdipCreateBitmapFromHICON(), GdipCreateBitmapFromScan0(), GdipCreateFromHDC2(), GdipCreateHBITMAPFromBitmap(), GdipDrawImagePointsRect(), GdipGetDC(), get_default_color_table(), GRAPHICS_BUFFER_Initialize(), GreCreateBitmap(), GreCreateDIBitmapInternal(), GreGetDIBitsInternal(), HLPFILE_RtfAddBitmap(), ICCVID_DecompressGetFormat(), ICGetDisplayFormat(), ICMStream_fnSetFormat(), ID3DXFontImpl_DrawTextW(), IGetFrame_fnSetFormat(), ImageList_CreateImage(), init_bmi(), InitBitmap(), InitLogo(), InitPerBitDepth(), IntSetDIBits(), isSupportedDIB(), MainWndProc(), MCIAVI_OpenVideo(), MFDRV_StretchBlt(), mi_paint_rect(), MSRLE32_CompressRLE8Line(), MSRLE32_DecompressRLE4(), MSRLE32_DecompressRLE8(), mstsc_ProtocolIOThread(), NtGdiCreateBitmap(), NtGdiDdDDICreateDCFromMemory(), OLEPictureImpl_LoadWICSource(), OnCreate(), PaintCells(), serializeIcon(), SIC_OverlayShortcutImage(), START_TEST(), stretch_blt_icon(), test_32bit_ddb(), test_alpha_hdc(), test_BitBlt(), test_bitmap_colors(), test_bitmap_font_glyph_index(), test_bitmap_rendering(), test_boundsrect(), test_brush_pens(), test_clipping(), test_color_table(), test_CopyImage_Bitmap(), test_createdibitmap(), Test_CreateDIBitmap1(), Test_CreateDIBitmap_CBM_CREATDIB(), Test_CreateDIBitmap_DIB_PAL_COLORS(), Test_CreateDIBitmap_Params(), Test_CreateDIBPatternBrushPt(), test_CreateIcon(), test_D3DKMTCreateDCFromMemory(), test_device_caps(), test_dib_bits_access(), test_dib_formats(), test_DIB_PAL_COLORS(), Test_DIBBrush(), Test_Dibsection(), test_dibsections(), test_DrawIcon(), test_DrawIconEx(), test_DrawState(), test_emf_BitBlt(), test_FromGdiDib(), test_GdiAlphaBlend(), test_GdiGradientFill(), test_GdipCreateBitmapFromHBITMAP(), test_GdipDrawImagePointsRect(), test_get16dibits(), test_GetCursorFrameInfo(), Test_GetDIBColorTable(), Test_GetDIBits(), test_GetDIBits(), test_GetDIBits_BI_BITFIELDS(), test_GetDIBits_scanlines(), test_GetDIBits_selected_DDB(), test_GetDIBits_selected_DIB(), test_GetDIBits_top_down(), Test_GetDIBits_xBpp(), test_GetSetDIBits_rtl(), test_ImageList_DrawIndirect(), test_LoadImageBitmap(), test_Locate(), Test_MaskBlt_16bpp(), Test_MaskBlt_1bpp(), Test_MaskBlt_32bpp(), Test_MaskBlt_Brush(), test_mono_dibsection(), Test_NtGdiDoPalette_SetDIBColorTable(), test_palette_brush(), test_path_state(), test_pattern_brush(), test_raw_decompress(), Test_SelectDIBSection(), Test_SetDIBits(), test_SetDIBits(), Test_SetDIBits_1bpp(), test_SetDIBits_RLE4(), test_SetDIBits_RLE8(), Test_SetDIBitsToDevice(), test_SetDIBitsToDevice(), Test_SetDIBitsToDevice_Params(), test_SetDIBitsToDevice_RLE8(), Test_SetPixel_PAL(), test_simple_graphics(), Test_SrcMono(), Test_SrcMono1(), test_StretchBlt(), test_StretchDIBits(), VgaConsoleCreateGraphicsScreen(), and WinGRecommendDIBFormat().

#define BOOTCHAR_HEIGHT   13

Definition at line 10 of file precomp.h.

Referenced by DisplayCharacter(), and VidDisplayString().

#define CMD_STREAM_READ   0x8

Definition at line 16 of file precomp.h.

Referenced by VgaInterpretCmdStream().

#define CMD_STREAM_USHORT   0x4

Definition at line 15 of file precomp.h.

Referenced by VgaInterpretCmdStream().

#define CMD_STREAM_WRITE   0x0

Definition at line 13 of file precomp.h.

#define CMD_STREAM_WRITE_ARRAY   0x2

Definition at line 14 of file precomp.h.

Referenced by VgaInterpretCmdStream().

Typedef Documentation

Function Documentation

VOID NTAPI InitializePalette ( VOID  )

Definition at line 301 of file vga.c.

Referenced by VidResetDisplay().

302 {
303  ULONG PaletteEntry[16] = {0x000000,
304  0x000020,
305  0x002000,
306  0x002020,
307  0x200000,
308  0x200020,
309  0x202000,
310  0x202020,
311  0x303030,
312  0x00003F,
313  0x003F00,
314  0x003F3F,
315  0x3F0000,
316  0x3F003F,
317  0x3F3F00,
318  0x3F3F3F};
319  ULONG i;
320 
321  /* Loop all the entries and set their palettes */
322  for (i = 0; i < 16; i++) SetPaletteEntry(i, PaletteEntry[i]);
323 }
GLenum GLclampf GLint i
Definition: glfuncs.h:14
static VOID NTAPI SetPaletteEntry(IN ULONG Id, IN ULONG PaletteEntry)
Definition: vga.c:287
unsigned int ULONG
Definition: retypes.h:1

Variable Documentation

USHORT AT_Initialization[]

Definition at line 3 of file bootdata.c.

Referenced by VidInitialize(), and VidResetDisplay().

ULONG curr_x

Definition at line 68 of file vga.c.

Referenced by VidDisplayString(), VidInitialize(), VidResetDisplay(), and VidSetScrollRegion().

ULONG curr_y

Definition at line 69 of file vga.c.

Referenced by VidDisplayString(), VidInitialize(), VidResetDisplay(), and VidSetScrollRegion().

UCHAR FontData[256 *BOOTCHAR_HEIGHT]

Definition at line 57 of file bootdata.c.

Referenced by DisplayCharacter().

ULONG_PTR VgaRegisterBase

Definition at line 66 of file vga.c.

Referenced by ReadWriteMode(), VgaInterpretCmdStream(), VgaIsPresent(), VidCleanUp(), and VidInitialize().