config.h

来自「PPMz2压缩方式的源码」· C头文件 代码 · 共 49 行

H
49
字号
#ifndef CONFIG_H
#define CONFIG_H

#include <crblib/inc.h>

extern int tune_param;

extern bool PPMZ2_TextMode;
extern int PPMZ2_LOEType;

#define PPMZ2_Order (8) // this is not really the "order" but the # of ContextTrie indeces

#define PPMZ2_IntProb_Shift	(16)	// making this small hurts compression !!
#define PPMZ2_IntProb_One	(1UL << PPMZ2_IntProb_Shift)

extern const uint PPMDet_MinLen_Inc;
extern const uint PPMDet_MinOrder;

extern const int Context_SymIncNovel;
extern const int Context_SymInc	;
extern const int Context_EscpInc	;

extern const int Context_Escape_Max;
extern const int Context_CharCountScaleDown;

extern const int PPMZ2_PrintfInterval;

extern const uint See_Init_Scale	;
extern const uint See_Init_Esc	;
extern const uint See_Init_Tot	;

extern const uint See_Inc				;
extern const uint See_EscTot_ExtraInc	;
extern const uint See_ScaleDown		;
extern const uint See_Esc_ScaleDown	;

extern const uint  Context_Excluded_Escape_Shift		;
extern const uint  Context_Excluded_Escape_Init		;
extern const uint  Context_Excluded_Escape_Inc			;
extern const uint  Context_Excluded_Escape_ExcludedInc	;

extern const uint PPMZ2_MaxContextLen;
extern const uint PPMZ2_SeedBytes	;
extern const uint PPMZ2_DetMegs		;
extern const uint PPMZ2_TrieMegs	;
extern const uint PPMZ2_SeedByte	;

#endif // CONFIG_H

⌨️ 快捷键说明

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