Algorithm 版 (精华区)
发信人: lofe ()感激生活(), 信区: Algorithm
标 题: Ash -arith.h
发信站: 哈工大紫丁香 (Sun Sep 3 08:24:37 2000), 转信
#define MIN_RANGE 0x4001
#define MAX_RANGE 0xFFFF
struct coder_state
{
unsigned low;
unsigned range;
int uflow;
int bits;
int fpos;
};
void InitCoder (void);
void CloseCoder (void);
void EncodeArith (unsigned, unsigned, unsigned);
void StartDecode (void);
int DecodeArith (unsigned);
void UpdateDecoder (unsigned, unsigned, unsigned);
void SaveCoderState (struct coder_state *);
void RestoreCoderState (struct coder_state *);
int CodeLength (struct coder_state *);
int ResetOutputPointer (int);
--
Every problem has a solution.
infosite@263.net
※ 修改:.haojs 于 Sep 3 08:22:13 修改本文.[FROM: bbs.hit.edu.cn]
--
※ 转寄:.武汉白云黄鹤站 bbs.whnet.edu.cn.[FROM: bbs.hit.edu.cn]
--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: haojs.bbs@bbs.whnet.]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.141毫秒