FFmpeg
|
Data for a single audio block. More...
#include <ac3enc.h>
Data Fields | |
CoefType ** | mdct_coef |
MDCT coefficients. | |
int32_t ** | fixed_coef |
fixed-point MDCT coefficients | |
uint8_t ** | exp |
original exponents | |
uint8_t ** | grouped_exp |
grouped exponents | |
int16_t ** | psd |
psd per frequency bin | |
int16_t ** | band_psd |
psd per critical band | |
int16_t ** | mask |
masking curve | |
uint16_t ** | qmant |
quantized mantissas | |
uint8_t ** | cpl_coord_exp |
coupling coord exponents (cplcoexp) | |
uint8_t ** | cpl_coord_mant |
coupling coord mantissas (cplcomant) | |
uint8_t | coeff_shift [AC3_MAX_CHANNELS] |
fixed-point coefficient shift values | |
uint8_t | new_rematrixing_strategy |
send new rematrixing flags in this block | |
int | num_rematrixing_bands |
number of rematrixing bands | |
uint8_t | rematrixing_flags [4] |
rematrixing flags | |
int | new_cpl_strategy |
send new coupling strategy | |
int | cpl_in_use |
coupling in use for this block (cplinu) | |
uint8_t | channel_in_cpl [AC3_MAX_CHANNELS] |
channel in coupling (chincpl) | |
int | num_cpl_channels |
number of channels in coupling | |
uint8_t | new_cpl_coords [AC3_MAX_CHANNELS] |
send new coupling coordinates (cplcoe) | |
uint8_t | cpl_master_exp [AC3_MAX_CHANNELS] |
coupling coord master exponents (mstrcplco) | |
int | new_snr_offsets |
send new SNR offsets | |
int | new_cpl_leak |
send new coupling leak info | |
int | end_freq [AC3_MAX_CHANNELS] |
end frequency bin (endmant) | |
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().