diff options
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_ |