Ignore:
Timestamp:
09/28/18 16:32:55 (6 years ago)
Author:
Hal Finkel <hfinkel@…>
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)
Message:

importing new SZ files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • thirdparty/SZ/sz/include/sz.h

    r2c47b73 r9ee2ce3  
    5555#include "sz_float_ts.h" 
    5656#include "szd_float_ts.h" 
     57#include "utility.h" 
    5758 
    5859#ifdef _WIN32 
     
    7576//typedef unsigned long uint64_t; 
    7677 
    77 #define SZ_VERNUM 0x0140 
    78 #define SZ_VER_MAJOR 1 
    79 #define SZ_VER_MINOR 4 
    80 #define SZ_VER_BUILD 13 
    81 #define SZ_VER_REVISION 5 
     78#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 
    8283 
    8384#define PASTRI 103 
     
    131132#define SZ_TEMPORAL_COMPRESSION 3 
    132133 
     134#define SZ_NO_REGRESSION 0 
     135#define SZ_WITH_LINEAR_REGRESSION 1 
     136 
    133137#define SZ_PWR_MIN_TYPE 0 
    134138#define SZ_PWR_AVG_TYPE 1 
     
    152156         
    153157#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 
    154162         
    155163//Note: the following setting should be consistent with stateNum in Huffman.h 
     
    237245        unsigned int maxRangeRadius; 
    238246        int sol_ID;// it's always SZ, unless the setting is PASTRI compression mode (./configure --enable-pastri) 
     247        int losslessCompressor; 
    239248        int sampleDistance; //2 bytes 
    240249        float predThreshold;  // 2 bytes 
     
    279288        char metadata_filename[256]; 
    280289        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 
    281294} sz_tsc_metadata; 
    282295 
     
    290303extern sz_params *confparams_dec; 
    291304extern sz_exedata *exe_params; 
     305extern int sz_with_regression; 
     306 
    292307//------------------------------------------------ 
    293308extern SZ_VarSet* sz_varset; 
     
    357372size_t compute_total_batch_size(); 
    358373 
    359 int isZlibFormat(unsigned char magic1, unsigned char magic2); 
    360  
    361374void SZ_registerVar(char* varName, int dataType, void* data,  
    362375                        int errBoundMode, double absErrBound, double relBoundRatio, double pwRelBoundRatio,  
Note: See TracChangeset for help on using the changeset viewer.