VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompressLibInternal.h@ 89977

最後變更 在這個檔案從89977是 85718,由 vboxsync 提交於 5 年 前

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1011 位元組
 
1/** @file
2 BROTLI UEFI header file
3
4 Allows BROTLI code to build under UEFI (edk2) build environment
5
6 Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9**/
10
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
19typedef struct
20{
21 VOID *Buff;
22 UINTN BuffSize;
23} BROTLI_BUFF;
24
25#define FILE_BUFFER_SIZE 65536
26#define BROTLI_INFO_SIZE 8
27#define BROTLI_DECODE_MAX 8
28#define BROTLI_SCRATCH_MAX 16
29
30EFI_STATUS
31EFIAPI
32BrotliUefiDecompressGetInfo (
33 IN CONST VOID *Source,
34 IN UINT32 SourceSize,
35 OUT UINT32 *DestinationSize,
36 OUT UINT32 *ScratchSize
37 );
38
39EFI_STATUS
40EFIAPI
41BrotliUefiDecompress (
42 IN CONST VOID *Source,
43 IN UINTN SourceSize,
44 IN OUT VOID *Destination,
45 IN OUT VOID *Scratch
46 );
47
48#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette