OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
BlitBufferToVideo.c File Reference
#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)
 

Detailed Description

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.

Function Documentation

◆ BlitLibBufferToVideo0()

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.

Parameters
[in]ConfigurePointer to a configuration which was successfully created by FrameBufferBltConfigure ().
[in]BltBufferOutput buffer for pixel color data.
[in]SourceXX location within BltBuffer.
[in]SourceYY location within BltBuffer.
[in]DestinationXX location within video.
[in]DestinationYY location within video.
[in]WidthWidth (in pixels).
[in]HeightHeight.
[in]DeltaPixelsNumber of pixels in a row of BltBuffer.
Return values
RETURN_INVALID_PARAMETERInvalid parameter were passed in.
RETURN_SUCCESSThe Blt operation was performed successfully.

Definition at line 17 of file BlitBufferToVideo.c.

◆ BlitLibBufferToVideo180()

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.

Parameters
[in]ConfigurePointer to a configuration which was successfully created by FrameBufferBltConfigure ().
[in]BltBufferOutput buffer for pixel color data.
[in]SourceXX location within BltBuffer.
[in]SourceYY location within BltBuffer.
[in]DestinationXX location within video.
[in]DestinationYY location within video.
[in]WidthWidth (in pixels).
[in]HeightHeight.
[in]DeltaPixelsNumber of pixels in a row of BltBuffer.
Return values
RETURN_INVALID_PARAMETERInvalid parameter were passed in.
RETURN_SUCCESSThe Blt operation was performed successfully.

Definition at line 236 of file BlitBufferToVideo.c.

◆ BlitLibBufferToVideo270()

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.

Parameters
[in]ConfigurePointer to a configuration which was successfully created by FrameBufferBltConfigure ().
[in]BltBufferOutput buffer for pixel color data.
[in]SourceXX location within BltBuffer.
[in]SourceYY location within BltBuffer.
[in]DestinationXX location within video.
[in]DestinationYY location within video.
[in]WidthWidth (in pixels).
[in]HeightHeight.
[in]DeltaPixelsNumber of pixels in a row of BltBuffer.
Return values
RETURN_INVALID_PARAMETERInvalid parameter were passed in.
RETURN_SUCCESSThe Blt operation was performed successfully.

Definition at line 305 of file BlitBufferToVideo.c.

◆ BlitLibBufferToVideo90()

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.

Parameters
[in]ConfigurePointer to a configuration which was successfully created by FrameBufferBltConfigure ().
[in]BltBufferOutput buffer for pixel color data.
[in]SourceXX location within BltBuffer.
[in]SourceYY location within BltBuffer.
[in]DestinationXX location within video.
[in]DestinationYY location within video.
[in]WidthWidth (in pixels).
[in]HeightHeight.
[in]DeltaPixelsNumber of pixels in a row of BltBuffer.
Return values
RETURN_INVALID_PARAMETERInvalid parameter were passed in.
RETURN_SUCCESSThe Blt operation was performed successfully.

Definition at line 80 of file BlitBufferToVideo.c.