Revision 676e26ab libavcodec/mpegaudiodec.c
libavcodec/mpegaudiodec.c | ||
---|---|---|
56 | 56 |
|
57 | 57 |
#define HEADER_SIZE 4 |
58 | 58 |
|
59 |
/** |
|
60 |
* Context for MP3On4 decoder |
|
61 |
*/ |
|
62 |
typedef struct MP3On4DecodeContext { |
|
63 |
int frames; ///< number of mp3 frames per block (number of mp3 decoder instances) |
|
64 |
int chan_cfg; ///< channel config number |
|
65 |
int syncword; ///< syncword patch |
|
66 |
MPADecodeContext *mp3decctx[5]; ///< MPADecodeContext for every decoder instance |
|
67 |
} MP3On4DecodeContext; |
|
68 |
|
|
69 | 59 |
/* layer 3 "granule" */ |
70 | 60 |
typedef struct GranuleDef { |
71 | 61 |
uint8_t scfsi; |
... | ... | |
2477 | 2467 |
|
2478 | 2468 |
#ifdef CONFIG_MP3ON4_DECODER |
2479 | 2469 |
|
2470 |
/** |
|
2471 |
* Context for MP3On4 decoder |
|
2472 |
*/ |
|
2473 |
typedef struct MP3On4DecodeContext { |
|
2474 |
int frames; ///< number of mp3 frames per block (number of mp3 decoder instances) |
|
2475 |
int chan_cfg; ///< channel config number |
|
2476 |
int syncword; ///< syncword patch |
|
2477 |
MPADecodeContext *mp3decctx[5]; ///< MPADecodeContext for every decoder instance |
|
2478 |
} MP3On4DecodeContext; |
|
2479 |
|
|
2480 | 2480 |
#include "mpeg4audio.h" |
2481 | 2481 |
|
2482 | 2482 |
/* Next 3 arrays are indexed by channel config number (passed via codecdata) */ |
Also available in: Unified diff