Go to the documentation of this file.
58 #define SBR_SYNTHESIS_BUF_SIZE ((1280-128)*2)
134 const INTFLOAT X_low[32][40][2],
int ch);
137 const INTFLOAT X_low[32][40][2],
int k0);
unsigned bs_limiter_gains
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.
uint8_t t_env_num_env_old
Envelope time border of the last envelope of the previous frame.
uint8_t env_facs_q[9][48]
Envelope scalefactors.
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])
INTFLOAT X_low[32][40][2]
QMF low frequency input to the HF generator.
uint8_t temp_shape_mode[6]
uint8_t s_mapped[8][48]
Sinusoidal presence, remapped.
int e_a[2]
l_APrev and l_A
INTFLOAT analysis_filterbank_samples[1312]
uint8_t t_env[9]
Envelope time borders.
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]
AAC_FLOAT env_facs[9][48]
uint16_t f_tablenoise[6]
Frequency borders for noise floors.
AAC_FLOAT e_origmapped[8][48]
Dequantized envelope scalefactors, remapped.
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.
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.
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)
AAC_FLOAT q_m[8][48]
Amplitude adjusted noise scalefactors.
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 q_mapped[8][48]
Dequantized noise scalefactors, remapped.
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.
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 s_m[8][48]
Sinusoidal levels.
int(* sbr_lf_gen)(SpectralBandReplication *sbr, INTFLOAT X_low[32][40][2], const INTFLOAT W[2][32][32][2], int buf_idx)
int synthesis_filterbank_samples_offset
uint8_t s_indexmapped[9][48]
AAC_SIGNE kx[2]
kx', and kx respectively, kx is the first QMF subband where SBR is used.
AAC_FLOAT e_curr[8][48]
Estimated envelope.