Lines Matching refs:BytesPerPixel
26 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()
274 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill()
290 CopyMem (Configure->LineBuffer, &WideFill, Configure->BytesPerPixel); in FrameBufferBltLibVideoFill()
293 (Configure->LineBuffer + (IndexX * Configure->BytesPerPixel)), in FrameBufferBltLibVideoFill()
295 MIN (IndexX, Width - IndexX) * Configure->BytesPerPixel in FrameBufferBltLibVideoFill()
374 WidthInBytes = Width * Configure->BytesPerPixel; in FrameBufferBltLibVideoToBltBuffer()
384 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer()
400 Uint32 = *(UINT32*) (Configure->LineBuffer + (IndexX * Configure->BytesPerPixel)); in FrameBufferBltLibVideoToBltBuffer()
482 WidthInBytes = Width * Configure->BytesPerPixel; in FrameBufferBltLibBufferToVideo()
489 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo()
503 *(UINT32*) (Configure->LineBuffer + (IndexX * Configure->BytesPerPixel)) = in FrameBufferBltLibBufferToVideo()
577 WidthInBytes = Width * Configure->BytesPerPixel; in FrameBufferBltLibVideoToVideo()
580 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo()
584 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo()