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/src/sz_int64.c

    r2c47b73 r9ee2ce3  
    2222#include "TightDataPointStorageI.h" 
    2323#include "sz_int64.h" 
     24#include "utility.h" 
    2425 
    2526unsigned int optimize_intervals_int64_1D(int64_t *oriData, size_t dataLength, double realPrecision) 
     
    270271                pred = last3CmprsData[0]; 
    271272                predAbsErr = llabs(curData - pred);      
    272                 if(predAbsErr<=checkRadius) 
     273                if(predAbsErr<checkRadius) 
    273274                { 
    274275                        state = (predAbsErr/realPrecision+1)/2; 
     
    12551256                else if(confparams_cpr->szMode==SZ_BEST_COMPRESSION || confparams_cpr->szMode==SZ_DEFAULT_COMPRESSION) 
    12561257                { 
    1257                         *outSize = zlib_compress5(tmpByteData, tmpOutSize, newByteData, confparams_cpr->gzipMode); 
     1258                        *outSize = sz_lossless_compress(confparams_cpr->losslessCompressor, confparams_cpr->gzipMode, tmpByteData, tmpOutSize, newByteData); 
    12581259                        free(tmpByteData); 
    12591260                } 
Note: See TracChangeset for help on using the changeset viewer.