]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/Common/EfiCompress.h
3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Header file for compression routine
25 #include <UefiBaseTypes.h>
27 #ifndef _EFICOMPRESS_H
28 #define _EFICOMPRESS_H
34 IN OUT UINT32
*DstSize
42 The compression routine.
46 SrcBuffer - The buffer storing the source data
47 SrcSize - The size of source data
48 DstBuffer - The buffer to store the compressed data
49 DstSize - On input, the size of DstBuffer; On output,
50 the size of the actual compressed data.
54 EFI_BUFFER_TOO_SMALL - The DstBuffer is too small. In this case,
55 DstSize contains the size needed.
56 EFI_SUCCESS - Compression is successful.
61 (*COMPRESS_FUNCTION
) (
65 IN OUT UINT32
*DstSize