|
FFmpeg
|
MACE decoder. More...
Go to the source code of this file.
Data Structures | |
| struct | ChannelData |
| struct | MACEContext |
Macros | |
| #define | QT_8S_2_16S(x) |
Functions | |
| static int16_t | mace_broken_clip_int16 (int n) |
| MACE version of av_clip_int16(). | |
| static int16_t | read_table (ChannelData *chd, uint8_t val, int tab_idx) |
| static void | chomp3 (ChannelData *chd, int16_t *output, uint8_t val, int tab_idx) |
| static void | chomp6 (ChannelData *chd, int16_t *output, uint8_t val, int tab_idx) |
| static av_cold int | mace_decode_init (AVCodecContext *avctx) |
| static int | mace_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) |
Variables | ||
| static const int16_t | MACEtab1 [] = {-13, 8, 76, 222, 222, 76, 8, -13} | |
| static const int16_t | MACEtab3 [] = {-18, 140, 140, -18} | |
| static const int16_t | MACEtab2 [][4] | |
| static const int16_t | MACEtab4 [][2] | |
| struct { | ||
| const int16_t * tab1 | ||
| const int16_t * tab2 | ||
| int stride | ||
| } | tabs [] | |
| const FFCodec | ff_mace3_decoder | |
| const FFCodec | ff_mace6_decoder | |
MACE decoder.
Definition in file mace.c.
| #define QT_8S_2_16S | ( | x | ) |
|
inlinestatic |
MACE version of av_clip_int16().
We have to do this to keep binary identical output to the binary decoder.
|
static |
|
static |
Definition at line 191 of file mace.c.
Referenced by mace_decode_frame().
|
static |
Definition at line 201 of file mace.c.
Referenced by mace_decode_frame().
|
static |
|
static |
|
static |
| const int16_t* tab1 |
Definition at line 145 of file mace.c.
Referenced by compute_stereo(), dequant(), dxv_decompress_cgo(), dxv_decompress_cocg(), and ff_acelp_fc_pulse_per_track().
| const int16_t* tab2 |
Definition at line 145 of file mace.c.
Referenced by dxv_decompress_cocg(), and ff_acelp_fc_pulse_per_track().
| const struct { ... } tabs[] |
Referenced by pretwiddle(), read_table(), twiddle(), and very_broken_op().
| const FFCodec ff_mace3_decoder |
| const FFCodec ff_mace6_decoder |