summaryrefslogtreecommitdiff
path: root/include/compression/lz77.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compression/lz77.h')
-rw-r--r--include/compression/lz77.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/compression/lz77.h b/include/compression/lz77.h
new file mode 100644
index 0000000..e811256
--- /dev/null
+++ b/include/compression/lz77.h
@@ -0,0 +1,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