Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/celt/vq.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-01-05 07:29:36 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-28 22:16:13 +0300
commit9eee106214169e77767b7c91777c4ecb3cb7cd04 (patch)
tree45e6ae199d6b24704751a538d36caace384c9d48 /celt/vq.h
parent3d1b13f507deb0c41d0b151994bf65092a5d4053 (diff)
cleanup: putting resynth flag in the context
Diffstat (limited to 'celt/vq.h')
-rw-r--r--celt/vq.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/celt/vq.h b/celt/vq.h
index 5cfcbe50..c2fa0245 100644
--- a/celt/vq.h
+++ b/celt/vq.h
@@ -51,12 +51,8 @@
* @param enc Entropy encoder state
* @ret A mask indicating which blocks in the band received pulses
*/
-unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B,
- ec_enc *enc
-#ifdef RESYNTH
- , opus_val16 gain
-#endif
- );
+unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B, ec_enc *enc,
+ opus_val16 gain, int resynth);
/** Algebraic pulse decoder
* @param X Decoded normalised spectrum (returned)