Optimisation: caching the divisions used in the Laplace encoder.

This commit is contained in:
Jean-Marc Valin 2008-04-23 13:42:10 +10:00
parent e488a1077b
commit 4ce9205f38
9 changed files with 77 additions and 26 deletions

View file

@ -159,6 +159,7 @@ void dump_modes(FILE *file, CELTMode **modes, int nb_modes)
fprintf(file, "{%d, 0, 0},\t/* mdct */\n", 2*mode->mdctSize);
fprintf(file, "window%d,\t/* window */\n", mode->overlap);
fprintf(file, "{psy_decayR_%d},\t/* psy */\n", mode->Fs);
fprintf(file, "0,\t/* prob */\n");
fprintf(file, "0x%x,\t/* marker */\n", 0xa110ca7e);
fprintf(file, "};\n");
}