TianoCore EDK2
master
Loading...
Searching...
No Matches
BrotliDecompressLibInternal.h
Go to the documentation of this file.
1
11
#ifndef __BROTLI_DECOMPRESS_INTERNAL_H__
12
#define __BROTLI_DECOMPRESS_INTERNAL_H__
13
14
#include <
PiPei.h
>
15
#include <
Library/ExtractGuidedSectionLib.h
>
16
#include <brotli/c/include/brotli/types.h>
17
#include <brotli/c/include/brotli/decode.h>
18
19
typedef
struct
{
20
VOID *Buff;
21
UINTN
BuffSize;
22
}
BROTLI_BUFF
;
23
24
#define FILE_BUFFER_SIZE 65536
25
#define BROTLI_INFO_SIZE 8
26
#define BROTLI_DECODE_MAX 8
27
#define BROTLI_SCRATCH_MAX 16
28
29
EFI_STATUS
30
EFIAPI
31
BrotliUefiDecompressGetInfo
(
32
IN
CONST
VOID *Source,
33
IN
UINT32 SourceSize,
34
OUT
UINT32 *DestinationSize,
35
OUT
UINT32 *ScratchSize
36
);
37
38
EFI_STATUS
39
EFIAPI
40
BrotliUefiDecompress
(
41
IN
CONST
VOID *Source,
42
IN
UINTN
SourceSize,
43
IN
OUT
VOID *Destination,
44
IN
OUT
VOID *Scratch
45
);
46
47
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
BrotliUefiDecompressGetInfo
EFI_STATUS EFIAPI BrotliUefiDecompressGetInfo(IN CONST VOID *Source, IN UINT32 SourceSize, OUT UINT32 *DestinationSize, OUT UINT32 *ScratchSize)
Definition:
BrotliDecompress.c:227
BrotliUefiDecompress
EFI_STATUS EFIAPI BrotliUefiDecompress(IN CONST VOID *Source, IN UINTN SourceSize, IN OUT VOID *Destination, IN OUT VOID *Scratch)
Definition:
BrotliDecompress.c:272
ExtractGuidedSectionLib.h
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
PiPei.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
BROTLI_BUFF
Definition:
BrotliDecompressLibInternal.h:19
MdeModulePkg
Library
BrotliCustomDecompressLib
BrotliDecompressLibInternal.h
Generated on Fri Nov 15 2024 18:01:11 for TianoCore EDK2 by
1.9.6