OpenCore
1.0.4
OpenCore Bootloader
|
#include "BlitInternal.h"
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
Go to the source code of this file.
Functions | |
RETURN_STATUS | BlitLibBufferToVideo0 (IN OC_BLIT_CONFIGURE *Configure, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN DeltaPixels) |
RETURN_STATUS | BlitLibBufferToVideo90 (IN OC_BLIT_CONFIGURE *Configure, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN DeltaPixels) |
RETURN_STATUS | BlitLibBufferToVideo180 (IN OC_BLIT_CONFIGURE *Configure, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN DeltaPixels) |
RETURN_STATUS | BlitLibBufferToVideo270 (IN OC_BLIT_CONFIGURE *Configure, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN DeltaPixels) |
OcBlitLib - Library to perform blt operations on a frame buffer.
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
Copyright (c) 2021, vit9696. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BlitBufferToVideo.c.
RETURN_STATUS BlitLibBufferToVideo0 | ( | IN OC_BLIT_CONFIGURE * | Configure, |
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL * | BltBuffer, | ||
IN UINTN | SourceX, | ||
IN UINTN | SourceY, | ||
IN UINTN | DestinationX, | ||
IN UINTN | DestinationY, | ||
IN UINTN | Width, | ||
IN UINTN | Height, | ||
IN UINTN | DeltaPixels ) |
Performs a UEFI Graphics Output Protocol Blt Buffer to Video operation with extended parameters at 0 degree rotation.
[in] | Configure | Pointer to a configuration which was successfully created by FrameBufferBltConfigure (). |
[in] | BltBuffer | Output buffer for pixel color data. |
[in] | SourceX | X location within BltBuffer. |
[in] | SourceY | Y location within BltBuffer. |
[in] | DestinationX | X location within video. |
[in] | DestinationY | Y location within video. |
[in] | Width | Width (in pixels). |
[in] | Height | Height. |
[in] | DeltaPixels | Number of pixels in a row of BltBuffer. |
RETURN_INVALID_PARAMETER | Invalid parameter were passed in. |
RETURN_SUCCESS | The Blt operation was performed successfully. |
Definition at line 17 of file BlitBufferToVideo.c.
RETURN_STATUS BlitLibBufferToVideo180 | ( | IN OC_BLIT_CONFIGURE * | Configure, |
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL * | BltBuffer, | ||
IN UINTN | SourceX, | ||
IN UINTN | SourceY, | ||
IN UINTN | DestinationX, | ||
IN UINTN | DestinationY, | ||
IN UINTN | Width, | ||
IN UINTN | Height, | ||
IN UINTN | DeltaPixels ) |
Performs a UEFI Graphics Output Protocol Blt Buffer to Video operation with extended parameters at 180 degree rotation.
[in] | Configure | Pointer to a configuration which was successfully created by FrameBufferBltConfigure (). |
[in] | BltBuffer | Output buffer for pixel color data. |
[in] | SourceX | X location within BltBuffer. |
[in] | SourceY | Y location within BltBuffer. |
[in] | DestinationX | X location within video. |
[in] | DestinationY | Y location within video. |
[in] | Width | Width (in pixels). |
[in] | Height | Height. |
[in] | DeltaPixels | Number of pixels in a row of BltBuffer. |
RETURN_INVALID_PARAMETER | Invalid parameter were passed in. |
RETURN_SUCCESS | The Blt operation was performed successfully. |
Definition at line 236 of file BlitBufferToVideo.c.
RETURN_STATUS BlitLibBufferToVideo270 | ( | IN OC_BLIT_CONFIGURE * | Configure, |
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL * | BltBuffer, | ||
IN UINTN | SourceX, | ||
IN UINTN | SourceY, | ||
IN UINTN | DestinationX, | ||
IN UINTN | DestinationY, | ||
IN UINTN | Width, | ||
IN UINTN | Height, | ||
IN UINTN | DeltaPixels ) |
Performs a UEFI Graphics Output Protocol Blt Buffer to Video operation with extended parameters at 270 degree rotation.
[in] | Configure | Pointer to a configuration which was successfully created by FrameBufferBltConfigure (). |
[in] | BltBuffer | Output buffer for pixel color data. |
[in] | SourceX | X location within BltBuffer. |
[in] | SourceY | Y location within BltBuffer. |
[in] | DestinationX | X location within video. |
[in] | DestinationY | Y location within video. |
[in] | Width | Width (in pixels). |
[in] | Height | Height. |
[in] | DeltaPixels | Number of pixels in a row of BltBuffer. |
RETURN_INVALID_PARAMETER | Invalid parameter were passed in. |
RETURN_SUCCESS | The Blt operation was performed successfully. |
Definition at line 305 of file BlitBufferToVideo.c.
RETURN_STATUS BlitLibBufferToVideo90 | ( | IN OC_BLIT_CONFIGURE * | Configure, |
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL * | BltBuffer, | ||
IN UINTN | SourceX, | ||
IN UINTN | SourceY, | ||
IN UINTN | DestinationX, | ||
IN UINTN | DestinationY, | ||
IN UINTN | Width, | ||
IN UINTN | Height, | ||
IN UINTN | DeltaPixels ) |
Performs a UEFI Graphics Output Protocol Blt Buffer to Video operation with extended parameters at -90 degree rotation.
[in] | Configure | Pointer to a configuration which was successfully created by FrameBufferBltConfigure (). |
[in] | BltBuffer | Output buffer for pixel color data. |
[in] | SourceX | X location within BltBuffer. |
[in] | SourceY | Y location within BltBuffer. |
[in] | DestinationX | X location within video. |
[in] | DestinationY | Y location within video. |
[in] | Width | Width (in pixels). |
[in] | Height | Height. |
[in] | DeltaPixels | Number of pixels in a row of BltBuffer. |
RETURN_INVALID_PARAMETER | Invalid parameter were passed in. |
RETURN_SUCCESS | The Blt operation was performed successfully. |
Definition at line 80 of file BlitBufferToVideo.c.