加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wavelet.h 707 Bytes
一键复制 编辑 原始数据 按行查看 历史
goldbeef 提交于 2014-05-19 18:40 . Create wavelet.h
#ifndef _WAVELET_H
#define _WAVELET_H
#include "wzip.h"
waveletTree createWaveletTree(uchar *buff,u32 len,
char (*codeTable)[CODE_MAX_LEN]
);
int destroyWaveletTree(waveletTree root);
int compressWaveletTree(waveletTree wavTree,NodeCodeType type);
int compressWaveletTreeWithGamma(waveletTree wavTree);
int compressWaveletTreeWithDelta(waveletTree wavTree);
int decompressWaveletTree(waveletTree wavTree,NodeCodeType type);
int decompressTreeWithRleGamma(waveletTree wavTree);
int decompressTreeWithRleDelta(waveletTree wavTree);
int resetBitBuffWaveletTree(waveletTree root);
int resetZipBuffWaveletTree(waveletTree root);
int computeZipSizWaveletTree(waveletTree root);
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化