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 xxch_chset
int xxch_nbits_spk_mask
uint32_t xxch_core_spkmask
uint32_t xxch_spk_masks [4]
int xxch_chset_nch [4]
float xxch_dmix_sf [DCA_CHSETS_MAX]
uint32_t xxch_downmix
uint32_t xxch_dmix_embedded
float xxch_dmix_coeff [DCA_PRIM_CHANNELS_MAX][32]
int8_t xxch_order_tab [32]
int8_t lfe_index
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
AVFloatDSPContext fdsp
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 348 of file dcadec.c.


Field Documentation

audio channels arrangement

Definition at line 106 of file dcaenc.c.

Referenced by encode_init().

audio channels arrangement

Definition at line 357 of file dcadec.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 369 of file dcadec.c.

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

auxiliary data flag

Definition at line 365 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

transmission bit rate

Definition at line 359 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

transmission bit rate index

Definition at line 360 of file dcadec.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 399 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::bitalloc_huffman[DCA_PRIM_CHANNELS_MAX]

bit allocation quantizer select

Definition at line 390 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

channel reordering table, lfe and non lfe

Definition at line 429 of file dcadec.c.

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

copy history

Definition at line 375 of file dcadec.c.

Referenced by dca_parse_frame_header().

present extensions in the core substream

Definition at line 435 of file dcadec.c.

Referenced by dca_decode_frame(), dca_exss_parse_asset_header(), and dca_exss_parse_header().

crc is present in the bitstream

Definition at line 354 of file dcadec.c.

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

Definition at line 433 of file dcadec.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 426 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

how much data is in the dca_buffer

Definition at line 427 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 468 of file dcadec.c.

Referenced by dca_decode_init(), and lfe_interpolation_fir().

used for suppressing repeated error messages output

Definition at line 464 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

dialog normalisation parameter

Definition at line 379 of file dcadec.c.

Referenced by dca_parse_frame_header().

embedded downmix enabled

Definition at line 362 of file dcadec.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 404 of file dcadec.c.

Referenced by dca_filter_channels(), and dca_subframe_header().

embedded dynamic range flag

Definition at line 363 of file dcadec.c.

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

dynamic range coefficient

Definition at line 405 of file dcadec.c.

Referenced by dca_subframe_header().

extended coding flag

Definition at line 368 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

extension audio descriptor flag

Definition at line 367 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 465 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_decode_init().

Definition at line 469 of file dcadec.c.

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

Definition at line 350 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_decode_init().

primary frame byte size

Definition at line 356 of file dcadec.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 352 of file dcadec.c.

Referenced by dca_parse_frame_header().

front sum/difference flag

Definition at line 377 of file dcadec.c.

Referenced by dca_parse_frame_header().

source material is mastered in HDCD

Definition at line 366 of file dcadec.c.

Referenced by dca_parse_frame_header().

header crc check bytes

Definition at line 372 of file dcadec.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 407 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::hist_index[DCA_PRIM_CHANNELS_MAX]

Definition at line 416 of file dcadec.c.

Referenced by qmf_32_subbands().

int32_t DCAContext::history[MAX_CHANNELS][512]

Definition at line 96 of file dcaenc.c.

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

Definition at line 466 of file dcadec.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 402 of file dcadec.c.

Referenced by dca_subframe_header().

int DCAContext::joint_intensity[DCA_PRIM_CHANNELS_MAX]

joint intensity coding index

Definition at line 387 of file dcadec.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 403 of file dcadec.c.

Referenced by dca_subframe_header().

low frequency effects flag

Definition at line 370 of file dcadec.c.

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

Definition at line 100 of file dcaenc.c.

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

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

Definition at line 104 of file dcaenc.c.

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

Low frequency effect data.

Definition at line 409 of file dcadec.c.

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

Definition at line 454 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_filter_channels().

Definition at line 109 of file dcaenc.c.

Referenced by encode_frame(), and encode_init().

Definition at line 410 of file dcadec.c.

Referenced by dca_subframe_header(), and put_subframe().

Definition at line 108 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

number of channels in each mix out configuration

Definition at line 460 of file dcadec.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

mixing metadata present

Definition at line 458 of file dcadec.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

multirate interpolator switch

Definition at line 373 of file dcadec.c.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

Definition at line 107 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

number of mix out configurations

Definition at line 459 of file dcadec.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

type of output

Definition at line 419 of file dcadec.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 396 of file dcadec.c.

Referenced by dca_subframe_header().

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

Definition at line 112 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 397 of file dcadec.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 398 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

predictor history flag

Definition at line 371 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

Definition at line 462 of file dcadec.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 391 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subsubframe().

float DCAContext::raXin[32]

Definition at line 417 of file dcadec.c.

Referenced by qmf_32_subbands().

number of PCM sample blocks

Definition at line 355 of file dcadec.c.

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

audio sampling rate

Definition at line 358 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

Definition at line 101 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

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

Definition at line 423 of file dcadec.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 424 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_decode_init().

deficit sample count

Definition at line 353 of file dcadec.c.

Referenced by dca_parse_frame_header().

output scale

Definition at line 420 of file dcadec.c.

Referenced by dca_decode_init(), and dca_filter_channels().

scale factors (2 if transient)

Definition at line 401 of file dcadec.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 392 of file dcadec.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 389 of file dcadec.c.

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

source pcm resolution

Definition at line 376 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::start[MAX_CHANNELS]

Definition at line 97 of file dcaenc.c.

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

static fields present

Definition at line 457 of file dcadec.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 113 of file dcaenc.c.

Referenced by encode_frame().

int DCAContext::subband_activity[DCA_PRIM_CHANNELS_MAX]

subband activity count

Definition at line 385 of file dcadec.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 414 of file dcadec.c.

Referenced by qmf_32_subbands().

float DCAContext::subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]

Definition at line 415 of file dcadec.c.

Referenced by qmf_32_subbands().

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

Definition at line 422 of file dcadec.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 413 of file dcadec.c.

Referenced by dca_subsubframe().

number of subframes

Definition at line 382 of file dcadec.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 395 of file dcadec.c.

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

surround sum/difference flag

Definition at line 378 of file dcadec.c.

Referenced by dca_parse_frame_header().

Definition at line 467 of file dcadec.c.

Referenced by dca_decode_init(), and qmf_32_subbands().

embedded time stamp flag

Definition at line 364 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

number of channels including extensions

Definition at line 383 of file dcadec.c.

Referenced by dca_parse_audio_coding_header().

int DCAContext::transient_huffman[DCA_PRIM_CHANNELS_MAX]

transient mode code book

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

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

encoder software revision

Definition at line 374 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::vq_start_subband[DCA_PRIM_CHANNELS_MAX]

high frequency vq start subband

Definition at line 386 of file dcadec.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 439 of file dcadec.c.

Referenced by dca_decode_frame().

XCh extension present and valid.

Definition at line 438 of file dcadec.c.

Referenced by dca_decode_frame().

Definition at line 446 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_audio_coding_header().

float DCAContext::xxch_dmix_coeff[DCA_PRIM_CHANNELS_MAX][32]

Definition at line 451 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_audio_coding_header().

float DCAContext::xxch_dmix_sf[DCA_CHSETS_MAX]

Definition at line 447 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_audio_coding_header().

Definition at line 453 of file dcadec.c.

Referenced by dca_decode_frame().

Definition at line 445 of file dcadec.c.

Referenced by dca_decode_frame(), dca_parse_audio_coding_header(), and dca_xxch2index().


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

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