ref: ef1002746cd08410e71e676669a436ce9db63eee
parent: 4ce9205f3832f136fc86ee3cd367bcc91359c424
author: Jean-Marc Valin <[email protected]>
date: Thu Apr 24 04:29:25 EDT 2008
SHORTCUTS now disables the encoder's de-emphasis (i.e. can't check encoder against the decoder)
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -364,6 +364,7 @@
compute_inv_mdcts(st->mode, st->mode->window, freq, st->out_mem, st->mdct_overlap);
/* De-emphasis and put everything back at the right place in the synthesis history */
+#ifndef SHORTCUTS
for (c=0;c<C;c++)
{
int j;
@@ -378,7 +379,7 @@
outp += C;
}
}
-
+#endif
if (ec_enc_tell(&st->enc, 0) < nbCompressedBytes*8 - 7)
celt_warning_int ("many unused bits: ", nbCompressedBytes*8-ec_enc_tell(&st->enc, 0));
/*printf ("%d\n", ec_enc_tell(&st->enc, 0)-8*nbCompressedBytes);*/