source: thirdparty/SZ/sz/include/sz_int32.h @ 2c47b73

Revision 2c47b73, 2.8 KB checked in by Hal Finkel <hfinkel@…>, 6 years ago (diff)

more work on adding SZ (latest version)

  • Property mode set to 100644
Line 
1/**
2 *  @file sz_int32.h
3 *  @author Sheng Di
4 *  @date July, 2017
5 *  @brief Header file for the sz_int32.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_Int32_H
11#define _SZ_Int32_H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include <stdio.h>
18
19unsigned int optimize_intervals_int32_1D(int32_t *oriData, size_t dataLength, double realPrecision);
20unsigned int optimize_intervals_int32_2D(int32_t *oriData, size_t r1, size_t r2, double realPrecision);
21unsigned int optimize_intervals_int32_3D(int32_t *oriData, size_t r1, size_t r2, size_t r3, double realPrecision);
22unsigned int optimize_intervals_int32_4D(int32_t *oriData, size_t r1, size_t r2, size_t r3, size_t r4, double realPrecision);
23TightDataPointStorageI* SZ_compress_int32_1D_MDQ(int32_t *oriData, size_t dataLength, double realPrecision, int64_t valueRangeSize, int64_t minValue);
24void SZ_compress_args_int32_StoreOriData(int32_t* oriData, size_t dataLength, TightDataPointStorageI* tdps, unsigned char** newByteData, size_t *outSize);
25void SZ_compress_args_int32_NoCkRngeNoGzip_1D(unsigned char** newByteData, int32_t *oriData, 
26size_t dataLength, double realPrecision, size_t *outSize, int64_t valueRangeSize, int32_t minValue);
27TightDataPointStorageI* SZ_compress_int32_2D_MDQ(int32_t *oriData, size_t r1, size_t r2, double realPrecision, int64_t valueRangeSize, int64_t minValue);
28TightDataPointStorageI* SZ_compress_int32_3D_MDQ(int32_t *oriData, size_t r1, size_t r2, size_t r3, double realPrecision, int64_t valueRangeSize, int64_t minValue);
29void SZ_compress_args_int32_NoCkRngeNoGzip_3D(unsigned char** newByteData, int32_t *oriData, size_t r1, size_t r2, size_t r3, double realPrecision, size_t *outSize, int64_t valueRangeSize, int64_t minValue);
30TightDataPointStorageI* SZ_compress_int32_4D_MDQ(int32_t *oriData, size_t r1, size_t r2, size_t r3, size_t r4, double realPrecision, int64_t valueRangeSize, int64_t minValue);
31void SZ_compress_args_int32_NoCkRngeNoGzip_4D(unsigned char** newByteData, int32_t *oriData, size_t r1, size_t r2, size_t r3, size_t r4, double realPrecision, 
32size_t *outSize, int64_t valueRangeSize, int64_t minValue);
33void SZ_compress_args_int32_withinRange(unsigned char** newByteData, int32_t *oriData, size_t dataLength, size_t *outSize);
34
35int SZ_compress_args_int32_wRngeNoGzip(unsigned char** newByteData, int32_t *oriData, 
36size_t r5, size_t r4, size_t r3, size_t r2, size_t r1, size_t *outSize, 
37int errBoundMode, double absErr_Bound, double relBoundRatio);
38
39int SZ_compress_args_int32(unsigned char** newByteData, int32_t *oriData, 
40size_t r5, size_t r4, size_t r3, size_t r2, size_t r1, size_t *outSize, 
41int errBoundMode, double absErr_Bound, double relBoundRatio);
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* ----- #ifndef _SZ_Int32_H  ----- */
48
Note: See TracBrowser for help on using the repository browser.