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

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
Line 
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
14extern "C" {
15#endif
16
17#include <stdio.h>
18
19//conf.c
20void updateQuantizationInfo(int quant_intervals);
21int SZ_ReadConf(const char* sz_cfgFile);
22int SZ_LoadConf(const char* sz_cfgFile);
23int checkVersion(char* version);
24void initSZ_TSC();
25unsigned int roundUpToPowerOf2(unsigned int base);
26double 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.