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