-
DS4
设电文字符集D及各字符出现的概率F如下:
D={a,b,c,d,e,f,g,h}(字符数n=8)
F={5,29,7,8,14,23,3,11}( )
编写完成下列功能的程序:
①构造关于F的Huffman树;
②求出并打印D总各字符的Huffman编码。
程序结构: 类型说明;
构造Huffman树的函数:Huffman_tree(H[m+1]);
求Huffman编码的函数:Huffman_code(code[n+1]);
main()
{ 变量说明;
输入字符集D及频率F;
调用Huffman_tree(H);
调用Huffman_code(code);
打印编码;
Y 继续?
N
停止
}
- 2015-06-06 16:41:33下载
- 积分:1
-
bmp2jpeg&jpegcoding
bmp转换为jpeg,jpeg压缩的源代码 程序用vc实现了bmp图片转换成jpeg图片(converted to jpeg bmp, jpeg compression source code procedures used vc realized bmp images converted into jpeg photos)
- 2020-11-28 10:29:30下载
- 积分:1
-
x264dateflow
说明: 文件介绍了x264程序的算法流程表,每个函数的内容详细介绍在里面 (Document describes the algorithm flow chart x264 programs, and detailed description of each function in it)
- 2011-04-15 21:44:43下载
- 积分:1
-
GZIP解压例子
利用gzip.dll解压http请求返回的内容。内附gzip.dll。参考网上资料自己写的VB6工程源码。自己编译EXE的时候注意把gzip.dll释放到exe所在目录。(Use gzip.dll to decompress the content returned by HTTP request. Gzip.dll is attached. Refer to the VB6 project source code written by myself.)
- 2020-06-22 07:00:02下载
- 积分:1
-
zip
压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
- 2013-10-14 10:16:38下载
- 积分:1
-
arithmetic
有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
- 2013-11-28 23:19:16下载
- 积分:1
-
e
说明: 一个上课很好用的课件,是您编程的很好帮手(why)
- 2009-03-27 08:41:54下载
- 积分:1
-
SourceCode
赫夫曼编/译码器源码,已生成的每个字符的赫夫曼编码,对任意字符文本进行编码,再译码(Huffman encoder/decoder source code, Huffman coding, each character has been generated, the text of any character encoding, decoding)
- 2013-04-24 10:36:09下载
- 积分:1
-
w_ipp-sample-data
w_ipp-sample-data-compression,Intel,IPP函数库,文件数据快速压缩解压缩工具包。可以进行数据加密解密告诉处理( W_ipp-sample-data-compression, Intel, IPP library, file compression and decompression tool for fast data packet. You can tell the encryption and decryption of data processing)
- 2011-10-07 19:43:38下载
- 积分:1
-
ivsdk
非常好的视频压缩filter,可以实现mpeg2 mpeg1的视频压缩,用户可以自己选择码率(very good video compression filter can achieve mpeg1 mpeg2 video compression, Users can choose Rate)
- 2006-08-10 15:58:10下载
- 积分:1