AC3Block Struct Reference

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)


Detailed Description

Data for a single audio block.

Definition at line 126 of file ac3enc.h.


Field Documentation

psd per critical band

Definition at line 132 of file ac3enc.h.

Referenced by allocate_buffers(), bit_alloc_masking(), and ff_ac3_encode_close().

uint8_t AC3Block::channel_in_cpl[AC3_MAX_CHANNELS]

uint8_t AC3Block::coeff_shift[AC3_MAX_CHANNELS]

fixed-point coefficient shift values

Definition at line 137 of file ac3enc.h.

Referenced by apply_mdct(), and scale_coefficients().

coupling coord exponents (cplcoexp)

Definition at line 135 of file ac3enc.h.

Referenced by allocate_buffers(), apply_channel_coupling(), ff_ac3_encode_close(), and output_audio_block().

coupling coord mantissas (cplcomant)

Definition at line 136 of file ac3enc.h.

Referenced by allocate_buffers(), apply_channel_coupling(), ff_ac3_encode_close(), and output_audio_block().

uint8_t AC3Block::cpl_master_exp[AC3_MAX_CHANNELS]

coupling coord master exponents (mstrcplco)

Definition at line 146 of file ac3enc.h.

Referenced by apply_channel_coupling(), and output_audio_block().

int AC3Block::end_freq[AC3_MAX_CHANNELS]

uint8_t** AC3Block::exp

fixed-point MDCT coefficients

Definition at line 128 of file ac3enc.h.

Referenced by allocate_buffers(), extract_exponents(), ff_ac3_apply_rematrixing(), ff_ac3_encode_close(), and ff_ac3_quantize_mantissas().

grouped exponents

Definition at line 130 of file ac3enc.h.

Referenced by allocate_buffers(), ff_ac3_encode_close(), ff_ac3_group_exponents(), and output_audio_block().

masking curve

Definition at line 133 of file ac3enc.h.

Referenced by allocate_buffers(), bit_alloc(), bit_alloc_masking(), and ff_ac3_encode_close().

uint8_t AC3Block::new_cpl_coords[AC3_MAX_CHANNELS]

send new coupling coordinates (cplcoe)

Definition at line 145 of file ac3enc.h.

Referenced by apply_channel_coupling(), count_frame_bits(), ff_eac3_set_cpl_states(), and output_audio_block().

send new coupling leak info

Definition at line 148 of file ac3enc.h.

Referenced by count_frame_bits(), ff_ac3_compute_coupling_strategy(), ff_eac3_set_cpl_states(), and output_audio_block().

send new coupling strategy

Definition at line 141 of file ac3enc.h.

Referenced by count_frame_bits(), ff_ac3_compute_coupling_strategy(), ff_eac3_output_frame_header(), and output_audio_block().

send new rematrixing flags in this block

Definition at line 138 of file ac3enc.h.

Referenced by compute_rematrixing_strategy(), count_frame_bits(), ff_ac3_apply_rematrixing(), and output_audio_block().

send new SNR offsets

Definition at line 147 of file ac3enc.h.

Referenced by count_frame_bits(), ff_ac3_compute_coupling_strategy(), and output_audio_block().

number of channels in coupling

Definition at line 144 of file ac3enc.h.

Referenced by ff_ac3_compute_coupling_strategy().

number of rematrixing bands

Definition at line 139 of file ac3enc.h.

Referenced by compute_rematrixing_strategy(), count_frame_bits(), ff_ac3_apply_rematrixing(), and output_audio_block().

psd per frequency bin

Definition at line 131 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 134 of file ac3enc.h.

Referenced by allocate_buffers(), ff_ac3_encode_close(), ff_ac3_quantize_mantissas(), and output_audio_block().

rematrixing flags

Definition at line 140 of file ac3enc.h.

Referenced by compute_rematrixing_strategy(), ff_ac3_apply_rematrixing(), and output_audio_block().


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

Generated on Fri Oct 26 02:46:15 2012 for FFmpeg by  doxygen 1.5.8