Searched refs:BytesPerPixel (Results 1 – 7 of 7) sorted by relevance
26 UINTN BytesPerPixel; member80 Configure->BytesPerPixel = (UINTN) ((HighBitSet32 (MergedMasks) + 7) / 8); in ConfigurePixelBitMaskFormat()82 DEBUG ((EFI_D_VERBOSE, "Bytes per pixel: %d\n", Configure->BytesPerPixel)); in ConfigurePixelBitMaskFormat()152 Configure->WidthInBytes = Configure->WidthInPixels * Configure->BytesPerPixel; in FrameBufferBltConfigure()214 WidthInBytes = Width * Configure->BytesPerPixel; in FrameBufferBltLibVideoFill()234 if ((sizeof (WideFill) % Configure->BytesPerPixel) == 0) { in FrameBufferBltLibVideoFill()235 for (IndexX = Configure->BytesPerPixel; IndexX < sizeof (WideFill); IndexX++) { in FrameBufferBltLibVideoFill()236 ((UINT8*) &WideFill)[IndexX] = ((UINT8*) &WideFill)[IndexX % Configure->BytesPerPixel]; in FrameBufferBltLibVideoFill()245 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill()260 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill()[all …]
71 UINT32 BytesPerPixel; in LcdSetMode() local90 BytesPerPixel = GetBytesPerPixel(LcdBpp); in LcdSetMode()96 MmioWrite32(HDLCD_REG_FB_LINE_LENGTH, HRes * BytesPerPixel); in LcdSetMode()97 MmioWrite32(HDLCD_REG_FB_LINE_PITCH, HRes * BytesPerPixel); in LcdSetMode()
67 inline constexpr int BytesPerPixel() { in BytesPerPixel() function78 return AlignToPowerOf2(ActualScreenWidth() * BytesPerPixel(), 4); in ActualScreenStride()87 return ActualScreenWidth() * ActualScreenHeight() * BytesPerPixel(); in ScreenSizeInBytes()
73 size_t to = (i * h + j) * BytesPerPixel(); in Rotated()74 size_t from = (w - (i + 1)) * BytesPerPixel() + s * j; in Rotated()77 std::memcpy(&rotated[to], &raw[from], BytesPerPixel()); in Rotated()83 stripe.stride = stripe.width * BytesPerPixel(); in Rotated()
34 cinfo->input_components = cvd::vnc::BytesPerPixel(); in InitCinfo()60 (x * BytesPerPixel())])); in Compress()
93 &raw_screen[y * ActualScreenWidth() * BytesPerPixel()]; in MakeStripes()95 raw_start + (height * ActualScreenWidth() * BytesPerPixel()); in MakeStripes()
24 static inline std::size_t BytesPerPixel(PixelFormat in) { in BytesPerPixel() function