FFmpeg
|
#include "aac.h"
#include "sbr.h"
#include "aacsbr.h"
#include "aacsbrdata.h"
#include "fft.h"
#include "aacps.h"
#include "sbrdsp.h"
#include "libavutil/internal.h"
#include "libavutil/libm.h"
#include "libavutil/avassert.h"
#include <stdint.h>
#include <float.h>
#include <math.h>
#include "aacsbr_template.c"
Go to the source code of this file.
Macros | |
#define | USE_FIXED 1 |
Functions | |
static void | aacsbr_func_ptr_init (AACSBRContext *c) |
static int | fixed_log (int x) |
static int | fixed_exp (int x) |
static void | make_bands (int16_t *bands, int start, int stop, int num_bands) |
static void | sbr_dequant (SpectralBandReplication *sbr, int id_aac) |
Dequantization and stereo decoding (14496-3 sp04 p203) More... | |
static void | sbr_hf_inverse_filter (SBRDSPContext *dsp, int(*alpha0)[2], int(*alpha1)[2], const int X_low[32][40][2], int k0) |
High Frequency Generation (14496-3 sp04 p214+) and Inverse Filtering (14496-3 sp04 p214) Warning: This routine does not seem numerically stable. More... | |
static void | sbr_chirp (SpectralBandReplication *sbr, SBRData *ch_data) |
Chirp Factors (14496-3 sp04 p214) More... | |
static void | sbr_gain_calc (AACContext *ac, SpectralBandReplication *sbr, SBRData *ch_data, const int e_a[2]) |
Calculation of levels of additional HF signal components (14496-3 sp04 p219) and Calculation of gain (14496-3 sp04 p219) More... | |
static void | sbr_hf_assemble (int Y1[38][64][2], const int X_high[64][40][2], SpectralBandReplication *sbr, SBRData *ch_data, const int e_a[2]) |
Assembling HF Signals (14496-3 sp04 p220) More... | |
Variables | |
static VLC | vlc_sbr [10] |
static const int | CONST_LN2 = Q31(0.6931471806/256) |
static const int | CONST_RECIP_LN2 = Q31(0.7213475204) |
static const int | CONST_076923 = Q31(0.76923076923076923077f) |
static const int | fixed_log_table [10] |
static const int | fixed_exp_table [7] |
AAC Spectral Band Replication decoding functions (fixed-point) Note: Rounding-to-nearest used unless otherwise stated
Definition in file aacsbr_fixed.c.
#define USE_FIXED 1 |
Definition at line 57 of file aacsbr_fixed.c.
|
static |
Definition at line 86 of file aacsbr_fixed.c.
Referenced by make_bands(), sbr_make_f_derived(), and sbr_make_f_master().
Definition at line 111 of file aacsbr_fixed.c.
Referenced by encode_block(), and make_bands().
Definition at line 126 of file aacsbr_fixed.c.
|
static |
Dequantization and stereo decoding (14496-3 sp04 p203)
Definition at line 153 of file aacsbr_fixed.c.
|
static |
High Frequency Generation (14496-3 sp04 p214+) and Inverse Filtering (14496-3 sp04 p214) Warning: This routine does not seem numerically stable.
Definition at line 235 of file aacsbr_fixed.c.
|
static |
Chirp Factors (14496-3 sp04 p214)
Definition at line 369 of file aacsbr_fixed.c.
|
static |
Calculation of levels of additional HF signal components (14496-3 sp04 p219) and Calculation of gain (14496-3 sp04 p219)
Definition at line 399 of file aacsbr_fixed.c.
|
static |
Assembling HF Signals (14496-3 sp04 p220)
Definition at line 488 of file aacsbr_fixed.c.
|
static |
Definition at line 74 of file aacsbr_fixed.c.
Definition at line 76 of file aacsbr_fixed.c.
Referenced by make_bands().
Definition at line 77 of file aacsbr_fixed.c.
Referenced by sbr_make_f_derived(), and sbr_make_f_master().
Definition at line 78 of file aacsbr_fixed.c.
Referenced by sbr_make_f_master().
|
static |