FFmpeg
|
Single Channel Element - used for both SCE and LFE elements. More...
#include <aacdec.h>
Public Member Functions | |
INTFLOAT_UNION (sf, [128]) | |
scalefactors (8 windows * 16 sfb max) More... | |
INTFLOAT_ALIGNED_UNION (32, coeffs, 1024) | |
coefficients for IMDCT, maybe processed More... | |
INTFLOAT_ALIGNED_UNION (32, prev_coeffs, 1024) | |
unscaled previous contents of coeffs[] for USAC More... | |
INTFLOAT_ALIGNED_UNION (32, saved, 1536) | |
overlap More... | |
INTFLOAT_ALIGNED_UNION (32, ret_buf, 2048) | |
PCM output buffer. More... | |
INTFLOAT_ALIGNED_UNION (16, ltp_state, 3072) | |
time signal for LTP More... | |
Data Fields | |
IndividualChannelStream | ics |
AACUsacElemData | ue |
USAC element data. More... | |
TemporalNoiseShaping | tns |
enum BandType | band_type [128] |
band types More... | |
int | sfo [128] |
scalefactor offsets More... | |
union { | |
struct PredictorState * predictor_state | |
}; | |
union { | |
float * output | |
PCM output. More... | |
}; | |
Pulse | pulse |
enum BandType | band_alt [128] |
alternative band type More... | |
int | sf_idx [128] |
scalefactor indices More... | |
uint8_t | zeroes [128] |
band is not coded More... | |
uint8_t | can_pns [128] |
band is allowed to PNS (informative) More... | |
float | is_ener [128] |
Intensity stereo pos. More... | |
float | pns_ener [128] |
Noise energy values. More... | |
float | pcoeffs [1024] |
coefficients for IMDCT, pristine More... | |
float | coeffs [1024] |
coefficients for IMDCT, maybe processed More... | |
float | ret_buf [2048] |
PCM output buffer. More... | |
float | ltp_state [3072] |
time signal for LTP More... | |
float | lcoeffs [1024] |
MDCT of LTP coefficients. More... | |
float | prcoeffs [1024] |
Main prediction coefs. More... | |
PredictorState | predictor_state [MAX_PREDICTORS] |
Single Channel Element - used for both SCE and LFE elements.
SingleChannelElement::INTFLOAT_UNION | ( | sf | ) |
scalefactors (8 windows * 16 sfb max)
SingleChannelElement::INTFLOAT_ALIGNED_UNION | ( | 32 | , |
coeffs | , | ||
1024 | |||
) |
coefficients for IMDCT, maybe processed
SingleChannelElement::INTFLOAT_ALIGNED_UNION | ( | 32 | , |
prev_coeffs | , | ||
1024 | |||
) |
unscaled previous contents of coeffs[] for USAC
SingleChannelElement::INTFLOAT_ALIGNED_UNION | ( | 32 | , |
saved | , | ||
1536 | |||
) |
overlap
SingleChannelElement::INTFLOAT_ALIGNED_UNION | ( | 32 | , |
ret_buf | , | ||
2048 | |||
) |
PCM output buffer.
SingleChannelElement::INTFLOAT_ALIGNED_UNION | ( | 16 | , |
ltp_state | , | ||
3072 | |||
) |
time signal for LTP
IndividualChannelStream SingleChannelElement::ics |
Definition at line 211 of file aacdec.h.
Referenced by aac_encode_frame(), adjust_frame_information(), apply_complex_stereo(), apply_intensity_stereo(), apply_mid_side_stereo(), apply_noise_fill(), apply_window_and_mdct(), avoid_clipping(), codebook_trellis_rate(), complex_stereo_downmix_cur(), complex_stereo_downmix_prev(), complex_stereo_get_filter(), decode_band_types(), decode_cce(), decode_cpe(), decode_gain_control(), decode_mid_side_stereo(), decode_scalefactors(), decode_usac_core_coder(), decode_usac_scale_factors(), decode_usac_stereo_cplx(), decode_usac_stereo_info(), encode_band_info(), encode_individual_channel(), encode_ms_info(), encode_scale_factors(), encode_spectral_coeffs(), encode_window_bands_info(), ff_aac_adjust_common_ltp(), ff_aac_adjust_common_pred(), ff_aac_apply_main_pred(), ff_aac_apply_tns(), ff_aac_decode_ics(), ff_aac_encode_ltp_info(), ff_aac_encode_main_pred(), ff_aac_encode_tns_info(), ff_aac_is_encoding_err(), ff_aac_ltp_insert_new_frame(), ff_aac_search_for_is(), ff_aac_search_for_ltp(), ff_aac_search_for_pred(), ff_aac_search_for_tns(), ff_aac_update_ltp(), ff_init_nextband_map(), mark_pns(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), set_special_band_scalefactors(), setup_sce(), spectral_to_sample(), spectrum_decode(), spectrum_scale(), and update_pred_resets().
AACUsacElemData SingleChannelElement::ue |
USAC element data.
Definition at line 212 of file aacdec.h.
Referenced by apply_noise_fill(), decode_usac_core_coder(), decode_usac_stereo_info(), ff_aac_usac_reset_state(), setup_sce(), and spectrum_decode().
TemporalNoiseShaping SingleChannelElement::tns |
Definition at line 213 of file aacdec.h.
Referenced by aac_encode_frame(), decode_usac_core_coder(), decode_usac_stereo_info(), encode_individual_channel(), ff_aac_apply_tns(), ff_aac_decode_ics(), ff_aac_encode_tns_info(), ff_aac_search_for_tns(), spectral_to_sample(), and spectrum_decode().
enum BandType SingleChannelElement::band_type |
band types
Definition at line 214 of file aacdec.h.
Referenced by aac_encode_frame(), apply_intensity_stereo(), apply_mid_side_stereo(), codebook_trellis_rate(), decode_band_types(), decode_cce(), decode_scalefactors(), encode_scale_factors(), encode_spectral_coeffs(), encode_window_bands_info(), ff_aac_is_encoding_err(), ff_aac_search_for_is(), ff_aac_search_for_ltp(), ff_aac_search_for_pred(), ff_init_nextband_map(), mark_pns(), search_for_ms(), search_for_pns(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), set_special_band_scalefactors(), and setup_sce().
int SingleChannelElement::sfo[128] |
scalefactor offsets
Definition at line 215 of file aacdec.h.
Referenced by apply_noise_fill(), decode_scalefactors(), and decode_usac_scale_factors().
struct PredictorState* SingleChannelElement::predictor_state |
Definition at line 224 of file aacdec.h.
Referenced by ff_aac_apply_main_pred(), ff_aac_search_for_pred(), and reset_predictor_group().
union { ... } |
float* SingleChannelElement::output |
PCM output.
Definition at line 227 of file aacdec.h.
Referenced by decode_usac_core_coder(), frame_configure_elements(), and spectral_to_sample().
union { ... } |
Pulse SingleChannelElement::pulse |
Definition at line 130 of file aacenc.h.
Referenced by adjust_frame_information(), and encode_individual_channel().
enum BandType SingleChannelElement::band_alt[128] |
alternative band type
Definition at line 132 of file aacenc.h.
Referenced by ff_aac_search_for_pred(), mark_pns(), and search_for_pns().
int SingleChannelElement::sf_idx[128] |
scalefactor indices
Definition at line 133 of file aacenc.h.
Referenced by codebook_trellis_rate(), encode_individual_channel(), encode_scale_factors(), encode_spectral_coeffs(), encode_window_bands_info(), ff_aac_is_encoding_err(), ff_aac_search_for_is(), ff_aac_search_for_ltp(), ff_aac_search_for_pred(), ff_sfdelta_can_remove_band(), ff_sfdelta_can_replace(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), and set_special_band_scalefactors().
uint8_t SingleChannelElement::zeroes[128] |
band is not coded
Definition at line 134 of file aacenc.h.
Referenced by adjust_frame_information(), codebook_trellis_rate(), encode_scale_factors(), encode_spectral_coeffs(), encode_window_bands_info(), ff_aac_search_for_is(), ff_aac_search_for_pred(), ff_init_nextband_map(), ff_pns_bits(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), and set_special_band_scalefactors().
uint8_t SingleChannelElement::can_pns[128] |
band is allowed to PNS (informative)
Definition at line 135 of file aacenc.h.
Referenced by ff_pns_bits(), mark_pns(), and search_for_quantizers_twoloop().
float SingleChannelElement::is_ener[128] |
Intensity stereo pos.
Definition at line 136 of file aacenc.h.
Referenced by apply_intensity_stereo(), ff_aac_search_for_is(), and set_special_band_scalefactors().
float SingleChannelElement::pns_ener[128] |
Noise energy values.
Definition at line 137 of file aacenc.h.
Referenced by mark_pns(), search_for_pns(), and set_special_band_scalefactors().
float SingleChannelElement::pcoeffs[1024] |
coefficients for IMDCT, pristine
Definition at line 138 of file aacenc.h.
Referenced by aac_encode_frame(), apply_window_and_mdct(), ff_aac_adjust_common_pred(), ff_aac_apply_tns(), and ff_aac_is_encoding_err().
float SingleChannelElement::coeffs[1024] |
coefficients for IMDCT, maybe processed
Definition at line 139 of file aacenc.h.
Referenced by aac_encode_frame(), apply_complex_stereo(), apply_intensity_stereo(), apply_mid_side_stereo(), apply_noise_fill(), apply_window_and_mdct(), avoid_clipping(), codebook_trellis_rate(), complex_stereo_downmix_cur(), complex_stereo_downmix_prev(), decode_usac_core_coder(), encode_spectral_coeffs(), encode_window_bands_info(), ff_aac_apply_main_pred(), ff_aac_apply_tns(), ff_aac_is_encoding_err(), ff_aac_search_for_is(), ff_aac_search_for_ltp(), ff_aac_search_for_pred(), ff_aac_search_for_tns(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), spectral_to_sample(), spectrum_decode(), and spectrum_scale().
float SingleChannelElement::ret_buf[2048] |
PCM output buffer.
Definition at line 140 of file aacenc.h.
Referenced by aac_encode_frame(), apply_window_and_mdct(), ff_aac_ltp_insert_new_frame(), and frame_configure_elements().
float SingleChannelElement::ltp_state[3072] |
time signal for LTP
Definition at line 141 of file aacenc.h.
Referenced by aac_encode_frame(), ff_aac_ltp_insert_new_frame(), ff_aac_search_for_ltp(), and ff_aac_update_ltp().
float SingleChannelElement::lcoeffs[1024] |
MDCT of LTP coefficients.
Definition at line 142 of file aacenc.h.
Referenced by aac_encode_frame(), and ff_aac_search_for_ltp().
float SingleChannelElement::prcoeffs[1024] |
Main prediction coefs.
Definition at line 143 of file aacenc.h.
Referenced by ff_aac_apply_main_pred(), and ff_aac_search_for_pred().
PredictorState SingleChannelElement::predictor_state[MAX_PREDICTORS] |