FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AC3Block Struct Reference

Data for a single audio block. More...

#include <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...
 

Detailed Description

Data for a single audio block.

Definition at line 133 of file ac3enc.h.

Field Documentation

CoefType** AC3Block::mdct_coef
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
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
uint8_t AC3Block::channel_in_cpl[AC3_MAX_CHANNELS]
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]

The documentation for this struct was generated from the following file: