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

    r2c47b73 r9ee2ce3  
    2222#include "TightDataPointStorageI.h" 
    2323#include "sz_int16.h" 
     24#include "utility.h" 
    2425 
    2526unsigned int optimize_intervals_int16_1D(int16_t *oriData, size_t dataLength, double realPrecision) 
     
    267268                pred = last3CmprsData[0]; 
    268269                predAbsErr = llabs(curData - pred);      
    269                 if(predAbsErr<=checkRadius) 
     270                if(predAbsErr<checkRadius) 
    270271                { 
    271272                        state = (predAbsErr/realPrecision+1)/2; 
     
    13701371                else if(confparams_cpr->szMode==SZ_BEST_COMPRESSION || confparams_cpr->szMode==SZ_DEFAULT_COMPRESSION) 
    13711372                { 
    1372                         *outSize = zlib_compress5(tmpByteData, tmpOutSize, newByteData, confparams_cpr->gzipMode); 
     1373                        *outSize = sz_lossless_compress(confparams_cpr->losslessCompressor, confparams_cpr->gzipMode, tmpByteData, tmpOutSize, newByteData); 
    13731374                        free(tmpByteData); 
    13741375                } 
Note: See TracChangeset for help on using the changeset viewer.