Lines Matching defs:Image
2 This library provides BMP image decoding capability.
24 Convert a *.BMP graphics image to a callee allocated GOP blt buffer.
26 @param ImageFormat Format of the image file.
36 @retval EFI_UNSUPPORTED BmpImage is not a valid *.BMP image
52 UINT8 *Image;
113 // Calculate Color Map offset in the image.
115 Image = BmpImage;
116 BmpColorMap = (BMP_COLOR_MAP *) (Image + sizeof (BMP_IMAGE_HEADER));
145 // Calculate graphics image data address in the image
147 Image = ((UINT8 *) BmpImage) + BmpHeader->ImageOffset;
148 ImageHeader = Image;
172 // Convert image from BMP to Blt buffer format
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;
199 Index = (*Image) >> 4;
206 Index = (*Image) & 0x0f;
217 Blt->Red = BmpColorMap[*Image].Red;
218 Blt->Green = BmpColorMap[*Image].Green;
219 Blt->Blue = BmpColorMap[*Image].Blue;
226 Blt->Blue = *Image++;
227 Blt->Green = *Image++;
228 Blt->Red = *Image;
241 ImageIndex = (UINTN) (Image - ImageHeader);
244 // Bmp Image starts each row on a 32-bit boundary!
246 Image = Image + (4 - (ImageIndex % 4));
256 @param ImageHandle The image handle.