50 OUT UINT32 *OutputBufferSize,
51 OUT UINT32 *ScratchBufferSize,
52 OUT UINT16 *SectionAttribute
55 ASSERT (InputSection !=
NULL);
56 ASSERT (OutputBufferSize !=
NULL);
57 ASSERT (ScratchBufferSize !=
NULL);
58 ASSERT (SectionAttribute !=
NULL);
60 if (IS_SECTION2 (InputSection)) {
62 &gBrotliCustomDecompressGuid,
79 &gBrotliCustomDecompressGuid,
133 OUT VOID **OutputBuffer,
134 OUT VOID *ScratchBuffer OPTIONAL,
135 OUT UINT32 *AuthenticationStatus
138 ASSERT (OutputBuffer !=
NULL);
139 ASSERT (InputSection !=
NULL);
141 if (IS_SECTION2 (InputSection)) {
143 &gBrotliCustomDecompressGuid,
153 *AuthenticationStatus = 0;
163 &gBrotliCustomDecompressGuid,
173 *AuthenticationStatus = 0;
197 &gBrotliCustomDecompressGuid,
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
EFI_STATUS EFIAPI BrotliUefiDecompressGetInfo(IN CONST VOID *Source, IN UINT32 SourceSize, OUT UINT32 *DestinationSize, OUT UINT32 *ScratchSize)
EFI_STATUS EFIAPI BrotliUefiDecompress(IN CONST VOID *Source, IN UINTN SourceSize, IN OUT VOID *Destination, IN OUT VOID *Scratch)
#define RETURN_INVALID_PARAMETER
#define SECTION_SIZE(SectionHeaderPtr)