FFmpeg
|
AAC decoder. More...
#include "libavutil/float_dsp.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "fft.h"
#include "mdct15.h"
#include "lpc.h"
#include "kbdwin.h"
#include "sinewin.h"
#include "aac.h"
#include "aactab.h"
#include "aacdectab.h"
#include "cbrt_data.h"
#include "sbr.h"
#include "aacsbr.h"
#include "mpeg4audio.h"
#include "aacadtsdec.h"
#include "profiles.h"
#include "libavutil/intfloat.h"
#include <errno.h>
#include <math.h>
#include <stdint.h>
#include <string.h>
#include "aacdec_template.c"
Go to the source code of this file.
Data Structures | |
struct | LATMContext |
Macros | |
#define | FFT_FLOAT 1 |
#define | FFT_FIXED_32 0 |
#define | USE_FIXED 0 |
#define | LOAS_SYNC_WORD 0x2b7 |
11 bits LOAS sync word More... | |
Functions | |
static av_always_inline void | reset_predict_state (PredictorState *ps) |
static float * | VMUL2 (float *dst, const float *v, unsigned idx, const float *scale) |
static float * | VMUL4 (float *dst, const float *v, unsigned idx, const float *scale) |
static float * | VMUL2S (float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) |
static float * | VMUL4S (float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) |
static av_always_inline float | flt16_round (float pf) |
static av_always_inline float | flt16_even (float pf) |
static av_always_inline float | flt16_trunc (float pf) |
static av_always_inline void | predict (PredictorState *ps, float *coef, int output_enable) |
static void | apply_dependent_coupling (AACContext *ac, SingleChannelElement *target, ChannelElement *cce, int index) |
Apply dependent channel coupling (applied before IMDCT). More... | |
static void | apply_independent_coupling (AACContext *ac, SingleChannelElement *target, ChannelElement *cce, int index) |
Apply independent channel coupling (applied after IMDCT). More... | |
static uint32_t | latm_get_value (GetBitContext *b) |
static int | latm_decode_audio_specific_config (struct LATMContext *latmctx, GetBitContext *gb, int asclen) |
static int | read_stream_mux_config (struct LATMContext *latmctx, GetBitContext *gb) |
static int | read_payload_length_info (struct LATMContext *ctx, GetBitContext *gb) |
static int | read_audio_mux_element (struct LATMContext *latmctx, GetBitContext *gb) |
static int | latm_decode_frame (AVCodecContext *avctx, void *out, int *got_frame_ptr, AVPacket *avpkt) |
static av_cold int | latm_decode_init (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_aac_decoder |
AVCodec | ff_aac_latm_decoder |
AAC decoder.
Definition in file aacdec.c.
#define LOAS_SYNC_WORD 0x2b7 |
|
static |
Definition at line 72 of file aacdec.c.
Referenced by reset_all_predictors(), and reset_predictor_group().
|
inlinestatic |
Definition at line 83 of file aacdec.c.
Referenced by decode_spectrum_and_dequant().
|
inlinestatic |
Definition at line 94 of file aacdec.c.
Referenced by decode_spectrum_and_dequant().
|
inlinestatic |
Definition at line 107 of file aacdec.c.
Referenced by decode_spectrum_and_dequant().
|
inlinestatic |
Definition at line 124 of file aacdec.c.
Referenced by decode_spectrum_and_dequant().
|
static |
|
static |
|
static |
|
static |
Definition at line 174 of file aacdec.c.
Referenced by apply_prediction(), decode_frame(), decode_line_TMPL(), and encode_line_TMPL().
|
static |
Apply dependent channel coupling (applied before IMDCT).
index | index into coupling gain array |
Definition at line 210 of file aacdec.c.
Referenced by spectral_to_sample().
|
static |
Apply independent channel coupling (applied after IMDCT).
index | index into coupling gain array |
Definition at line 246 of file aacdec.c.
Referenced by spectral_to_sample().
|
inlinestatic |
Definition at line 274 of file aacdec.c.
Referenced by read_stream_mux_config().
|
static |
Definition at line 281 of file aacdec.c.
Referenced by read_stream_mux_config().
|
static |
Definition at line 349 of file aacdec.c.
Referenced by read_audio_mux_element().
|
static |
Definition at line 427 of file aacdec.c.
Referenced by read_audio_mux_element().
|
static |
Definition at line 450 of file aacdec.c.
Referenced by latm_decode_frame().
|
static |
|
static |
AVCodec ff_aac_decoder |
AVCodec ff_aac_latm_decoder |