1 | /** |
---|
2 | * @file sz_omp.h |
---|
3 | * @author Xin Liang |
---|
4 | * @date July, 2017 |
---|
5 | * @brief Header file for the sz_omp.c. |
---|
6 | * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. |
---|
7 | * See COPYRIGHT in top-level directory. |
---|
8 | */ |
---|
9 | |
---|
10 | #include <stdio.h> |
---|
11 | #include <stdlib.h> |
---|
12 | #include "omp.h" |
---|
13 | #include "sz.h" |
---|
14 | |
---|
15 | #ifndef _SZ_OMP_H |
---|
16 | #define _SZ_OMP_H |
---|
17 | |
---|
18 | #ifdef __cplusplus |
---|
19 | extern "C" { |
---|
20 | #endif |
---|
21 | |
---|
22 | unsigned char * SZ_compress_float_1D_MDQ_openmp(float *oriData, size_t r1, double realPrecision, size_t * comp_size); |
---|
23 | |
---|
24 | unsigned char * SZ_compress_float_2D_MDQ_openmp(float *oriData, size_t r1, size_t r2, double realPrecision, size_t * comp_size); |
---|
25 | |
---|
26 | unsigned char * SZ_compress_float_3D_MDQ_openmp(float *oriData, size_t r1, size_t r2, size_t r3, double realPrecision, size_t * comp_size); |
---|
27 | |
---|
28 | void decompressDataSeries_float_1D_openmp(float** data, size_t r1, unsigned char* comp_data); |
---|
29 | |
---|
30 | void decompressDataSeries_float_3D_openmp(float** data, size_t r1, size_t r2, size_t r3, unsigned char* comp_data); |
---|
31 | |
---|
32 | void decompressDataSeries_float_2D_openmp(float** data, size_t r1, size_t r2, unsigned char* comp_data); |
---|
33 | |
---|
34 | //void Huffman_init_openmp(HuffmanTree* huffmanTree, int *s, size_t length, int thread_num); |
---|
35 | void Huffman_init_openmp(HuffmanTree* huffmanTree, int *s, size_t length, int thread_num, size_t * freq); |
---|
36 | |
---|
37 | #ifdef __cplusplus |
---|
38 | } |
---|
39 | #endif |
---|
40 | |
---|
41 | #endif /* ----- #ifndef _SZ_OMP_H ----- */ |
---|