Revision 2c47b73,
734 bytes
checked in by Hal Finkel <hfinkel@…>, 6 years ago
(diff) |
more work on adding SZ (latest version)
|
-
Property mode set to
100644
|
Rev | Line | |
---|
[2c47b73] | 1 | /** |
---|
| 2 | * @file conf.h |
---|
| 3 | * @author Sheng Di |
---|
| 4 | * @date July, 2017 |
---|
| 5 | * @brief Header file for the conf.c. |
---|
| 6 | * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. |
---|
| 7 | * See COPYRIGHT in top-level directory. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef _Conf_H |
---|
| 11 | #define _Conf_H |
---|
| 12 | |
---|
| 13 | #ifdef __cplusplus |
---|
| 14 | extern "C" { |
---|
| 15 | #endif |
---|
| 16 | |
---|
| 17 | #include <stdio.h> |
---|
| 18 | |
---|
| 19 | //conf.c |
---|
| 20 | void updateQuantizationInfo(int quant_intervals); |
---|
| 21 | int SZ_ReadConf(const char* sz_cfgFile); |
---|
| 22 | int SZ_LoadConf(const char* sz_cfgFile); |
---|
| 23 | int checkVersion(char* version); |
---|
| 24 | void initSZ_TSC(); |
---|
| 25 | unsigned int roundUpToPowerOf2(unsigned int base); |
---|
| 26 | double computeABSErrBoundFromPSNR(double psnr, double threshold, double value_range); |
---|
| 27 | |
---|
| 28 | #ifdef __cplusplus |
---|
| 29 | } |
---|
| 30 | #endif |
---|
| 31 | |
---|
| 32 | #endif /* ----- #ifndef _Conf_H ----- */ |
---|
| 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.