加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
decompress.h 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
goldbeef 提交于 2014-05-19 18:33 . Create decompress.h
#ifndef _DECOMPRESS_H
#define _DECOMPRESS_H
#include "wzip.h"
int streamBlkDecompressInit(Stream_t *streamPtr);
int streamBlkDecompressCleanUp(Stream_t *streamPtr);
int streamBlkDecompressNew(Stream_t *streamPtr);
int paraseFileHeader(FILE *zipFile,Stream_t *streamPtr);
int paraseFileTail(FILE *zipFile,Stream_t *streamPtr);
int paraseBlkSiz(FILE *zipFile,Stream_t *streamPtr);
int paraseNodeCodeType(FILE *zipFile,Stream_t *streamPtr);
int paraseBlkCharSetMap(FILE* zipFile,Stream_t *streamPtr);
int paraseBlkCharCodeTable(FILE * zipFile,Stream_t *streamPtr);
int paraseBlkBwtIndex(FILE *zipFile,Stream_t *streamPtr);
waveletTree genWavtreeWithCodeTable(char (*codeTable)[CODE_MAX_LEN]);
int paraseBlkZipNodeWithPreorder(FILE* zipFile,
waveletTree root,
Stream_t *streamPtr
);
int genBwtWithWaveletTree(waveletTree root,Stream_t *streamPtr);
int genOrigBlkWithBwt(uchar *bwt,u32 len,u32 bwtIndex,uchar *orig);
int streamWriteOrigBlk(Stream_t *streamPtr);
void decompressMain(Stream_t *streamPtr);
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化