1 /* This code is part of the tng compression routines.
3 * Written by Daniel Spangberg
4 * Copyright (c) 2010, 2013, The GROMACS development team.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the Revised BSD License.
15 void Ptngc_comp_conv_to_huffman(unsigned int *vals, int nvals,
16 unsigned int *dict, int ndict,
18 unsigned char *huffman,
20 unsigned char *huffman_dict,
22 unsigned int *huffman_dict_unpacked,
23 int *huffman_dict_unpackedlen);
25 void Ptngc_comp_conv_from_huffman(unsigned char *huffman,
26 unsigned int *vals, int nvals,
28 unsigned char *huffman_dict,
30 unsigned int *huffman_dict_unpacked,
31 int huffman_dict_unpackedlen);