Go to the documentation of this file.
60 #define SBR_SYNTHESIS_BUF_SIZE ((1280-128)*2)
133 const INTFLOAT X_low[32][40][2],
int ch);
136 const INTFLOAT X_low[32][40][2],
int k0);
unsigned bs_limiter_gains
AAC_FLOAT e_origmapped[7][48]
Dequantized envelope scalefactors, remapped.
AAC_FLOAT env_facs[6][48]
INTFLOAT X[2][2][38][64]
QMF values of the reconstructed signal.
AAC_SIGNE m[2]
M' and M respectively, M is the number of QMF subbands that use SBR.
AAC_FLOAT q_m[7][48]
Amplitude adjusted noise scalefactors.
uint8_t t_env_num_env_old
Envelope time border of the last envelope of the previous frame.
void(* sbr_hf_assemble)(INTFLOAT Y1[38][64][2], const INTFLOAT X_high[64][40][2], SpectralBandReplication *sbr, SBRData *ch_data, const int e_a[2])
uint8_t t_env[8]
Envelope time borders.
INTFLOAT X_low[32][40][2]
QMF low frequency input to the HF generator.
int e_a[2]
l_APrev and l_A
INTFLOAT analysis_filterbank_samples[1312]
unsigned bs_interpol_freq
AAC_SIGNE n_master
The number of frequency bands in f_master.
unsigned bs_add_harmonic_flag
AAC_FLOAT noise_facs[3][5]
void(* av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride)
Function pointer to a function to perform the transform.
INTFLOAT qmf_filter_scratch[5][64]
uint16_t f_tablenoise[6]
Frequency borders for noise floors.
AAC_FLOAT s_m[7][48]
Sinusoidal levels.
int(* sbr_x_gen)(SpectralBandReplication *sbr, INTFLOAT X[2][38][64], const INTFLOAT Y0[38][64][2], const INTFLOAT Y1[38][64][2], const INTFLOAT X_low[32][40][2], int ch)
AAC_SIGNE n_lim
Number of limiter bands.
int Ypos
QMF output of the HF adjustor.
uint8_t env_facs_q[6][48]
Envelope scalefactors.
uint16_t f_tablelow[25]
Frequency borders for low resolution SBR.
uint16_t f_tablelim[30]
Frequency borders for the limiter.
uint8_t bs_add_harmonic[48]
aacsbr functions pointers
#define SBR_SYNTHESIS_BUF_SIZE
AAC_SIGNE n[2]
N_Low and N_High respectively, the number of frequency bands for low and high resolution.
uint8_t s_indexmapped[8][48]
unsigned bs_smoothing_mode
Spectral Band Replication header - spectrum parameters that invoke a reset if they differ from the pr...
uint16_t f_master[49]
The master QMF frequency grouping.
#define DECLARE_ALIGNED(n, t, v)
Spectral Band Replication.
INTFLOAT alpha0[64][2]
Zeroth coefficient used to filter the subband signals.
uint8_t bs_invf_mode[2][5]
INTFLOAT alpha1[64][2]
First coefficient used to filter the subband signals.
AAC_SIGNE n_q
Number of noise floor bands.
uint8_t patch_start_subband[6]
void(* sbr_hf_inverse_filter)(SBRDSPContext *dsp, INTFLOAT(*alpha0)[2], INTFLOAT(*alpha1)[2], const INTFLOAT X_low[32][40][2], int k0)
AAC_FLOAT e_curr[7][48]
Estimated envelope.
Spectral Band Replication per channel data.
INTFLOAT bw_array[5]
Chirp factors.
INTFLOAT X_high[64][40][2]
QMF output of the HF generator.
INTFLOAT W[2][32][32][2]
QMF values of the original signal.
int(* sbr_lf_gen)(AACContext *ac, SpectralBandReplication *sbr, INTFLOAT X_low[32][40][2], const INTFLOAT W[2][32][32][2], int buf_idx)
uint8_t t_q[3]
Noise time borders.
SpectrumParameters spectrum_params
uint16_t f_tablehigh[49]
Frequency borders for high resolution SBR.
uint8_t noise_facs_q[3][5]
Noise scalefactors.
INTFLOAT synthesis_filterbank_samples[SBR_SYNTHESIS_BUF_SIZE]
unsigned bs_limiter_bands
uint8_t patch_num_subbands[6]
AAC_FLOAT q_mapped[7][48]
Dequantized noise scalefactors, remapped.
int synthesis_filterbank_samples_offset
AAC_SIGNE kx[2]
kx', and kx respectively, kx is the first QMF subband where SBR is used.
uint8_t s_mapped[7][48]
Sinusoidal presence, remapped.