TwlIPL/build/tools/makegcdfirm/compress.h
yosiokat 378c048624 ソースファイルのヘッダのSVN自動変換キーワードを修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@3 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-09-06 05:58:23 +00:00

39 lines
1.3 KiB
C

/*---------------------------------------------------------------------------*
Project: TwlFirm - tools - makenorfirm
File: compress.h
Copyright 2007 Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
proprietary information of Nintendo of America Inc. and/or Nintendo
Company Ltd., and are protected by Federal copyright law. They may
not be disclosed to third parties or copied or duplicated in any form,
in whole or in part, without the prior written consent of Nintendo.
$Date:: 2007-09-06$
$Rev$
$Author$
*---------------------------------------------------------------------------*/
#ifndef COMPRESS_H_
#define COMPRESS_H_
#include "misc.h"
/*---------------------------------------------------------------------------*
Name: MI_CompressLZ
Description: LZ77圧縮を行なう関数
Arguments: srcp 圧縮元データへのポインタ
size 圧縮元データサイズ
dstp 圧縮先データへのポインタ
圧縮元データよりも大きいサイズのバッファが必要です。
Returns: 圧縮後のデータサイズ。
*---------------------------------------------------------------------------*/
u32 LZCompWrite(u8 *srcp, u32 size, u8 *dstp, int boundary);
#endif //COMPRESS_H_