Searched refs:mLogoWidth (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/
H A DBootGraphicsResourceTableDxe.c51 UINTN mLogoWidth = 0; variable
202 mLogoWidth = Width;
349 PaddingSize = mLogoWidth & 0x3;
352 // First check mLogoWidth * 3 + PaddingSize doesn't overflow
354 if (mLogoWidth > (((UINT32) ~0) - PaddingSize) / 3 ) {
359 // Second check (mLogoWidth * 3 + PaddingSize) * mLogoHeight + sizeof (BMP_IMAGE_HEADER) doesn't overflow
361 if (mLogoHeight > (((UINT32) ~0) - sizeof (BMP_IMAGE_HEADER)) / (mLogoWidth * 3 + PaddingSize)) {
365 BmpSize = (mLogoWidth * 3 + PaddingSize) * mLogoHeight + sizeof (BMP_IMAGE_HEADER);
373 mBmpImageHeaderTemplate.PixelWidth = (UINT32) mLogoWidth;
382 BltPixel = &mLogoBltBuffer[(mLogoHeight - Row - 1) * mLogoWidth];
[all...]

Completed in 42 milliseconds