rungae.h

来自「傅立叶变换和小波变换是图像压缩的重要工具。该代大戏是利用小波变换进行图像压缩。」· C头文件 代码 · 共 30 行

H
30
字号
#ifndef GE_RUNGAE_H
#define GE_RUNGAE_H

#include <crblib/arithc.h>

typedef int rung_t;
typedef struct srung srung;

extern const ulong asmladder;

extern void rungModelInit(rung_t * rung);
extern void rungDecoderInit(void); // arithDecodeInit() calls this for us

extern void rungModelEncBit(arithInfo * ari,bool bit,rung_t * rung);
extern bool rungModelDecBit(arithInfo * ari,rung_t * rung);

extern void rungModelBit(rung_t * rung,bool bit);

extern void rungEncodeUnary(arithInfo *ari,uint val,rung_t * rung);
extern uint rungDecodeUnary(arithInfo *ari,rung_t * rung);

extern void rungEncodeUnaryMax(arithInfo *ari,uint val,rung_t * rung,uint max);
extern uint rungDecodeUnaryMax(arithInfo *ari,rung_t * rung,uint max);

extern uint rungGetP0Shifted10(rung_t * rung);

extern void rungModelSetByCounts(rung_t * rung,int c0,int c1);

#endif // rungc

⌨️ 快捷键说明

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