diff options
| author | James Stembridge <jstembridge@users.sourceforge.net> | 2005-01-14 15:24:07 +0000 |
|---|---|---|
| committer | James Stembridge <jstembridge@users.sourceforge.net> | 2005-01-14 15:24:07 +0000 |
| commit | 05f670cb8cb0e0594d85ee50e8d126557cf3f8fe (patch) | |
| tree | 638bdc4737dab9c7c3724ab372459590a607e07b /src/libmusepack/musepack/requant.h | |
| parent | f03ebd99a8e85f09d1abcde8fcc4a6b3318d82ad (diff) | |
| download | xine-lib-05f670cb8cb0e0594d85ee50e8d126557cf3f8fe.tar.gz xine-lib-05f670cb8cb0e0594d85ee50e8d126557cf3f8fe.tar.bz2 | |
(Drum roll) Long awaited support for Musepack
CVS patchset: 7344
CVS date: 2005/01/14 15:24:07
Diffstat (limited to 'src/libmusepack/musepack/requant.h')
| -rw-r--r-- | src/libmusepack/musepack/requant.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libmusepack/musepack/requant.h b/src/libmusepack/musepack/requant.h new file mode 100644 index 000000000..dc9a5c32f --- /dev/null +++ b/src/libmusepack/musepack/requant.h @@ -0,0 +1,17 @@ +/// \file requant.h +/// Requantization function definitions. + +#ifndef _musepack_requant_h +#define _musepack_requant_h_ + +#include "musepack/musepack.h" + +/* C O N S T A N T S */ +extern const mpc_uint32_t Res_bit [18]; // bits per sample for chosen quantizer +extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; // coefficients for requantization +extern const mpc_int32_t __Dc [1 + 18]; // offset for requantization + +#define Cc (__Cc + 1) +#define Dc (__Dc + 1) + +#endif // _musepack_requant_h_ |
