Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
DFonts.c67 UINTN Ypos; in HiiGetGlyph() local
109 for (Ypos = 0; Ypos < EFI_GLYPH_HEIGHT; Ypos++) { in HiiGetGlyph()
111 …if (CompareMem (&Blt->Image.Bitmap[Ypos * EFI_GLYPH_WIDTH + Xpos], &mSysFGColor, sizeof (EFI_GRAPH… in HiiGetGlyph()
112 …mNarrowGlyphBuffer.GlyphCol1[Ypos] = (UINT8) (mNarrowGlyphBuffer.GlyphCol1[Ypos] | (1 << (EFI_GLYP… in HiiGetGlyph()
171 UINTN Ypos; in HiiGlyphToBlt() local
176 for (Ypos = 0; Ypos < Height; Ypos++) { 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.c255 UINT16 Ypos; in Output1bitPixel() local
289 for (Ypos = 0; Ypos < Image->Height; Ypos++) { in Output1bitPixel()
290 OffsetY = BITMAP_LEN_1_BIT (Image->Width, Ypos); 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()
312 BitMapPtr[Ypos * Image->Width + Xpos * 8 + Index] = PaletteValue[1]; in Output1bitPixel()
314 BitMapPtr[Ypos * Image->Width + Xpos * 8 + Index] = PaletteValue[0]; in Output1bitPixel()
344 UINT16 Ypos; in Output4bitPixel() local
378 for (Ypos = 0; Ypos < Image->Height; Ypos++) { in Output4bitPixel()
379 OffsetY = BITMAP_LEN_4_BIT (Image->Width, Ypos); in Output4bitPixel()
[all …]
DFont.c298 UINT8 Ypos; in NarrowGlyphToBlt() local
323 for (Ypos = 0; Ypos < Height; Ypos++) { 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()
380 UINT16 Ypos; in GlyphToBlt() local
414 for (Ypos = 0; Ypos < Cell->Height && ((UINTN) (Ypos + YposOffset) < RowHeight); Ypos++) { in GlyphToBlt()
415 OffsetY = BITMAP_LEN_1_BIT (Cell->Width, Ypos); in GlyphToBlt()
424 BltBuffer[Ypos * ImageWidth + Xpos * 8 + Index] = Foreground; in GlyphToBlt()
427 BltBuffer[Ypos * ImageWidth + Xpos * 8 + Index] = Background; in GlyphToBlt()
[all …]