From e32e65f7f87e75482c037e88c28ed7391461c25f Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 27 Mar 2022 10:12:24 +0300 Subject: main: support different pixel formats --- UefiMonitorTest/UefiMonitorTest.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'UefiMonitorTest/UefiMonitorTest.h') diff --git a/UefiMonitorTest/UefiMonitorTest.h b/UefiMonitorTest/UefiMonitorTest.h index 97ada85..eb49249 100644 --- a/UefiMonitorTest/UefiMonitorTest.h +++ b/UefiMonitorTest/UefiMonitorTest.h @@ -28,6 +28,20 @@ typedef struct { /// UINT32 Height; /// + /// Bit-mask defines what bits are used for different colors. + /// + EFI_PIXEL_BITMASK PixelMasks; + /// + /// Amount of bits to shift left. + /// R-G-B-Rsvd + /// + INT8 PixelShl[4]; + /// + /// Amount of bits to shift right. + /// R-G-B-Rsvd + /// + INT8 PixelShr[4]; + /// /// The size of pixel color in bytes. /// UINT32 PixelWidth; -- cgit v1.2.3-18-g5258