diff options
author | Joursoir <chat@joursoir.net> | 2022-03-27 10:12:24 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-03-27 10:13:51 +0300 |
commit | e32e65f7f87e75482c037e88c28ed7391461c25f (patch) | |
tree | 9eb7ca68c1a74856c12273bbd1b5c7b716200447 /UefiMonitorTest/UefiMonitorTest.h | |
parent | 444d9d9b38f94973f965e335719c6c46265f70ef (diff) | |
download | umt-e32e65f7f87e75482c037e88c28ed7391461c25f.tar.gz umt-e32e65f7f87e75482c037e88c28ed7391461c25f.tar.bz2 umt-e32e65f7f87e75482c037e88c28ed7391461c25f.zip |
main: support different pixel formats
Diffstat (limited to 'UefiMonitorTest/UefiMonitorTest.h')
-rw-r--r-- | UefiMonitorTest/UefiMonitorTest.h | 14 |
1 files changed, 14 insertions, 0 deletions
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; |