TNG version 1.7.3
[alexxy/gromacs.git] / src / external / tng_io / include / compression / rle.h
1 /* This code is part of the tng compression routines.
2  *
3  * Written by Daniel Spangberg
4  * Copyright (c) 2010, 2013, The GROMACS development team.
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the Revised BSD License.
9  */
10
11
12 #ifndef RLE_H
13 #define RLE_H
14
15 void Ptngc_comp_conv_to_rle(unsigned int *vals, const int nvals,
16                                     unsigned int *rle, int *nrle,
17                                     const int min_rle);
18
19 void Ptngc_comp_conv_from_rle(unsigned int *rle,
20                                           unsigned int *vals, const int nvals);
21
22 #endif