Mercurial > vba-linux
annotate src/win32/7zip/7z/CPP/7zip/Compress/PpmdType.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
rev | line source |
---|---|
rlm@1 | 1 /**************************************************************************** |
rlm@1 | 2 * This file is part of PPMd project * |
rlm@1 | 3 * Written and distributed to public domain by Dmitry Shkarin 1997, * |
rlm@1 | 4 * 1999-2001 * |
rlm@1 | 5 * Contents: compilation parameters and miscelaneous definitions * |
rlm@1 | 6 * Comments: system & compiler dependent file |
rlm@1 | 7 |
rlm@1 | 8 * modified by Igor Pavlov (2004-08-29). |
rlm@1 | 9 ****************************************************************************/ |
rlm@1 | 10 |
rlm@1 | 11 #ifndef __COMPRESS_PPMD_TYPE_H |
rlm@1 | 12 #define __COMPRESS_PPMD_TYPE_H |
rlm@1 | 13 |
rlm@1 | 14 const int kMaxOrderCompress = 32; |
rlm@1 | 15 const int MAX_O = 255; /* maximum allowed model order */ |
rlm@1 | 16 |
rlm@1 | 17 template <class T> |
rlm@1 | 18 inline void _PPMD_SWAP(T& t1,T& t2) { T tmp = t1; t1 = t2; t2 = tmp; } |
rlm@1 | 19 |
rlm@1 | 20 #endif |