FFmpeg
|
Spectral Band Replication. More...
#include <sbr.h>
Data Fields | |
int | sample_rate |
int | start |
int | ready_for_dequant |
int | id_aac |
int | usac |
int | inter_tes |
int | reset |
SpectrumParameters | spectrum_params |
int | bs_amp_res_header |
int | bs_sbr_preprocessing |
unsigned | bs_coupling |
AAC_SIGNE | k [5] |
k0, k1, k2 More... | |
AAC_SIGNE | kx [2] |
kx', and kx respectively, kx is the first QMF subband where SBR is used. More... | |
AAC_SIGNE | m [2] |
M' and M respectively, M is the number of QMF subbands that use SBR. More... | |
unsigned | kx_and_m_pushed |
AAC_SIGNE | n_master |
The number of frequency bands in f_master. More... | |
SBRData | data [2] |
PSContext | ps |
AAC_SIGNE | n [2] |
N_Low and N_High respectively, the number of frequency bands for low and high resolution. More... | |
AAC_SIGNE | n_q |
Number of noise floor bands. More... | |
AAC_SIGNE | n_lim |
Number of limiter bands. More... | |
uint16_t | f_master [49] |
The master QMF frequency grouping. More... | |
uint16_t | f_tablelow [25] |
Frequency borders for low resolution SBR. More... | |
uint16_t | f_tablehigh [49] |
Frequency borders for high resolution SBR. More... | |
uint16_t | f_tablenoise [6] |
Frequency borders for noise floors. More... | |
uint16_t | f_tablelim [30] |
Frequency borders for the limiter. More... | |
AAC_SIGNE | num_patches |
uint8_t | patch_num_subbands [6] |
uint8_t | patch_start_subband [6] |
INTFLOAT | X_low [32][40][2] |
QMF low frequency input to the HF generator. More... | |
INTFLOAT | X_high [64][40][2] |
QMF output of the HF generator. More... | |
INTFLOAT | X [2][2][38][64] |
QMF values of the reconstructed signal. More... | |
INTFLOAT | alpha0 [64][2] |
Zeroth coefficient used to filter the subband signals. More... | |
INTFLOAT | alpha1 [64][2] |
First coefficient used to filter the subband signals. More... | |
AAC_FLOAT | e_origmapped [8][48] |
Dequantized envelope scalefactors, remapped. More... | |
AAC_FLOAT | q_mapped [8][48] |
Dequantized noise scalefactors, remapped. More... | |
uint8_t | s_mapped [8][48] |
Sinusoidal presence, remapped. More... | |
AAC_FLOAT | e_curr [8][48] |
Estimated envelope. More... | |
AAC_FLOAT | q_m [8][48] |
Amplitude adjusted noise scalefactors. More... | |
AAC_FLOAT | s_m [8][48] |
Sinusoidal levels. More... | |
AAC_FLOAT | gain [8][48] |
INTFLOAT | qmf_filter_scratch [5][64] |
AVTXContext * | mdct_ana |
av_tx_fn | mdct_ana_fn |
AVTXContext * | mdct |
av_tx_fn | mdct_fn |
SBRDSPContext | dsp |
AACSBRContext | c |
Variables associated with bs_header_extra_2 | |
unsigned | bs_limiter_bands |
unsigned | bs_limiter_gains |
unsigned | bs_interpol_freq |
unsigned | bs_smoothing_mode |
int SpectralBandReplication::sample_rate |
Definition at line 144 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_decode_extension(), ff_aac_sbr_decode_usac_data(), sbr_hf_calc_npatches(), and sbr_make_f_master().
int SpectralBandReplication::start |
Definition at line 145 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_decode_extension(), ff_aac_sbr_decode_usac_data(), read_sbr_header(), and sbr_turnoff().
int SpectralBandReplication::ready_for_dequant |
Definition at line 146 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_decode_usac_data(), read_sbr_data(), read_sbr_header(), and sbr_turnoff().
int SpectralBandReplication::id_aac |
Definition at line 147 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_ctx_alloc_init(), ff_aac_sbr_decode_usac_data(), and read_sbr_data().
int SpectralBandReplication::usac |
Definition at line 148 of file sbr.h.
Referenced by ff_aac_sbr_decode_usac_data(), read_sbr_dtdf(), read_sbr_envelope(), read_sbr_grid(), read_sbr_header(), and sbr_turnoff().
int SpectralBandReplication::inter_tes |
Definition at line 149 of file sbr.h.
Referenced by copy_usac_default_header(), and read_sbr_envelope().
int SpectralBandReplication::reset |
Definition at line 150 of file sbr.h.
Referenced by ff_aac_sbr_decode_extension(), ff_aac_sbr_decode_usac_data(), read_sbr_header(), and sbr_hf_assemble().
SpectrumParameters SpectralBandReplication::spectrum_params |
Definition at line 151 of file sbr.h.
Referenced by copy_usac_default_header(), ff_aac_sbr_decode_usac_data(), read_sbr_header(), sbr_make_f_derived(), sbr_make_f_master(), sbr_reset(), and sbr_turnoff().
int SpectralBandReplication::bs_amp_res_header |
Definition at line 152 of file sbr.h.
Referenced by ff_aac_sbr_decode_usac_data(), read_sbr_grid(), and read_sbr_header().
int SpectralBandReplication::bs_sbr_preprocessing |
Definition at line 153 of file sbr.h.
Referenced by ff_aac_sbr_decode_usac_data().
unsigned SpectralBandReplication::bs_limiter_bands |
Definition at line 158 of file sbr.h.
Referenced by copy_usac_default_header(), ff_aac_sbr_decode_usac_data(), read_sbr_header(), and sbr_make_f_tablelim().
unsigned SpectralBandReplication::bs_limiter_gains |
Definition at line 159 of file sbr.h.
Referenced by copy_usac_default_header(), read_sbr_header(), and sbr_gain_calc().
unsigned SpectralBandReplication::bs_interpol_freq |
Definition at line 160 of file sbr.h.
Referenced by copy_usac_default_header(), read_sbr_header(), and sbr_env_estimate().
unsigned SpectralBandReplication::bs_smoothing_mode |
Definition at line 161 of file sbr.h.
Referenced by copy_usac_default_header(), read_sbr_header(), and sbr_hf_assemble().
unsigned SpectralBandReplication::bs_coupling |
Definition at line 163 of file sbr.h.
Referenced by read_sbr_channel_pair_element(), read_sbr_envelope(), read_sbr_noise(), and sbr_dequant().
AAC_SIGNE SpectralBandReplication::k[5] |
k0, k1, k2
Definition at line 164 of file sbr.h.
Referenced by ff_aac_sbr_apply(), sbr_hf_calc_npatches(), sbr_make_f_derived(), and sbr_make_f_master().
AAC_SIGNE SpectralBandReplication::kx[2] |
kx', and kx respectively, kx is the first QMF subband where SBR is used.
kx' is its value from the previous frame
Definition at line 167 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_ctx_alloc_init(), ff_aac_sbr_decode_extension(), ff_aac_sbr_decode_usac_data(), sbr_env_estimate(), sbr_gain_calc(), sbr_hf_assemble(), sbr_hf_calc_npatches(), sbr_hf_gen(), sbr_lf_gen(), sbr_make_f_derived(), sbr_make_f_tablelim(), sbr_mapping(), sbr_turnoff(), and sbr_x_gen().
AAC_SIGNE SpectralBandReplication::m[2] |
M' and M respectively, M is the number of QMF subbands that use SBR.
Definition at line 169 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_decode_extension(), ff_aac_sbr_decode_usac_data(), sbr_env_estimate(), sbr_hf_assemble(), sbr_hf_calc_npatches(), sbr_hf_gen(), sbr_make_f_derived(), sbr_turnoff(), and sbr_x_gen().
unsigned SpectralBandReplication::kx_and_m_pushed |
Definition at line 170 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_decode_extension(), and ff_aac_sbr_decode_usac_data().
AAC_SIGNE SpectralBandReplication::n_master |
The number of frequency bands in f_master.
Definition at line 172 of file sbr.h.
Referenced by sbr_hf_calc_npatches(), sbr_make_f_derived(), and sbr_make_f_master().
SBRData SpectralBandReplication::data[2] |
Definition at line 173 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_ctx_alloc_init(), ff_aac_sbr_decode_usac_data(), read_sbr_channel_pair_element(), read_sbr_single_channel_element(), sbr_dequant(), sbr_make_f_derived(), sbr_turnoff(), and sbr_x_gen().
PSContext SpectralBandReplication::ps |
Definition at line 174 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_ctx_alloc_init(), and read_sbr_extension().
AAC_SIGNE SpectralBandReplication::n[2] |
N_Low and N_High respectively, the number of frequency bands for low and high resolution.
Definition at line 176 of file sbr.h.
Referenced by ff_aac_sbr_decode_usac_data(), read_sbr_channel_pair_element(), read_sbr_envelope(), read_sbr_single_channel_element(), sbr_dequant(), sbr_env_estimate(), sbr_make_f_derived(), sbr_make_f_tablelim(), and sbr_mapping().
AAC_SIGNE SpectralBandReplication::n_q |
Number of noise floor bands.
Definition at line 178 of file sbr.h.
Referenced by read_sbr_invf(), read_sbr_noise(), sbr_chirp(), sbr_dequant(), sbr_make_f_derived(), and sbr_mapping().
AAC_SIGNE SpectralBandReplication::n_lim |
Number of limiter bands.
Definition at line 180 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_make_f_tablelim().
uint16_t SpectralBandReplication::f_master[49] |
The master QMF frequency grouping.
Definition at line 182 of file sbr.h.
Referenced by sbr_hf_calc_npatches(), sbr_make_f_derived(), and sbr_make_f_master().
uint16_t SpectralBandReplication::f_tablelow[25] |
Frequency borders for low resolution SBR.
Definition at line 184 of file sbr.h.
Referenced by sbr_env_estimate(), sbr_make_f_derived(), sbr_make_f_tablelim(), and sbr_mapping().
uint16_t SpectralBandReplication::f_tablehigh[49] |
Frequency borders for high resolution SBR.
Definition at line 186 of file sbr.h.
Referenced by sbr_env_estimate(), sbr_make_f_derived(), and sbr_mapping().
uint16_t SpectralBandReplication::f_tablenoise[6] |
Frequency borders for noise floors.
Definition at line 188 of file sbr.h.
Referenced by sbr_hf_gen(), sbr_make_f_derived(), and sbr_mapping().
uint16_t SpectralBandReplication::f_tablelim[30] |
Frequency borders for the limiter.
Definition at line 190 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_make_f_tablelim().
AAC_SIGNE SpectralBandReplication::num_patches |
Definition at line 191 of file sbr.h.
Referenced by sbr_hf_calc_npatches(), sbr_hf_gen(), and sbr_make_f_tablelim().
uint8_t SpectralBandReplication::patch_num_subbands[6] |
Definition at line 192 of file sbr.h.
Referenced by sbr_hf_calc_npatches(), sbr_hf_gen(), and sbr_make_f_tablelim().
uint8_t SpectralBandReplication::patch_start_subband[6] |
Definition at line 193 of file sbr.h.
Referenced by sbr_hf_calc_npatches(), and sbr_hf_gen().
INTFLOAT SpectralBandReplication::X_low[32][40][2] |
QMF low frequency input to the HF generator.
Definition at line 195 of file sbr.h.
Referenced by ff_aac_sbr_apply().
INTFLOAT SpectralBandReplication::X_high[64][40][2] |
QMF output of the HF generator.
Definition at line 197 of file sbr.h.
Referenced by ff_aac_sbr_apply().
INTFLOAT SpectralBandReplication::X[2][2][38][64] |
QMF values of the reconstructed signal.
Definition at line 199 of file sbr.h.
Referenced by ff_aac_sbr_apply().
INTFLOAT SpectralBandReplication::alpha0[64][2] |
Zeroth coefficient used to filter the subband signals.
Definition at line 201 of file sbr.h.
Referenced by ff_aac_sbr_apply().
INTFLOAT SpectralBandReplication::alpha1[64][2] |
First coefficient used to filter the subband signals.
Definition at line 203 of file sbr.h.
Referenced by ff_aac_sbr_apply().
AAC_FLOAT SpectralBandReplication::e_origmapped[8][48] |
Dequantized envelope scalefactors, remapped.
Definition at line 205 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_mapping().
AAC_FLOAT SpectralBandReplication::q_mapped[8][48] |
Dequantized noise scalefactors, remapped.
Definition at line 207 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_mapping().
uint8_t SpectralBandReplication::s_mapped[8][48] |
Sinusoidal presence, remapped.
Definition at line 209 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_mapping().
AAC_FLOAT SpectralBandReplication::e_curr[8][48] |
Estimated envelope.
Definition at line 211 of file sbr.h.
Referenced by ff_aac_sbr_apply(), and sbr_gain_calc().
AAC_FLOAT SpectralBandReplication::q_m[8][48] |
Amplitude adjusted noise scalefactors.
Definition at line 213 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_hf_assemble().
AAC_FLOAT SpectralBandReplication::s_m[8][48] |
Sinusoidal levels.
Definition at line 215 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_hf_assemble().
AAC_FLOAT SpectralBandReplication::gain[8][48] |
Definition at line 216 of file sbr.h.
Referenced by sbr_gain_calc(), and sbr_hf_assemble().
INTFLOAT SpectralBandReplication::qmf_filter_scratch[5][64] |
Definition at line 217 of file sbr.h.
Referenced by ff_aac_sbr_apply().
AVTXContext* SpectralBandReplication::mdct_ana |
Definition at line 218 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_ctx_alloc_init(), and ff_aac_sbr_ctx_close().
av_tx_fn SpectralBandReplication::mdct_ana_fn |
Definition at line 219 of file sbr.h.
Referenced by ff_aac_sbr_apply(), and ff_aac_sbr_ctx_alloc_init().
AVTXContext* SpectralBandReplication::mdct |
Definition at line 220 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_ctx_alloc_init(), and ff_aac_sbr_ctx_close().
av_tx_fn SpectralBandReplication::mdct_fn |
Definition at line 221 of file sbr.h.
Referenced by ff_aac_sbr_apply(), and ff_aac_sbr_ctx_alloc_init().
SBRDSPContext SpectralBandReplication::dsp |
Definition at line 222 of file sbr.h.
Referenced by ff_aac_sbr_apply(), ff_aac_sbr_ctx_alloc_init(), sbr_env_estimate(), sbr_hf_assemble(), and sbr_hf_gen().
AACSBRContext SpectralBandReplication::c |
Definition at line 223 of file sbr.h.
Referenced by ff_aac_sbr_apply(), and ff_aac_sbr_ctx_alloc_init().