[2c47b73] | 1 | /** |
---|
| 2 | * @file szd_int16.h |
---|
| 3 | * @author Sheng Di |
---|
| 4 | * @date July, 2017 |
---|
| 5 | * @brief Header file for the szd_int16.c. |
---|
| 6 | * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. |
---|
| 7 | * See COPYRIGHT in top-level directory. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef _SZD_Int16_H |
---|
| 11 | #define _SZD_Int16_H |
---|
| 12 | |
---|
| 13 | #ifdef __cplusplus |
---|
| 14 | extern "C" { |
---|
| 15 | #endif |
---|
| 16 | |
---|
| 17 | #include "TightDataPointStorageI.h" |
---|
| 18 | |
---|
| 19 | #define SZ_INT16_MIN -32768 |
---|
| 20 | #define SZ_INT16_MAX 32767 |
---|
| 21 | |
---|
| 22 | void decompressDataSeries_int16_1D(int16_t** data, size_t dataSeriesLength, TightDataPointStorageI* tdps); |
---|
| 23 | void decompressDataSeries_int16_2D(int16_t** data, size_t r1, size_t r2, TightDataPointStorageI* tdps); |
---|
| 24 | void decompressDataSeries_int16_3D(int16_t** data, size_t r1, size_t r2, size_t r3, TightDataPointStorageI* tdps); |
---|
| 25 | void decompressDataSeries_int16_4D(int16_t** data, size_t r1, size_t r2, size_t r3, size_t r4, TightDataPointStorageI* tdps); |
---|
| 26 | |
---|
| 27 | void getSnapshotData_int16_1D(int16_t** data, size_t dataSeriesLength, TightDataPointStorageI* tdps, int errBoundMode); |
---|
| 28 | void getSnapshotData_int16_2D(int16_t** data, size_t r1, size_t r2, TightDataPointStorageI* tdps, int errBoundMode); |
---|
| 29 | void getSnapshotData_int16_3D(int16_t** data, size_t r1, size_t r2, size_t r3, TightDataPointStorageI* tdps, int errBoundMode); |
---|
| 30 | void getSnapshotData_int16_4D(int16_t** data, size_t r1, size_t r2, size_t r3, size_t r4, TightDataPointStorageI* tdps, int errBoundMode); |
---|
| 31 | |
---|
| 32 | int SZ_decompress_args_int16(int16_t** newData, size_t r5, size_t r4, size_t r3, size_t r2, size_t r1, unsigned char* cmpBytes, size_t cmpSize); |
---|
| 33 | |
---|
| 34 | #ifdef __cplusplus |
---|
| 35 | } |
---|
| 36 | #endif |
---|
| 37 | |
---|
| 38 | #endif /* ----- #ifndef _SZD_Int16_H ----- */ |
---|