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 is_channels_set
 check for if the channel number is already set
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

Detailed Description

Definition at line 283 of file dca.c.

Field Documentation

int DCAContext::amode

audio channels arrangement

Definition at line 292 of file dca.c.

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

int DCAContext::aspf

audio sync word insertion flag

Definition at line 304 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

int DCAContext::aux_data

auxiliary data flag

Definition at line 300 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

int DCAContext::bit_rate

transmission bit rate

Definition at line 294 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::bit_rate_index

transmission bit rate index

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

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

const int8_t* DCAContext::channel_order_tab

channel reordering table, lfe and non lfe

Definition at line 365 of file dca.c.

Referenced by dca_decode_frame(), and dca_filter_channels().

int DCAContext::copy_history

copy history

Definition at line 310 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::core_ext_mask

present extensions in the core substream

Definition at line 371 of file dca.c.

Referenced by dca_decode_frame(), and dca_exss_parse_asset_header().

int DCAContext::crc_present

crc is present in the bitstream

Definition at line 289 of file dca.c.

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

int DCAContext::current_subframe
int DCAContext::current_subsubframe

Definition at line 369 of file dca.c.

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

Definition at line 362 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::dca_buffer_size

how much data is in the dca_buffer

Definition at line 363 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

DCADSPContext DCAContext::dcadsp

Definition at line 389 of file dca.c.

Referenced by dca_decode_init(), and lfe_interpolation_fir().

int DCAContext::debug_flag

used for suppressing repeated error messages output

Definition at line 385 of file dca.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::dialog_norm

dialog normalisation parameter

Definition at line 314 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::downmix

embedded downmix enabled

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

Referenced by dca_filter_channels(), and dca_subframe_header().

DSPContext DCAContext::dsp

Definition at line 386 of file dca.c.

Referenced by dca_decode_frame(), and dca_decode_init().

int DCAContext::dynrange

embedded dynamic range flag

Definition at line 298 of file dca.c.

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

int DCAContext::dynrange_coef

dynamic range coefficient

Definition at line 341 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::ext_coding

extended coding flag

Definition at line 303 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::ext_descr

extension audio descriptor flag

Definition at line 302 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

FmtConvertContext DCAContext::fmt_conv

Definition at line 390 of file dca.c.

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

AVFrame DCAContext::frame

Definition at line 285 of file dca.c.

Referenced by dca_decode_frame(), and dca_decode_init().

int DCAContext::frame_size

primary frame byte size

Definition at line 291 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::frame_type

type of the current frame

Definition at line 287 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::front_sum

front sum/difference flag

Definition at line 312 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::hdcd

source material is mastered in HDCD

Definition at line 301 of file dca.c.

Referenced by dca_parse_frame_header().

int DCAContext::header_crc

header crc check bytes

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

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::hist_index[DCA_PRIM_CHANNELS_MAX]

Definition at line 352 of file dca.c.

Referenced by qmf_32_subbands().

FFTContext DCAContext::imdct

Definition at line 387 of file dca.c.

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

int DCAContext::is_channels_set

check for if the channel number is already set

Definition at line 318 of file dca.c.

Referenced by dca_decode_frame().

int DCAContext::joint_huff[DCA_PRIM_CHANNELS_MAX]

joint subband scale factors codebook

Definition at line 338 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::joint_intensity[DCA_PRIM_CHANNELS_MAX]

joint intensity coding index

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

Referenced by dca_subframe_header().

int DCAContext::lfe

low frequency effects flag

Definition at line 305 of file dca.c.

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

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

Low frequency effect data.

Definition at line 345 of file dca.c.

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

int DCAContext::lfe_scale_factor

Definition at line 346 of file dca.c.

Referenced by dca_subframe_header().

int DCAContext::mix_config_num_ch[4]

number of channels in each mix out configuration

Definition at line 381 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

int DCAContext::mix_metadata

mixing metadata present

Definition at line 379 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

int DCAContext::multirate_inter

multirate interpolator switch

Definition at line 308 of file dca.c.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

int DCAContext::num_mix_configs

number of mix out configurations

Definition at line 380 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

int DCAContext::output

type of output

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

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::predictor_history

predictor history flag

Definition at line 306 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

int DCAContext::prim_channels

number of primary audio channels

Definition at line 320 of file dca.c.

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

int DCAContext::profile

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

Referenced by dca_parse_audio_coding_header(), and dca_subsubframe().

float DCAContext::raXin[32]

Definition at line 353 of file dca.c.

Referenced by qmf_32_subbands().

int DCAContext::sample_blocks

number of PCM sample blocks

Definition at line 290 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::sample_rate

audio sampling rate

Definition at line 293 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

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

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

Referenced by dca_decode_frame(), and dca_decode_init().

int DCAContext::samples_deficit

deficit sample count

Definition at line 288 of file dca.c.

Referenced by dca_parse_frame_header().

float DCAContext::scale_bias

output scale

Definition at line 356 of file dca.c.

Referenced by dca_decode_init(), and dca_filter_channels().

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

scale factors (2 if transient)

Definition at line 337 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 328 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 325 of file dca.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

int DCAContext::source_pcm_res

source pcm resolution

Definition at line 311 of file dca.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::static_fields

static fields present

Definition at line 378 of file dca.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

int DCAContext::subband_activity[DCA_PRIM_CHANNELS_MAX]

subband activity count

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

Referenced by qmf_32_subbands().

float DCAContext::subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]

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

Referenced by dca_filter_channels(), and dca_subsubframe().

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

Definition at line 349 of file dca.c.

Referenced by dca_subsubframe().

int DCAContext::subframes

number of subframes

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

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

int DCAContext::surround_sum

surround sum/difference flag

Definition at line 313 of file dca.c.

Referenced by dca_parse_frame_header().

SynthFilterContext DCAContext::synth

Definition at line 388 of file dca.c.

Referenced by dca_decode_init(), and qmf_32_subbands().

int DCAContext::timestamp

embedded time stamp flag

Definition at line 299 of file dca.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

int DCAContext::total_channels

number of channels including extensions

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

Referenced by dca_subframe_header(), and dca_subsubframe().

int DCAContext::version

encoder software revision

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

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

int DCAContext::xch_base_channel

index of first (only) channel containing XCH data

Definition at line 375 of file dca.c.

Referenced by dca_decode_frame().

int DCAContext::xch_present

XCh extension present and valid.

Definition at line 374 of file dca.c.

Referenced by dca_decode_frame().


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