lz77.h

来自「Microsoft Visual C++ 6.0环境下的无损压缩测试工程」· C头文件 代码 · 共 41 行

H
41
字号
/* Name : lz77.h * * Notes: This header file contains all of the data structures and function *        prototypes that are either globally available or at least available *        across modules in the LZ77 compression code. * *      $Log:$ */#ifndef LZ77_H#define LZ77_Hstruct LZ77Info{    UBYTE   * input;            /* Pointer to the input data.       */    LONG      length;           /* The number of bytes to pack.     */    UBYTE   * output;           /* The output buffer.               */    LONG      outBufSize;       /* Size of output in bytes.         */    LONG      outLen;           /* Number of bytes written to ouput.*/    LONG      Flags;            /* */    LONG      Number;           /* The number of this chunk.        */    LONG      Mode;             /* The packing mode to use.         */    APTR      Password;         /* */    LONG      pritvate[4];      /* Private to XPK, don't use.       */    UBYTE   * buffer;    UBYTE   * tagPos;    WORD      nextBit;    ULONG     bufferOffset;    LONG      maxOffset;    APTR      hashTable;};extern ULONG CompressLZ77  ( struct LZ77Info * info );extern ULONG DecompressLZ77( struct LZ77Info * info );extern void  PackFreeLZ77  ( struct LZ77Info * info );#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?