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
14extern "C" {
15#endif
16
35{
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 */
42
43 /* Horizontal and Vertical resolution in pixels */
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 */
52
53 /* Pixel physical format for BPP > 8 */
54 struct
55 {
61
63
64#ifdef __cplusplus
65}
66#endif
67
68/* EOF */
struct _CM_FRAMEBUF_DEVICE_DATA * PCM_FRAMEBUF_DEVICE_DATA
struct _CM_FRAMEBUF_DEVICE_DATA CM_FRAMEBUF_DEVICE_DATA
ReactOS Framebuffer-specific video device configuration data.
ReactOS Framebuffer-specific video device configuration data.
Definition: framebuf.h:35
ULONG BitsPerPixel
Pixel depth.
Definition: framebuf.h:51
struct _CM_FRAMEBUF_DEVICE_DATA::@3616 PixelMasks
ULONG PixelsPerScanLine
Pitch/stride in pixels.
Definition: framebuf.h:50
uint32_t ULONG
Definition: typedefs.h:59