FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/crc.h"
#include "libavutil/float_dsp.h"
#include "libavutil/libm.h"
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
#include "mpegaudiodsp.h"
#include "mpegaudio.h"
#include "mpegaudiodecheader.h"
#include "mpegaudiodata.h"
#include "mpegaudio_tablegen.h"
Go to the source code of this file.
Data Structures | |
struct | GranuleDef |
struct | MPADecodeContext |
Macros | |
#define | BACKSTEP_SIZE 512 |
#define | EXTRABYTES 24 |
#define | LAST_BUF_SIZE 2 * BACKSTEP_SIZE + EXTRABYTES |
#define | HEADER_SIZE 4 |
#define | SCALE_GEN(v) { FIXR_OLD(1.0 * (v)), FIXR_OLD(0.7937005259 * (v)), FIXR_OLD(0.6299605249 * (v)) } |
#define | C3 FIXHR(0.86602540378443864676/2) |
#define | C4 FIXHR(0.70710678118654752439/2) |
#define | C5 FIXHR(0.51763809020504152469/2) |
#define | C6 FIXHR(1.93185165257813657349/4) |
#define | SPLIT(dst, sf, n) |
#define | READ_FLIP_SIGN(dst, src) |
#define | ISQRT2 FIXR(0.70710678118654752440) |
#define | AA(j) |
Variables | |
static INTFLOAT | is_table_lsf [2][2][16] |
static int32_t | scale_factor_mult [15][3] |
static const int32_t | scale_factor_mult2 [3][3] |
MPEG Audio decoder
Definition in file mpegaudiodec_template.c.
#define BACKSTEP_SIZE 512 |
Definition at line 50 of file mpegaudiodec_template.c.
#define EXTRABYTES 24 |
Definition at line 51 of file mpegaudiodec_template.c.
#define LAST_BUF_SIZE 2 * BACKSTEP_SIZE + EXTRABYTES |
Definition at line 52 of file mpegaudiodec_template.c.
#define HEADER_SIZE 4 |
Definition at line 98 of file mpegaudiodec_template.c.
#define SCALE_GEN | ( | v | ) | { FIXR_OLD(1.0 * (v)), FIXR_OLD(0.7937005259 * (v)), FIXR_OLD(0.6299605249 * (v)) } |
Definition at line 110 of file mpegaudiodec_template.c.
#define C3 FIXHR(0.86602540378443864676/2) |
Definition at line 315 of file mpegaudiodec_template.c.
#define C4 FIXHR(0.70710678118654752439/2) |
Definition at line 316 of file mpegaudiodec_template.c.
#define C5 FIXHR(0.51763809020504152469/2) |
Definition at line 317 of file mpegaudiodec_template.c.
#define C6 FIXHR(1.93185165257813657349/4) |
Definition at line 318 of file mpegaudiodec_template.c.
#define SPLIT | ( | dst, | |
sf, | |||
n | |||
) |
Definition at line 652 of file mpegaudiodec_template.c.
#define READ_FLIP_SIGN | ( | dst, | |
src | |||
) |
Definition at line 744 of file mpegaudiodec_template.c.
#define ISQRT2 FIXR(0.70710678118654752440) |
Definition at line 933 of file mpegaudiodec_template.c.
#define AA | ( | j | ) |
|
static |
Convert region offsets to region sizes and truncate size to big_values.
Definition at line 123 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 134 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 152 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 162 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
Definition at line 189 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer1(), and mp_decode_layer2().
Definition at line 203 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer2().
Definition at line 219 of file mpegaudiodec_template.c.
Referenced by huffman_decode().
|
static |
Definition at line 238 of file mpegaudiodec_template.c.
Referenced by decode_init().
|
static |
Definition at line 280 of file mpegaudiodec_template.c.
|
static |
Definition at line 322 of file mpegaudiodec_template.c.
Referenced by compute_imdct().
|
static |
Definition at line 363 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer1(), mp_decode_layer2(), and mp_decode_layer3().
|
static |
Definition at line 390 of file mpegaudiodec_template.c.
Referenced by mp_decode_frame().
|
static |
Definition at line 460 of file mpegaudiodec_template.c.
Referenced by mp_decode_frame().
Definition at line 672 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 681 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 718 of file mpegaudiodec_template.c.
Referenced by huffman_decode().
|
static |
Definition at line 749 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 900 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 935 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 1093 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 1124 of file mpegaudiodec_template.c.
Referenced by mp_decode_layer3().
|
static |
Definition at line 1204 of file mpegaudiodec_template.c.
Referenced by mp_decode_frame().
|
static |
Definition at line 1463 of file mpegaudiodec_template.c.
Referenced by decode_frame().
|
static |
Definition at line 1549 of file mpegaudiodec_template.c.
|
static |
Definition at line 1619 of file mpegaudiodec_template.c.
Referenced by flush().
|
static |
Definition at line 1627 of file mpegaudiodec_template.c.
|
static |
Definition at line 104 of file mpegaudiodec_template.c.
Referenced by compute_stereo(), and decode_init_static().
|
static |
Definition at line 107 of file mpegaudiodec_template.c.
Referenced by decode_init_static(), and l1_unscale().
|
static |
Definition at line 113 of file mpegaudiodec_template.c.
Referenced by l2_unscale_group().