summaryrefslogtreecommitdiffstats
path: root/akode/plugins/mpc_decoder/mppdec/requant.h
diff options
context:
space:
mode:
Diffstat (limited to 'akode/plugins/mpc_decoder/mppdec/requant.h')
-rw-r--r--akode/plugins/mpc_decoder/mppdec/requant.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/akode/plugins/mpc_decoder/mppdec/requant.h b/akode/plugins/mpc_decoder/mppdec/requant.h
new file mode 100644
index 0000000..c5b8794
--- /dev/null
+++ b/akode/plugins/mpc_decoder/mppdec/requant.h
@@ -0,0 +1,14 @@
+#ifndef _requant_h
+#define _requant_h_
+
+#include "mpc_dec.h"
+
+/* C O N S T A N T S */
+extern const unsigned int Res_bit [18]; // bits per sample for chosen quantizer
+extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; // coefficients for requantization
+extern const int __Dc [1 + 18]; // offset for requantization
+
+#define Cc (__Cc + 1)
+#define Dc (__Dc + 1)
+
+#endif