summaryrefslogtreecommitdiff
path: root/include/compression/lz77.h
blob: e8112567f26c20dc69f899e2d8caa6d042f49771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* This code is part of the tng compression routines.
 *
 * Written by Daniel Spangberg
 * Copyright (c) 2010, 2013, The GROMACS development team.
 *
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1
 * of the License, or (at your option) any later version.
 */


#ifndef LZ77_H
#define LZ77_H

void Ptngc_comp_to_lz77(unsigned int *vals, int nvals,
		  unsigned int *data, int *ndata,
		  unsigned int *len, int *nlens,
		  unsigned int *offsets, int *noffsets);

void Ptngc_comp_from_lz77(unsigned int *data, int ndata,
		    unsigned int *len, int nlens,
		    unsigned int *offsets, int noffsets,
		    unsigned int *vals, int nvals);

#endif
contact: Jan Huwald // Impressum