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_uint32.c

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