Home
last modified time | relevance | path

Searched refs:Xpos (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
DFonts.c66 UINTN Xpos; in HiiGetGlyph() local
110 for (Xpos = 0; Xpos < EFI_GLYPH_WIDTH; Xpos++) { in HiiGetGlyph()
111 …if (CompareMem (&Blt->Image.Bitmap[Ypos * EFI_GLYPH_WIDTH + Xpos], &mSysFGColor, sizeof (EFI_GRAPH… in HiiGetGlyph()
112 …yphCol1[Ypos] = (UINT8) (mNarrowGlyphBuffer.GlyphCol1[Ypos] | (1 << (EFI_GLYPH_WIDTH - 1 - Xpos))); in HiiGetGlyph()
170 UINTN Xpos; in HiiGlyphToBlt() local
177 for (Xpos = 0; Xpos < Width; Xpos++) { in HiiGlyphToBlt()
178 if ((((EFI_NARROW_GLYPH *) GlyphBuffer)->GlyphCol1[Ypos] & (1 << Xpos)) != 0) { in HiiGlyphToBlt()
179 BltBuffer[Ypos * Width * Count + (Width - Xpos - 1)] = Foreground; in HiiGlyphToBlt()
181 BltBuffer[Ypos * Width * Count + (Width - Xpos - 1)] = Background; in HiiGlyphToBlt()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DImage.c254 UINT16 Xpos; in Output1bitPixel() local
294 for (Xpos = 0; Xpos < Image->Width / 8; Xpos++) { in Output1bitPixel()
295 Byte = *(Data + OffsetY + Xpos); in Output1bitPixel()
298 BitMapPtr[Ypos * Image->Width + Xpos * 8 + (8 - Index - 1)] = PaletteValue[1]; in Output1bitPixel()
300 BitMapPtr[Ypos * Image->Width + Xpos * 8 + (8 - Index - 1)] = PaletteValue[0]; in Output1bitPixel()
309 Byte = *(Data + OffsetY + Xpos); in Output1bitPixel()
312 BitMapPtr[Ypos * Image->Width + Xpos * 8 + Index] = PaletteValue[1]; in Output1bitPixel()
314 BitMapPtr[Ypos * Image->Width + Xpos * 8 + Index] = PaletteValue[0]; in Output1bitPixel()
343 UINT16 Xpos; in Output4bitPixel() local
383 for (Xpos = 0; Xpos < Image->Width / 2; Xpos++) { in Output4bitPixel()
[all …]
DFont.c297 UINT8 Xpos; in NarrowGlyphToBlt() local
324 for (Xpos = 0; Xpos < Width; Xpos++) { in NarrowGlyphToBlt()
325 if ((GlyphBuffer[Ypos] & (1 << (EFI_GLYPH_WIDTH - Xpos - 1))) != 0) { in NarrowGlyphToBlt()
326 Buffer[Ypos * ImageWidth + Xpos] = Foreground; in NarrowGlyphToBlt()
329 Buffer[Ypos * ImageWidth + Xpos] = Background; in NarrowGlyphToBlt()
379 UINT16 Xpos; in GlyphToBlt() local
420 for (Xpos = 0; Xpos < Cell->Width / 8; Xpos++) { in GlyphToBlt()
421 Data = *(GlyphBuffer + OffsetY + Xpos); in GlyphToBlt()
422 … for (Index = 0; Index < 8 && ((UINTN) (Xpos * 8 + Index + Cell->OffsetX) < RowWidth); Index++) { in GlyphToBlt()
424 BltBuffer[Ypos * ImageWidth + Xpos * 8 + Index] = Foreground; in GlyphToBlt()
[all …]