12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #ifndef MODES_H
- #define MODES_H
- #include "opus_types.h"
- #include "celt.h"
- #include "arch.h"
- #include "mdct.h"
- #include "entenc.h"
- #include "entdec.h"
- #define MAX_PERIOD 1024
- typedef struct {
- int size;
- const opus_int16 *index;
- const unsigned char *bits;
- const unsigned char *caps;
- } PulseCache;
- struct OpusCustomMode {
- opus_int32 Fs;
- int overlap;
- int nbEBands;
- int effEBands;
- opus_val16 preemph[4];
- const opus_int16 *eBands;
- int maxLM;
- int nbShortMdcts;
- int shortMdctSize;
- int nbAllocVectors;
- const unsigned char *allocVectors;
- const opus_int16 *logN;
- const opus_val16 *window;
- mdct_lookup mdct;
- PulseCache cache;
- };
- #endif
|