DCAContext Struct Reference


Data Fields

AVCodecContextavctx
AVFrame frame
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 [DCA_SUBFRAMES_MAX]
 number of subsubframes
int partial_samples [DCA_SUBFRAMES_MAX]
 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_LFE_MAX *(DCA_BLOCKS_MAX+4)]
 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 scale_bias
 output scale
float subband_samples [DCA_BLOCKS_MAX][DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][8]
float samples [(DCA_PRIM_CHANNELS_MAX+1)*256]
const float * samples_chanptr [DCA_PRIM_CHANNELS_MAX+1]
uint8_t dca_buffer [DCA_MAX_FRAME_SIZE+DCA_MAX_EXSS_HEADER_SIZE+DCA_BUFFER_PADDING_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 core_ext_mask
 present extensions in the core substream
int xch_present
 XCh extension present and valid.
int xch_base_channel
 index of first (only) channel containing XCH data
int static_fields
 static fields present
int mix_metadata
 mixing metadata present
int num_mix_configs
 number of mix out configurations
int mix_config_num_ch [4]
 number of channels in each mix out configuration
int profile
int debug_flag
 used for suppressing repeated error messages output
DSPContext dsp
FFTContext imdct
SynthFilterContext synth
DCADSPContext dcadsp
FmtConvertContext fmt_conv
PutBitContext pb
int32_t history [MAX_CHANNELS][512]
int start [MAX_CHANNELS]
int lfe_channel
int sample_rate_code
int lfe_data [SUBFRAMES *SUBSUBFRAMES *4]
int a_mode
 audio channels arrangement
int num_channel
int lfe_state
int lfe_offset
int32_t pcm [FFMAX(LFE_INTERPOLATION, DCA_SUBBANDS_32)]
int32_t subband [PCM_SAMPLES][MAX_CHANNELS][DCA_SUBBANDS_32]

Detailed Description

Definition at line 285 of file dca.c.


Field Documentation

audio channels arrangement

Definition at line 105 of file dcaenc.c.

Referenced by encode_init().

audio channels arrangement

Definition at line 294 of file dca.c.

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

audio sync word insertion flag

Definition at line 306 of file dca.c.

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

auxiliary data flag

Definition at line 302 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

transmission bit rate

Definition at line 296 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

transmission bit rate index

Definition at line 297 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 336 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 327 of file dca.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

channel reordering table, lfe and non lfe

Definition at line 366 of file dca.c.

Referenced by dca_decode_frame(), dca_filter_channels(), encode_frame(), and encode_init().

copy history

Definition at line 312 of file dca.c.

Referenced by dca_parse_frame_header().

present extensions in the core substream

Definition at line 372 of file dca.c.

Referenced by dca_decode_frame(), and dca_exss_parse_asset_header().

crc is present in the bitstream

Definition at line 291 of file dca.c.

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

Definition at line 370 of file dca.c.

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

uint8_t DCAContext::dca_buffer[DCA_MAX_FRAME_SIZE+DCA_MAX_EXSS_HEADER_SIZE+DCA_BUFFER_PADDING_SIZE]

Definition at line 363 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 364 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 390 of file dca.c.

Referenced by dca_decode_init(), and lfe_interpolation_fir().

used for suppressing repeated error messages output

Definition at line 386 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

dialog normalisation parameter

Definition at line 316 of file dca.c.

Referenced by dca_parse_frame_header().

embedded downmix enabled

Definition at line 299 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 341 of file dca.c.

Referenced by dca_filter_channels(), and dca_subframe_header().

Definition at line 387 of file dca.c.

Referenced by dca_decode_frame(), and dca_decode_init().

embedded dynamic range flag

Definition at line 300 of file dca.c.

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

dynamic range coefficient

Definition at line 342 of file dca.c.

Referenced by dca_subframe_header().

extended coding flag

Definition at line 305 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

extension audio descriptor flag

Definition at line 304 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 391 of file dca.c.

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

Definition at line 287 of file dca.c.

Referenced by dca_decode_frame(), and dca_decode_init().

primary frame byte size

Definition at line 293 of file dca.c.

Referenced by dca_decode_frame(), dca_parse_frame_header(), encode_frame(), put_frame(), and put_frame_header().

type of the current frame

Definition at line 289 of file dca.c.

Referenced by dca_parse_frame_header().

front sum/difference flag

Definition at line 314 of file dca.c.

Referenced by dca_parse_frame_header().

source material is mastered in HDCD

Definition at line 303 of file dca.c.

Referenced by dca_parse_frame_header().

header crc check bytes

Definition at line 309 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 344 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::hist_index[DCA_PRIM_CHANNELS_MAX]

Definition at line 353 of file dca.c.

Referenced by qmf_32_subbands().

int32_t DCAContext::history[MAX_CHANNELS][512]

Definition at line 95 of file dcaenc.c.

Referenced by add_new_samples(), lfe_downsample(), and qmf_decompose().

Definition at line 388 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 339 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::joint_intensity[DCA_PRIM_CHANNELS_MAX]

joint intensity coding index

Definition at line 324 of file dca.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

int DCAContext::joint_scale_factor[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

joint subband scale factors

Definition at line 340 of file dca.c.

Referenced by dca_subframe_header().

low frequency effects flag

Definition at line 307 of file dca.c.

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

Definition at line 99 of file dcaenc.c.

Referenced by encode_frame(), encode_init(), and put_subframe().

int DCAContext::lfe_data[SUBFRAMES *SUBSUBFRAMES *4]

Definition at line 103 of file dcaenc.c.

float DCAContext::lfe_data[2 *DCA_LFE_MAX *(DCA_BLOCKS_MAX+4)]

Low frequency effect data.

Definition at line 346 of file dca.c.

Referenced by dca_decode_frame(), dca_filter_channels(), dca_subframe_header(), encode_frame(), and put_subframe().

Definition at line 108 of file dcaenc.c.

Referenced by encode_frame(), and encode_init().

Definition at line 347 of file dca.c.

Referenced by dca_subframe_header(), and put_subframe().

Definition at line 107 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

number of channels in each mix out configuration

Definition at line 382 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

mixing metadata present

Definition at line 380 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

multirate interpolator switch

Definition at line 310 of file dca.c.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

Definition at line 106 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

number of mix out configurations

Definition at line 381 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

type of output

Definition at line 356 of file dca.c.

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

int DCAContext::partial_samples[DCA_SUBFRAMES_MAX]

partial subsubframe samples count

Definition at line 333 of file dca.c.

Referenced by dca_subframe_header().

int32_t DCAContext::pcm[FFMAX(LFE_INTERPOLATION, DCA_SUBBANDS_32)]

Definition at line 111 of file dcaenc.c.

Referenced by encode_frame().

int DCAContext::prediction_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

prediction mode (ADPCM used or not)

Definition at line 334 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 335 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

predictor history flag

Definition at line 308 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

Definition at line 384 of file dca.c.

Referenced by dca_decode_frame(), and dca_exss_parse_asset_header().

int DCAContext::quant_index_huffman[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

quantization index codebook select

Definition at line 328 of file dca.c.

Referenced by dca_parse_audio_coding_header(), and dca_subsubframe().

float DCAContext::raXin[32]

Definition at line 354 of file dca.c.

Referenced by qmf_32_subbands().

number of PCM sample blocks

Definition at line 292 of file dca.c.

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

audio sampling rate

Definition at line 295 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 100 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

float DCAContext::samples[(DCA_PRIM_CHANNELS_MAX+1)*256]

Definition at line 360 of file dca.c.

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

const float* DCAContext::samples_chanptr[DCA_PRIM_CHANNELS_MAX+1]

Definition at line 361 of file dca.c.

Referenced by dca_decode_frame(), and dca_decode_init().

deficit sample count

Definition at line 290 of file dca.c.

Referenced by dca_parse_frame_header().

output scale

Definition at line 357 of file dca.c.

Referenced by dca_decode_init(), and dca_filter_channels().

scale factors (2 if transient)

Definition at line 338 of file dca.c.

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

float DCAContext::scalefactor_adj[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

scale factor adjustment

Definition at line 329 of file dca.c.

Referenced by dca_parse_audio_coding_header(), and dca_subsubframe().

int DCAContext::scalefactor_huffman[DCA_PRIM_CHANNELS_MAX]

scale factor code book

Definition at line 326 of file dca.c.

Referenced by dca_parse_audio_coding_header(), dca_subframe_header(), and dca_xbr_parse_frame().

source pcm resolution

Definition at line 313 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::start[MAX_CHANNELS]

Definition at line 96 of file dcaenc.c.

Referenced by add_new_samples(), lfe_downsample(), and qmf_decompose().

static fields present

Definition at line 379 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

int32_t DCAContext::subband[PCM_SAMPLES][MAX_CHANNELS][DCA_SUBBANDS_32]

Definition at line 112 of file dcaenc.c.

Referenced by encode_frame().

int DCAContext::subband_activity[DCA_PRIM_CHANNELS_MAX]

subband activity count

Definition at line 322 of file dca.c.

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

float DCAContext::subband_fir_hist[DCA_PRIM_CHANNELS_MAX][512]

Definition at line 351 of file dca.c.

Referenced by qmf_32_subbands().

float DCAContext::subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]

Definition at line 352 of file dca.c.

Referenced by qmf_32_subbands().

float DCAContext::subband_samples[DCA_BLOCKS_MAX][DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][8]

Definition at line 359 of file dca.c.

Referenced by dca_filter_channels(), dca_subsubframe(), and dca_xbr_parse_frame().

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

Definition at line 350 of file dca.c.

Referenced by dca_subsubframe().

number of subframes

Definition at line 319 of file dca.c.

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

int DCAContext::subsubframes[DCA_SUBFRAMES_MAX]

number of subsubframes

Definition at line 332 of file dca.c.

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

surround sum/difference flag

Definition at line 315 of file dca.c.

Referenced by dca_parse_frame_header().

Definition at line 389 of file dca.c.

Referenced by dca_decode_init(), and qmf_32_subbands().

embedded time stamp flag

Definition at line 301 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

number of channels including extensions

Definition at line 320 of file dca.c.

Referenced by dca_parse_audio_coding_header().

int DCAContext::transient_huffman[DCA_PRIM_CHANNELS_MAX]

transient mode code book

Definition at line 325 of file dca.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

int DCAContext::transition_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

transition mode (transients)

Definition at line 337 of file dca.c.

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

encoder software revision

Definition at line 311 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 323 of file dca.c.

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

index of first (only) channel containing XCH data

Definition at line 376 of file dca.c.

Referenced by dca_decode_frame().

XCh extension present and valid.

Definition at line 375 of file dca.c.

Referenced by dca_decode_frame().


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

Generated on Fri Oct 26 02:48:05 2012 for FFmpeg by  doxygen 1.5.8