alder_lake_bios/Insyde/InsydeModulePkg/Include/Protocol/PcxDecoder.h

53 lines
1.5 KiB
C

/** @file
PCX Decoder protocol
;******************************************************************************
;* Copyright (c) 2012, Insyde Software Corp. All Rights Reserved.
;*
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
;* transmit, broadcast, present, recite, release, license or otherwise exploit
;* any part of this publication in any form, by any means, without the prior
;* written permission of Insyde Software Corporation.
;*
;******************************************************************************
*/
#ifndef _EFI_PCX_DECODER_H
#define _EFI_PCX_DECODER_H
//
// Global ID for the PCX Decoder Protocol
//
#define EFI_PCX_DECODER_PROTOCOL_GUID \
{0x5cba0791, 0xe45b, 0x4b3b, 0xbe, 0xdb, 0x3, 0xfd, 0x2c, 0xdb, 0x53, 0x31}
//
// Forward reference for pure ANSI compatability
//
typedef struct _EFI_PCX_DECODER_PROTOCOL EFI_PCX_DECODER_PROTOCOL;
typedef
EFI_STATUS
(EFIAPI *EFI_PCX_DECODER_DECODE_IMAGE) (
IN EFI_PCX_DECODER_PROTOCOL *This,
IN UINT8 *ImageData,
IN UINTN ImageDataSize,
OUT UINT8 **DecodedData,
OUT UINTN *DecodedDataSize,
OUT UINTN *Height,
OUT UINTN *Width
);
//
// Interface structure for the PCX Decoder Protocol
//
struct _EFI_PCX_DECODER_PROTOCOL {
EFI_PCX_DECODER_DECODE_IMAGE DecodeImage;
};
extern EFI_GUID gEfiPcxDecoderProtocolGuid;
#endif