/device/linaro/bootloader/edk2/MdeModulePkg/Library/BmpImageDecoderLib/ |
BmpImageDecoderLib.c | 24 Convert a *.BMP graphics image to a callee allocated GOP blt buffer.
57 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Blt;
172 // Convert image from BMP to Blt buffer format
176 Blt = &BltBuffer[(BmpHeader->PixelHeight - Height - 1) * BmpHeader->PixelWidth];
177 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) {
184 Blt->Red = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Red;
185 Blt->Green = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Green;
186 Blt->Blue = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Blue;
187 Blt++;
191 Blt--; [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/ |
Graphics.c | 125 Convert a *.BMP graphics image to a GOP/UGA blt buffer. If a NULL Blt buffer
159 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Blt;
272 // Convert image from BMP to Blt buffer format
276 Blt = &BltBuffer[(BmpHeader->PixelHeight - Height - 1) * BmpHeader->PixelWidth];
277 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) {
284 Blt->Red = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Red;
285 Blt->Green = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Green;
286 Blt->Blue = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Blue;
287 Blt++; [all...] |
Print.c | 169 EFI_IMAGE_OUTPUT *Blt;
198 Blt = NULL;
241 Blt = (EFI_IMAGE_OUTPUT *) EfiLibAllocateZeroPool (sizeof (EFI_IMAGE_OUTPUT));
242 if (Blt == NULL) {
247 Blt->Width = (UINT16) (HorizontalResolution);
248 Blt->Height = (UINT16) (VerticalResolution);
249 Blt->Image.Screen = GraphicsOutput;
280 &Blt,
329 // Blt a character to the screen
332 Status = GraphicsOutput->Blt (
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/ |
Graphics.c | 126 Convert a *.BMP graphics image to a GOP/UGA blt buffer. If a NULL Blt buffer
160 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Blt;
273 // Convert image from BMP to Blt buffer format
277 Blt = &BltBuffer[(BmpHeader->PixelHeight - Height - 1) * BmpHeader->PixelWidth];
278 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) {
285 Blt->Red = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Red;
286 Blt->Green = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Green;
287 Blt->Blue = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Blue;
288 Blt++; [all...] |
Print.c | 144 EFI_IMAGE_OUTPUT *Blt;
173 Blt = NULL;
215 Blt = (EFI_IMAGE_OUTPUT *) EfiLibAllocateZeroPool (sizeof (EFI_IMAGE_OUTPUT));
216 if (Blt == NULL) {
221 Blt->Width = (UINT16) (HorizontalResolution);
222 Blt->Height = (UINT16) (VerticalResolution);
223 Blt->Image.Screen = GraphicsOutput;
254 &Blt,
303 // Blt a character to the screen
306 Status = GraphicsOutput->Blt (
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
Fonts.c | 64 EFI_IMAGE_OUTPUT *Blt;
92 Blt = NULL;
97 &Blt,
105 if (Blt->Height == EFI_GLYPH_HEIGHT && Blt->Width == EFI_GLYPH_WIDTH) {
111 if (CompareMem (&Blt->Image.Bitmap[Ypos * EFI_GLYPH_WIDTH + Xpos], &mSysFGColor, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)) == 0) {
136 Translates a glyph into the format required for input to the Universal Graphics Adapter (UGA) Block Transfer (BLT) routines.
150 @param BltBuffer A pointer to the buffer that contains the data that is ready to be used by the UGA BLT routines.
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/ |
UefiLibPrint.c | 356 EFI_IMAGE_OUTPUT *Blt;
370 Blt = NULL;
426 Blt = (EFI_IMAGE_OUTPUT *) AllocateZeroPool (sizeof (EFI_IMAGE_OUTPUT));
427 ASSERT (Blt != NULL);
429 Blt->Width = (UINT16) (HorizontalResolution);
430 Blt->Height = (UINT16) (VerticalResolution);
454 Blt->Image.Screen = GraphicsOutput;
463 &Blt,
477 Blt->Image.Bitmap = AllocateZeroPool (Blt->Width * Blt->Height * sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootLogoLib/ |
BootLogoLib.c | 66 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Blt;
137 Blt = NULL;
182 if (Blt != NULL) {
183 FreePool (Blt);
186 Status = DecodeImage (ImageFormat, ImageData, ImageSize, &Blt, &BltSize, &Width, &Height);
252 Status = GraphicsOutput->Blt (
254 Blt,
266 Status = UgaDraw->Blt (
268 (EFI_UGA_PIXEL *) Blt,
320 if (Blt != NULL) { [all...] |