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_mtf(unsigned int *vals, const int nvals,
16 unsigned int *dict, const int ndict,
17 unsigned int *valsmtf);
19 void Ptngc_comp_conv_from_mtf(unsigned int *valsmtf, const int nvals,
20 unsigned int *dict, const int ndict,
23 void Ptngc_comp_conv_to_mtf_partial(unsigned int *vals, const int nvals,
24 unsigned int *valsmtf);
26 void Ptngc_comp_conv_from_mtf_partial(unsigned int *valsmtf, const int nvals,
29 void Ptngc_comp_conv_to_mtf_partial3(unsigned int *vals, const int nvals,
30 unsigned char *valsmtf);
32 void Ptngc_comp_conv_from_mtf_partial3(unsigned char *valsmtf, const int nvals,