FFmpeg
4.0
|
Data for a single audio block. More...
#include <libavcodec/ac3enc.h>
Data Fields | |
CoefType ** | mdct_coef |
MDCT coefficients. More... | |
int32_t ** | fixed_coef |
fixed-point MDCT coefficients More... | |
uint8_t ** | exp |
original exponents More... | |
uint8_t ** | grouped_exp |
grouped exponents More... | |
int16_t ** | psd |
psd per frequency bin More... | |
int16_t ** | band_psd |
psd per critical band More... | |
int16_t ** | mask |
masking curve More... | |
uint16_t ** | qmant |
quantized mantissas More... | |
uint8_t ** | cpl_coord_exp |
coupling coord exponents (cplcoexp) More... | |
uint8_t ** | cpl_coord_mant |
coupling coord mantissas (cplcomant) More... | |
uint8_t | coeff_shift [AC3_MAX_CHANNELS] |
fixed-point coefficient shift values More... | |
uint8_t | new_rematrixing_strategy |
send new rematrixing flags in this block More... | |
int | num_rematrixing_bands |
number of rematrixing bands More... | |
uint8_t | rematrixing_flags [4] |
rematrixing flags More... | |
int | new_cpl_strategy |
send new coupling strategy More... | |
int | cpl_in_use |
coupling in use for this block (cplinu) More... | |
uint8_t | channel_in_cpl [AC3_MAX_CHANNELS] |
channel in coupling (chincpl) More... | |
int | num_cpl_channels |
number of channels in coupling More... | |
uint8_t | new_cpl_coords [AC3_MAX_CHANNELS] |
send new coupling coordinates (cplcoe) More... | |
uint8_t | cpl_master_exp [AC3_MAX_CHANNELS] |
coupling coord master exponents (mstrcplco) More... | |
int | new_snr_offsets |
send new SNR offsets More... | |
int | new_cpl_leak |
send new coupling leak info More... | |
int | end_freq [AC3_MAX_CHANNELS] |
end frequency bin (endmant) More... | |
CoefType** AC3Block::mdct_coef |
MDCT coefficients.
Definition at line 134 of file ac3enc.h.
Referenced by allocate_buffers(), apply_channel_coupling(), apply_mdct(), compute_rematrixing_strategy(), encode_frame(), ff_ac3_encode_close(), and scale_coefficients().
int32_t** AC3Block::fixed_coef |
fixed-point MDCT coefficients
Definition at line 135 of file ac3enc.h.
Referenced by allocate_buffers(), extract_exponents(), ff_ac3_apply_rematrixing(), ff_ac3_encode_close(), and ff_ac3_quantize_mantissas().
uint8_t** AC3Block::exp |
original exponents
Definition at line 136 of file ac3enc.h.
Referenced by allocate_buffers(), bit_alloc_masking(), compute_exp_strategy(), encode_exponents(), extract_exponents(), ff_ac3_encode_close(), ff_ac3_group_exponents(), and ff_ac3_quantize_mantissas().
uint8_t** AC3Block::grouped_exp |
grouped exponents
Definition at line 137 of file ac3enc.h.
Referenced by allocate_buffers(), ff_ac3_encode_close(), ff_ac3_group_exponents(), and output_audio_block().
int16_t** AC3Block::psd |
psd per frequency bin
Definition at line 138 of file ac3enc.h.
Referenced by allocate_buffers(), bit_alloc(), bit_alloc_masking(), and ff_ac3_encode_close().
int16_t** AC3Block::band_psd |
psd per critical band
Definition at line 139 of file ac3enc.h.
Referenced by allocate_buffers(), bit_alloc_masking(), and ff_ac3_encode_close().
int16_t** AC3Block::mask |
masking curve
Definition at line 140 of file ac3enc.h.
Referenced by allocate_buffers(), bit_alloc(), bit_alloc_masking(), and ff_ac3_encode_close().
uint16_t** AC3Block::qmant |
quantized mantissas
Definition at line 141 of file ac3enc.h.
Referenced by allocate_buffers(), ff_ac3_encode_close(), ff_ac3_quantize_mantissas(), and output_audio_block().
uint8_t** AC3Block::cpl_coord_exp |
coupling coord exponents (cplcoexp)
Definition at line 142 of file ac3enc.h.
Referenced by allocate_buffers(), apply_channel_coupling(), ff_ac3_encode_close(), and output_audio_block().
uint8_t** AC3Block::cpl_coord_mant |
coupling coord mantissas (cplcomant)
Definition at line 143 of file ac3enc.h.
Referenced by allocate_buffers(), apply_channel_coupling(), ff_ac3_encode_close(), and output_audio_block().
uint8_t AC3Block::coeff_shift[AC3_MAX_CHANNELS] |
fixed-point coefficient shift values
Definition at line 144 of file ac3enc.h.
Referenced by apply_mdct(), and scale_coefficients().
uint8_t AC3Block::new_rematrixing_strategy |
send new rematrixing flags in this block
Definition at line 145 of file ac3enc.h.
Referenced by compute_rematrixing_strategy(), count_frame_bits(), ff_ac3_apply_rematrixing(), and output_audio_block().
int AC3Block::num_rematrixing_bands |
number of rematrixing bands
Definition at line 146 of file ac3enc.h.
Referenced by compute_rematrixing_strategy(), count_frame_bits(), ff_ac3_apply_rematrixing(), and output_audio_block().
uint8_t AC3Block::rematrixing_flags[4] |
rematrixing flags
Definition at line 147 of file ac3enc.h.
Referenced by compute_rematrixing_strategy(), ff_ac3_apply_rematrixing(), and output_audio_block().
int AC3Block::new_cpl_strategy |
send new coupling strategy
Definition at line 148 of file ac3enc.h.
Referenced by count_frame_bits(), ff_ac3_compute_coupling_strategy(), ff_eac3_output_frame_header(), and output_audio_block().
int AC3Block::cpl_in_use |
coupling in use for this block (cplinu)
Definition at line 149 of file ac3enc.h.
Referenced by apply_channel_coupling(), bit_alloc(), bit_alloc_masking(), compute_exp_strategy(), compute_rematrixing_strategy(), count_exponent_bits(), count_frame_bits(), count_mantissa_bits_update_ch(), encode_exponents(), ff_ac3_compute_coupling_strategy(), ff_ac3_group_exponents(), ff_ac3_quantize_mantissas(), ff_eac3_output_frame_header(), ff_eac3_set_cpl_states(), and output_audio_block().
uint8_t AC3Block::channel_in_cpl[AC3_MAX_CHANNELS] |
channel in coupling (chincpl)
Definition at line 150 of file ac3enc.h.
Referenced by apply_channel_coupling(), compute_exp_strategy(), count_frame_bits(), ff_ac3_compute_coupling_strategy(), ff_ac3_quantize_mantissas(), ff_eac3_set_cpl_states(), and output_audio_block().
int AC3Block::num_cpl_channels |
number of channels in coupling
Definition at line 151 of file ac3enc.h.
Referenced by ff_ac3_compute_coupling_strategy().
uint8_t AC3Block::new_cpl_coords[AC3_MAX_CHANNELS] |
send new coupling coordinates (cplcoe)
Definition at line 152 of file ac3enc.h.
Referenced by apply_channel_coupling(), count_frame_bits(), ff_eac3_set_cpl_states(), and output_audio_block().
uint8_t AC3Block::cpl_master_exp[AC3_MAX_CHANNELS] |
coupling coord master exponents (mstrcplco)
Definition at line 153 of file ac3enc.h.
Referenced by apply_channel_coupling(), and output_audio_block().
int AC3Block::new_snr_offsets |
send new SNR offsets
Definition at line 154 of file ac3enc.h.
Referenced by count_frame_bits(), ff_ac3_compute_coupling_strategy(), and output_audio_block().
int AC3Block::new_cpl_leak |
send new coupling leak info
Definition at line 155 of file ac3enc.h.
Referenced by count_frame_bits(), ff_ac3_compute_coupling_strategy(), ff_eac3_set_cpl_states(), and output_audio_block().
int AC3Block::end_freq[AC3_MAX_CHANNELS] |
end frequency bin (endmant)
Definition at line 156 of file ac3enc.h.
Referenced by bit_alloc(), bit_alloc_masking(), compute_exp_strategy(), compute_rematrixing_strategy(), count_exponent_bits(), count_mantissa_bits_update_ch(), encode_exponents(), ff_ac3_apply_rematrixing(), ff_ac3_compute_coupling_strategy(), ff_ac3_group_exponents(), ff_ac3_quantize_mantissas(), output_audio_block(), and set_bandwidth().