/** @file\r
Header file for compression routine.\r
\r
- Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
/**\r
The compression routine.\r
\r
- @param[in] SrcBuffer The buffer containing the source data.\r
- @param[in] SrcSizae Number of bytes in SrcBuffer.\r
- @param[in] DstBuffer The buffer to put the compressed image in.\r
- @param[in,out] DstSize On input the size (in bytes) of DstBuffer, on\r
- return the number of bytes placed in DstBuffer.\r
+ @param[in] SrcBuffer The buffer containing the source data.\r
+ @param[in] SrcSize Number of bytes in SrcBuffer.\r
+ @param[in] DstBuffer The buffer to put the compressed image in.\r
+ @param[in, out] DstSize On input the size (in bytes) of DstBuffer, on\r
+ return the number of bytes placed in DstBuffer.\r
\r
@retval EFI_SUCCESS The compression was sucessful.\r
@retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required.\r
**/\r
EFI_STATUS\r
-EFIAPI\r
Compress (\r
IN VOID *SrcBuffer,\r
IN UINT64 SrcSize,\r
);\r
\r
#endif\r
-\r