[2c47b73] | 1 | /** |
---|
| 2 | * @file sz_int64.h |
---|
| 3 | * @author Sheng Di |
---|
| 4 | * @date July, 2017 |
---|
| 5 | * @brief Header file for the sz_int64.c. |
---|
| 6 | * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. |
---|
| 7 | * See COPYRIGHT in top-level directory. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef _SZ_Int64_H |
---|
| 11 | #define _SZ_Int64_H |
---|
| 12 | |
---|
| 13 | #ifdef __cplusplus |
---|
| 14 | extern "C" { |
---|
| 15 | #endif |
---|
| 16 | |
---|
| 17 | #include <stdio.h> |
---|
| 18 | |
---|
| 19 | unsigned int optimize_intervals_int64_1D(int64_t *oriData, size_t dataLength, double realPrecision); |
---|
| 20 | unsigned int optimize_intervals_int64_2D(int64_t *oriData, size_t r1, size_t r2, double realPrecision); |
---|
| 21 | unsigned int optimize_intervals_int64_3D(int64_t *oriData, size_t r1, size_t r2, size_t r3, double realPrecision); |
---|
| 22 | unsigned int optimize_intervals_int64_4D(int64_t *oriData, size_t r1, size_t r2, size_t r3, size_t r4, double realPrecision); |
---|
| 23 | TightDataPointStorageI* SZ_compress_int64_1D_MDQ(int64_t *oriData, size_t dataLength, double realPrecision, int64_t valueRangeSize, int64_t minValue); |
---|
| 24 | void SZ_compress_args_int64_StoreOriData(int64_t* oriData, size_t dataLength, TightDataPointStorageI* tdps, unsigned char** newByteData, size_t *outSize); |
---|
| 25 | void SZ_compress_args_int64_NoCkRngeNoGzip_1D(unsigned char** newByteData, int64_t *oriData, |
---|
| 26 | size_t dataLength, double realPrecision, size_t *outSize, int64_t valueRangeSize, int64_t minValue); |
---|
| 27 | TightDataPointStorageI* SZ_compress_int64_2D_MDQ(int64_t *oriData, size_t r1, size_t r2, double realPrecision, int64_t valueRangeSize, int64_t minValue); |
---|
| 28 | TightDataPointStorageI* SZ_compress_int64_3D_MDQ(int64_t *oriData, size_t r1, size_t r2, size_t r3, double realPrecision, int64_t valueRangeSize, int64_t minValue); |
---|
| 29 | void SZ_compress_args_int64_NoCkRngeNoGzip_3D(unsigned char** newByteData, int64_t *oriData, size_t r1, size_t r2, size_t r3, double realPrecision, size_t *outSize, int64_t valueRangeSize, int64_t minValue); |
---|
| 30 | TightDataPointStorageI* SZ_compress_int64_4D_MDQ(int64_t *oriData, size_t r1, size_t r2, size_t r3, size_t r4, double realPrecision, int64_t valueRangeSize, int64_t minValue); |
---|
| 31 | void SZ_compress_args_int64_NoCkRngeNoGzip_4D(unsigned char** newByteData, int64_t *oriData, size_t r1, size_t r2, size_t r3, size_t r4, double realPrecision, |
---|
| 32 | size_t *outSize, int64_t valueRangeSize, int64_t minValue); |
---|
| 33 | void SZ_compress_args_int64_withinRange(unsigned char** newByteData, int64_t *oriData, size_t dataLength, size_t *outSize); |
---|
| 34 | |
---|
| 35 | int SZ_compress_args_int64_wRngeNoGzip(unsigned char** newByteData, int64_t *oriData, |
---|
| 36 | size_t r5, size_t r4, size_t r3, size_t r2, size_t r1, size_t *outSize, |
---|
| 37 | int errBoundMode, double absErr_Bound, double relBoundRatio); |
---|
| 38 | |
---|
| 39 | int SZ_compress_args_int64(unsigned char** newByteData, int64_t *oriData, |
---|
| 40 | size_t r5, size_t r4, size_t r3, size_t r2, size_t r1, size_t *outSize, |
---|
| 41 | int errBoundMode, double absErr_Bound, double relBoundRatio); |
---|
| 42 | |
---|
| 43 | #ifdef __cplusplus |
---|
| 44 | } |
---|
| 45 | #endif |
---|
| 46 | |
---|
| 47 | #endif /* ----- #ifndef _SZ_Int64_H ----- */ |
---|
| 48 | |
---|