]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompressLibInternal.h
2 BROTLI UEFI header file
4 Allows BROTLI code to build under UEFI (edk2) build environment
6 Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #ifndef __BROTLI_DECOMPRESS_INTERNAL_H__
12 #define __BROTLI_DECOMPRESS_INTERNAL_H__
15 #include <Library/ExtractGuidedSectionLib.h>
16 #include <brotli/c/include/brotli/types.h>
17 #include <brotli/c/include/brotli/decode.h>
24 #define FILE_BUFFER_SIZE 65536
25 #define BROTLI_INFO_SIZE 8
26 #define BROTLI_DECODE_MAX 8
27 #define BROTLI_SCRATCH_MAX 16
31 BrotliUefiDecompressGetInfo (
32 IN CONST VOID
*Source
,
34 OUT UINT32
*DestinationSize
,
35 OUT UINT32
*ScratchSize
40 BrotliUefiDecompress (
41 IN CONST VOID
*Source
,
43 IN OUT VOID
*Destination
,