Changeset 9ee2ce3 for thirdparty/SZ/sz/include/sz.h
- Timestamp:
- 09/28/18 16:32:55 (6 years ago)
- Branches:
- master, pympi
- Children:
- e6aa0eb
- Parents:
- abca157
- git-author:
- Hal Finkel <hfinkel@…> (09/28/18 16:32:55)
- git-committer:
- Hal Finkel <hfinkel@…> (09/28/18 16:32:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
thirdparty/SZ/sz/include/sz.h
r2c47b73 r9ee2ce3 55 55 #include "sz_float_ts.h" 56 56 #include "szd_float_ts.h" 57 #include "utility.h" 57 58 58 59 #ifdef _WIN32 … … 75 76 //typedef unsigned long uint64_t; 76 77 77 #define SZ_VERNUM 0x0 14078 #define SZ_VER_MAJOR 179 #define SZ_VER_MINOR 480 #define SZ_VER_BUILD 1381 #define SZ_VER_REVISION 578 #define SZ_VERNUM 0x0200 79 #define SZ_VER_MAJOR 2 80 #define SZ_VER_MINOR 0 81 #define SZ_VER_BUILD 2 82 #define SZ_VER_REVISION 0 82 83 83 84 #define PASTRI 103 … … 131 132 #define SZ_TEMPORAL_COMPRESSION 3 132 133 134 #define SZ_NO_REGRESSION 0 135 #define SZ_WITH_LINEAR_REGRESSION 1 136 133 137 #define SZ_PWR_MIN_TYPE 0 134 138 #define SZ_PWR_AVG_TYPE 1 … … 152 156 153 157 #define numOfBufferedSteps 1 //the number of time steps in the buffer 158 159 160 #define GZIP_COMPRESSOR 0 //i.e., ZLIB_COMPRSSOR 161 #define ZSTD_COMPRESSOR 1 154 162 155 163 //Note: the following setting should be consistent with stateNum in Huffman.h … … 237 245 unsigned int maxRangeRadius; 238 246 int sol_ID;// it's always SZ, unless the setting is PASTRI compression mode (./configure --enable-pastri) 247 int losslessCompressor; 239 248 int sampleDistance; //2 bytes 240 249 float predThreshold; // 2 bytes … … 279 288 char metadata_filename[256]; 280 289 FILE *metadata_file; 290 unsigned char* bit_array; //sihuan added 291 size_t intersect_size; //sihuan added 292 int64_t* hist_index; //sihuan added: prestep index 293 281 294 } sz_tsc_metadata; 282 295 … … 290 303 extern sz_params *confparams_dec; 291 304 extern sz_exedata *exe_params; 305 extern int sz_with_regression; 306 292 307 //------------------------------------------------ 293 308 extern SZ_VarSet* sz_varset; … … 357 372 size_t compute_total_batch_size(); 358 373 359 int isZlibFormat(unsigned char magic1, unsigned char magic2);360 361 374 void SZ_registerVar(char* varName, int dataType, void* data, 362 375 int errBoundMode, double absErrBound, double relBoundRatio, double pwRelBoundRatio,
Note: See TracChangeset
for help on using the changeset viewer.