huffman.comp.dct.libutil

来自「su 的源代码库」· LIBUTIL 代码 · 共 28 行

LIBUTIL
28
字号
HUFFMAN - Routines for in memory Huffman coding/decodinghuffCompress - huffman compress a byte stream in a memory buffer and output 		the bit stream into another memory bufferhuffDecompress - decompress a huffman coded bit stream in a memory buffer and 		output the byte stream into another memory buffer   Function Prototypes:int huffCompress(void *inb, void *outb);int huffDecompress(void *inb, void *outb);huffCompress:Input:inb	buffer holding the input byte stream Output:outb	buffer holding the output bit streamhuffDecompress:Input:inb	buffer holding the input bit stream Output:outb	buffer holding the output byte streamNotes:The algorithm is based on that in Mark Nelson's "Data Compression" book.The compression is performed in memory here.Author:		Tong Chen, 08/01/94

⌨️ 快捷键说明

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