ReactOS
0.4.16-dev-2232-gc2aaa52
framebuf.h
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Boot Video Driver
3
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4
* or MIT (https://spdx.org/licenses/MIT)
5
* PURPOSE: Definitions for framebuffer-specific DisplayController
6
* device boot-time configuration data stored in the
7
* \Registry\Machine\Hardware\Description ARC tree.
8
* COPYRIGHT: Copyright 2023-2026 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
9
*/
10
11
#pragma once
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
34
typedef
struct
_CM_FRAMEBUF_DEVICE_DATA
35
{
36
CM_VIDEO_DEVICE_DATA
;
37
38
/* Absolute offset from the start of the video RAM of the framebuffer
39
* to be displayed on the monitor. The framebuffer size is obtained by:
40
* FrameBufferSize = ScreenHeight * PixelsPerScanLine * BytesPerPixel */
41
ULONG
FrameBufferOffset
;
42
43
/* Horizontal and Vertical resolution in pixels */
44
ULONG
ScreenWidth
;
45
ULONG
ScreenHeight
;
46
47
/* Number of pixel elements per video memory line. Related to
48
* the number of bytes per scan-line (pitch/screen stride) via:
49
* Pitch = PixelsPerScanLine * BytesPerPixel */
50
ULONG
PixelsPerScanLine
;
51
ULONG
BitsPerPixel
;
52
53
/* Pixel physical format for BPP > 8 */
54
struct
55
{
56
ULONG
RedMask
;
57
ULONG
GreenMask
;
58
ULONG
BlueMask
;
59
ULONG
ReservedMask
;
60
}
PixelMasks
;
61
62
}
CM_FRAMEBUF_DEVICE_DATA
, *
PCM_FRAMEBUF_DEVICE_DATA
;
63
64
#ifdef __cplusplus
65
}
66
#endif
67
68
/* EOF */
PCM_FRAMEBUF_DEVICE_DATA
struct _CM_FRAMEBUF_DEVICE_DATA * PCM_FRAMEBUF_DEVICE_DATA
CM_FRAMEBUF_DEVICE_DATA
struct _CM_FRAMEBUF_DEVICE_DATA CM_FRAMEBUF_DEVICE_DATA
ReactOS Framebuffer-specific video device configuration data.
_CM_FRAMEBUF_DEVICE_DATA
ReactOS Framebuffer-specific video device configuration data.
Definition:
framebuf.h:35
_CM_FRAMEBUF_DEVICE_DATA::BlueMask
ULONG BlueMask
Definition:
framebuf.h:58
_CM_FRAMEBUF_DEVICE_DATA::CM_VIDEO_DEVICE_DATA
CM_VIDEO_DEVICE_DATA
Definition:
framebuf.h:36
_CM_FRAMEBUF_DEVICE_DATA::GreenMask
ULONG GreenMask
Definition:
framebuf.h:57
_CM_FRAMEBUF_DEVICE_DATA::BitsPerPixel
ULONG BitsPerPixel
Pixel depth.
Definition:
framebuf.h:51
_CM_FRAMEBUF_DEVICE_DATA::PixelMasks
struct _CM_FRAMEBUF_DEVICE_DATA::@3616 PixelMasks
_CM_FRAMEBUF_DEVICE_DATA::ReservedMask
ULONG ReservedMask
Definition:
framebuf.h:59
_CM_FRAMEBUF_DEVICE_DATA::RedMask
ULONG RedMask
Definition:
framebuf.h:56
_CM_FRAMEBUF_DEVICE_DATA::ScreenHeight
ULONG ScreenHeight
Definition:
framebuf.h:45
_CM_FRAMEBUF_DEVICE_DATA::FrameBufferOffset
ULONG FrameBufferOffset
Definition:
framebuf.h:41
_CM_FRAMEBUF_DEVICE_DATA::ScreenWidth
ULONG ScreenWidth
Definition:
framebuf.h:44
_CM_FRAMEBUF_DEVICE_DATA::PixelsPerScanLine
ULONG PixelsPerScanLine
Pitch/stride in pixels.
Definition:
framebuf.h:50
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
sdk
include
reactos
drivers
bootvid
framebuf.h
Generated on Sat Jan 31 2026 06:17:06 for ReactOS by
1.9.6