cleaning up some of the mode stuff

This commit is contained in:
Jean-Marc Valin 2008-03-08 15:21:24 +11:00
parent 03f9ed3005
commit 3dbc1d0df9
5 changed files with 30 additions and 20 deletions

View file

@ -61,13 +61,13 @@ struct CELTMode {
const int *allocVectors; /**< Number of bits in each band for several rates */
const int * const *bits; /**< Cache for pulses->bits mapping in each band */
celt_uint32_t marker_end;
/* Stuff that could go in the {en,de}coder, but we save space this way */
mdct_lookup mdct;
celt_word16_t *window;
const celt_word16_t *window;
celt_uint32_t marker_end;
};
int check_mode(const CELTMode *mode);