DCAContext Struct Reference


Data Fields

AVCodecContextavctx
int frame_type
 type of the current frame
int samples_deficit
 deficit sample count
int crc_present
 crc is present in the bitstream
int sample_blocks
 number of PCM sample blocks
int frame_size
 primary frame byte size
int amode
 audio channels arrangement
int sample_rate
 audio sampling rate
int bit_rate
 transmission bit rate
int bit_rate_index
 transmission bit rate index
int downmix
 embedded downmix enabled
int dynrange
 embedded dynamic range flag
int timestamp
 embedded time stamp flag
int aux_data
 auxiliary data flag
int hdcd
 source material is mastered in HDCD
int ext_descr
 extension audio descriptor flag
int ext_coding
 extended coding flag
int aspf
 audio sync word insertion flag
int lfe
 low frequency effects flag
int predictor_history
 predictor history flag
int header_crc
 header crc check bytes
int multirate_inter
 multirate interpolator switch
int version
 encoder software revision
int copy_history
 copy history
int source_pcm_res
 source pcm resolution
int front_sum
 front sum/difference flag
int surround_sum
 surround sum/difference flag
int dialog_norm
 dialog normalisation parameter
int subframes
 number of subframes
int total_channels
 number of channels including extensions
int prim_channels
 number of primary audio channels
int subband_activity [DCA_PRIM_CHANNELS_MAX]
 subband activity count
int vq_start_subband [DCA_PRIM_CHANNELS_MAX]
 high frequency vq start subband
int joint_intensity [DCA_PRIM_CHANNELS_MAX]
 joint intensity coding index
int transient_huffman [DCA_PRIM_CHANNELS_MAX]
 transient mode code book
int scalefactor_huffman [DCA_PRIM_CHANNELS_MAX]
 scale factor code book
int bitalloc_huffman [DCA_PRIM_CHANNELS_MAX]
 bit allocation quantizer select
int quant_index_huffman [DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]
 quantization index codebook select
float scalefactor_adj [DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]
 scale factor adjustment
int subsubframes
 number of subsubframes
int partial_samples
 partial subsubframe samples count
int prediction_mode [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 prediction mode (ADPCM used or not)
int prediction_vq [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 prediction VQ coefs
int bitalloc [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 bit allocation index
int transition_mode [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 transition mode (transients)
int scale_factor [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][2]
 scale factors (2 if transient)
int joint_huff [DCA_PRIM_CHANNELS_MAX]
 joint subband scale factors codebook
int joint_scale_factor [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 joint subband scale factors
int downmix_coef [DCA_PRIM_CHANNELS_MAX][2]
 stereo downmix coefficients
int dynrange_coef
 dynamic range coefficient
int high_freq_vq [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 VQ encoded high frequency subbands.
float lfe_data [2 *DCA_SUBSUBFAMES_MAX *DCA_LFE_MAX *2]
 Low frequency effect data.
int lfe_scale_factor
float subband_samples_hist [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]
float subband_fir_hist [DCA_PRIM_CHANNELS_MAX][512]
float subband_fir_noidea [DCA_PRIM_CHANNELS_MAX][32]
int hist_index [DCA_PRIM_CHANNELS_MAX]
float raXin [32]
int output
 type of output
float add_bias
 output bias
float scale_bias
 output scale
float samples [1536]
const float * samples_chanptr [6]
uint8_t dca_buffer [DCA_MAX_FRAME_SIZE]
int dca_buffer_size
 how much data is in the dca_buffer
const int8_t * channel_order_tab
 channel reordering table, lfe and non lfe
GetBitContext gb
int current_subframe
int current_subsubframe
int debug_flag
 used for suppressing repeated error messages output
DSPContext dsp
FFTContext imdct
SynthFilterContext synth
DCADSPContext dcadsp

Detailed Description

Definition at line 165 of file dca.c.


Field Documentation

output bias

Definition at line 237 of file dca.c.

Referenced by dca_decode_init(), and dca_subsubframe().

audio channels arrangement

Definition at line 173 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), dca_subframe_header(), and dca_subsubframe().

audio sync word insertion flag

Definition at line 185 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

auxiliary data flag

Definition at line 181 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

transmission bit rate

Definition at line 175 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

transmission bit rate index

Definition at line 176 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

int DCAContext::bitalloc[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

bit allocation index

Definition at line 215 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::bitalloc_huffman[DCA_PRIM_CHANNELS_MAX]

bit allocation quantizer select

Definition at line 206 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

channel reordering table, lfe and non lfe

Definition at line 246 of file dca.c.

Referenced by dca_decode_frame(), and dca_subsubframe().

copy history

Definition at line 191 of file dca.c.

Referenced by dca_parse_frame_header().

crc is present in the bitstream

Definition at line 170 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().

Definition at line 249 of file dca.c.

Referenced by dca_decode_block(), and dca_parse_frame_header().

Definition at line 250 of file dca.c.

Referenced by dca_decode_block(), dca_parse_frame_header(), and dca_subsubframe().

uint8_t DCAContext::dca_buffer[DCA_MAX_FRAME_SIZE]

Definition at line 243 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

how much data is in the dca_buffer

Definition at line 244 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 256 of file dca.c.

Referenced by dca_decode_init(), and lfe_interpolation_fir().

used for suppressing repeated error messages output

Definition at line 252 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

dialog normalisation parameter

Definition at line 195 of file dca.c.

Referenced by dca_parse_frame_header().

embedded downmix enabled

Definition at line 178 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().

int DCAContext::downmix_coef[DCA_PRIM_CHANNELS_MAX][2]

stereo downmix coefficients

Definition at line 220 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

Definition at line 253 of file dca.c.

Referenced by dca_decode_frame(), dca_decode_init(), and dca_subsubframe().

embedded dynamic range flag

Definition at line 179 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().

dynamic range coefficient

Definition at line 221 of file dca.c.

Referenced by dca_subframe_header().

extended coding flag

Definition at line 184 of file dca.c.

Referenced by dca_parse_frame_header().

extension audio descriptor flag

Definition at line 183 of file dca.c.

Referenced by dca_parse_frame_header().

primary frame byte size

Definition at line 172 of file dca.c.

Referenced by dca_parse_frame_header().

type of the current frame

Definition at line 168 of file dca.c.

Referenced by dca_parse_frame_header().

front sum/difference flag

Definition at line 193 of file dca.c.

Referenced by dca_parse_frame_header().

source material is mastered in HDCD

Definition at line 182 of file dca.c.

Referenced by dca_parse_frame_header().

header crc check bytes

Definition at line 188 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::high_freq_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

VQ encoded high frequency subbands.

Definition at line 223 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::hist_index[DCA_PRIM_CHANNELS_MAX]

Definition at line 233 of file dca.c.

Referenced by qmf_32_subbands().

Definition at line 254 of file dca.c.

Referenced by dca_decode_end(), dca_decode_init(), and qmf_32_subbands().

int DCAContext::joint_huff[DCA_PRIM_CHANNELS_MAX]

joint subband scale factors codebook

Definition at line 218 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::joint_intensity[DCA_PRIM_CHANNELS_MAX]

joint intensity coding index

Definition at line 203 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

int DCAContext::joint_scale_factor[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

joint subband scale factors

Definition at line 219 of file dca.c.

Referenced by dca_subframe_header().

low frequency effects flag

Definition at line 186 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), dca_subframe_footer(), dca_subframe_header(), and dca_subsubframe().

float DCAContext::lfe_data[2 *DCA_SUBSUBFAMES_MAX *DCA_LFE_MAX *2]

Low frequency effect data.

Definition at line 226 of file dca.c.

Referenced by dca_subframe_footer(), dca_subframe_header(), and dca_subsubframe().

Definition at line 227 of file dca.c.

Referenced by dca_subframe_header().

multirate interpolator switch

Definition at line 189 of file dca.c.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

type of output

Definition at line 236 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), and dca_subsubframe().

partial subsubframe samples count

Definition at line 212 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::prediction_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

prediction mode (ADPCM used or not)

Definition at line 213 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::prediction_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

prediction VQ coefs

Definition at line 214 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

predictor history flag

Definition at line 187 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

number of primary audio channels

Definition at line 200 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), dca_subframe_header(), and dca_subsubframe().

int DCAContext::quant_index_huffman[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

quantization index codebook select

Definition at line 207 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

float DCAContext::raXin[32]

Definition at line 234 of file dca.c.

Referenced by qmf_32_subbands().

number of PCM sample blocks

Definition at line 171 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

audio sampling rate

Definition at line 174 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

float DCAContext::samples[1536]

Definition at line 240 of file dca.c.

Referenced by dca_decode_init(), and dca_subsubframe().

const float* DCAContext::samples_chanptr[6]

Definition at line 241 of file dca.c.

Referenced by dca_decode_frame(), and dca_decode_init().

deficit sample count

Definition at line 169 of file dca.c.

Referenced by dca_parse_frame_header().

output scale

Definition at line 238 of file dca.c.

Referenced by dca_decode_init(), and dca_subsubframe().

int DCAContext::scale_factor[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][2]

scale factors (2 if transient)

Definition at line 217 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

float DCAContext::scalefactor_adj[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

scale factor adjustment

Definition at line 208 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

int DCAContext::scalefactor_huffman[DCA_PRIM_CHANNELS_MAX]

scale factor code book

Definition at line 205 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

source pcm resolution

Definition at line 192 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::subband_activity[DCA_PRIM_CHANNELS_MAX]

subband activity count

Definition at line 201 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_header(), and qmf_32_subbands().

float DCAContext::subband_fir_hist[DCA_PRIM_CHANNELS_MAX][512]

Definition at line 231 of file dca.c.

Referenced by qmf_32_subbands().

float DCAContext::subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]

Definition at line 232 of file dca.c.

Referenced by qmf_32_subbands().

float DCAContext::subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]

Definition at line 230 of file dca.c.

Referenced by dca_subsubframe().

number of subframes

Definition at line 198 of file dca.c.

Referenced by dca_decode_block(), and dca_parse_frame_header().

number of subsubframes

Definition at line 211 of file dca.c.

Referenced by dca_decode_block(), dca_subframe_footer(), dca_subframe_header(), and dca_subsubframe().

surround sum/difference flag

Definition at line 194 of file dca.c.

Referenced by dca_parse_frame_header().

Definition at line 255 of file dca.c.

Referenced by dca_decode_init(), and qmf_32_subbands().

embedded time stamp flag

Definition at line 180 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

number of channels including extensions

Definition at line 199 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::transient_huffman[DCA_PRIM_CHANNELS_MAX]

transient mode code book

Definition at line 204 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_header().

int DCAContext::transition_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

transition mode (transients)

Definition at line 216 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

encoder software revision

Definition at line 190 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::vq_start_subband[DCA_PRIM_CHANNELS_MAX]

high frequency vq start subband

Definition at line 202 of file dca.c.

Referenced by dca_parse_frame_header(), dca_subframe_header(), and dca_subsubframe().


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

Generated on Fri Oct 26 02:36:57 2012 for FFmpeg by  doxygen 1.5.8