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
 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 106 of file ac3enc.h.


Field Documentation

int16_t** AC3Block::band_psd

psd per critical band

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

Referenced by apply_mdct(), and scale_coefficients().

coupling coord exponents (cplcoexp)

Definition at line 115 of file ac3enc.h.

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

coupling coord mantissas (cplcomant)

Definition at line 116 of file ac3enc.h.

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

uint8_t AC3Block::cpl_master_exp[AC3_MAX_CHANNELS]

coupling coord master exponents (mstrcplco)

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

Referenced by allocate_buffers(), apply_channel_coupling(), apply_rematrixing(), ff_ac3_encode_close(), and quantize_mantissas().

grouped exponents

Definition at line 110 of file ac3enc.h.

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

int16_t** AC3Block::mask

masking curve

Definition at line 113 of file ac3enc.h.

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

send new coupling coordinates (cplcoe)

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

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

send new coupling strategy

Definition at line 121 of file ac3enc.h.

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

send new rematrixing flags in this block

Definition at line 118 of file ac3enc.h.

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

send new SNR offsets

Definition at line 127 of file ac3enc.h.

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

number of channels in coupling

Definition at line 124 of file ac3enc.h.

Referenced by compute_coupling_strategy().

number of rematrixing bands

Definition at line 119 of file ac3enc.h.

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

int16_t** AC3Block::psd

psd per frequency bin

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

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

rematrixing flags

Definition at line 120 of file ac3enc.h.

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


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

Generated on Fri Oct 26 02:38:22 2012 for FFmpeg by  doxygen 1.5.8