Home
last modified time | relevance | path

Searched refs:BytesPerPixel (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Library/FrameBufferBltLib/
DFrameBufferBltLib.c26 UINTN BytesPerPixel; member
80 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 …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/
DHdLcd.c71 UINT32 BytesPerPixel; in LcdSetMode() local
90 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()
/device/google/cuttlefish_common/host/frontend/vnc_server/
Dvnc_utils.h67 inline constexpr int BytesPerPixel() { in BytesPerPixel() function
78 return AlignToPowerOf2(ActualScreenWidth() * BytesPerPixel(), 4); in ActualScreenStride()
87 return ActualScreenWidth() * ActualScreenHeight() * BytesPerPixel(); in ScreenSizeInBytes()
Dframe_buffer_watcher.cpp73 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()
Djpeg_compressor.cpp34 cinfo->input_components = cvd::vnc::BytesPerPixel(); in InitCinfo()
60 (x * BytesPerPixel())])); in Compress()
Dsimulated_hw_composer.cpp93 &raw_screen[y * ActualScreenWidth() * BytesPerPixel()]; in MakeStripes()
95 raw_start + (height * ActualScreenWidth() * BytesPerPixel()); in MakeStripes()
/device/google/cuttlefish_common/common/vsoc/lib/
Dgraphics_common.h24 static inline std::size_t BytesPerPixel(PixelFormat in) { in BytesPerPixel() function