Libav
Data Fields
DCAContext Struct Reference

Data Fields

AVClassclass
 class for AVOptions More...
 
AVCodecContextavctx
 
int frame_type
 type of the current frame More...
 
int samples_deficit
 deficit sample count More...
 
int crc_present
 crc is present in the bitstream More...
 
int sample_blocks
 number of PCM sample blocks More...
 
int frame_size
 primary frame byte size More...
 
int amode
 audio channels arrangement More...
 
int sample_rate
 audio sampling rate More...
 
int bit_rate
 transmission bit rate More...
 
int bit_rate_index
 transmission bit rate index More...
 
int dynrange
 embedded dynamic range flag More...
 
int timestamp
 embedded time stamp flag More...
 
int aux_data
 auxiliary data flag More...
 
int hdcd
 source material is mastered in HDCD More...
 
int ext_descr
 extension audio descriptor flag More...
 
int ext_coding
 extended coding flag More...
 
int aspf
 audio sync word insertion flag More...
 
int lfe
 low frequency effects flag More...
 
int predictor_history
 predictor history flag More...
 
int header_crc
 header crc check bytes More...
 
int multirate_inter
 multirate interpolator switch More...
 
int version
 encoder software revision More...
 
int copy_history
 copy history More...
 
int source_pcm_res
 source pcm resolution More...
 
int front_sum
 front sum/difference flag More...
 
int surround_sum
 surround sum/difference flag More...
 
int dialog_norm
 dialog normalisation parameter More...
 
int subframes
 number of subframes More...
 
int total_channels
 number of channels including extensions More...
 
int prim_channels
 number of primary audio channels More...
 
int subband_activity [DCA_PRIM_CHANNELS_MAX]
 subband activity count More...
 
int vq_start_subband [DCA_PRIM_CHANNELS_MAX]
 high frequency vq start subband More...
 
int joint_intensity [DCA_PRIM_CHANNELS_MAX]
 joint intensity coding index More...
 
int transient_huffman [DCA_PRIM_CHANNELS_MAX]
 transient mode code book More...
 
int scalefactor_huffman [DCA_PRIM_CHANNELS_MAX]
 scale factor code book More...
 
int bitalloc_huffman [DCA_PRIM_CHANNELS_MAX]
 bit allocation quantizer select More...
 
int quant_index_huffman [DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]
 quantization index codebook select More...
 
float scalefactor_adj [DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]
 scale factor adjustment More...
 
int subsubframes [DCA_SUBFRAMES_MAX]
 number of subsubframes More...
 
int partial_samples [DCA_SUBFRAMES_MAX]
 partial subsubframe samples count More...
 
int prediction_mode [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 prediction mode (ADPCM used or not) More...
 
int prediction_vq [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 prediction VQ coefs More...
 
int bitalloc [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 bit allocation index More...
 
int transition_mode [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 transition mode (transients) More...
 
int32_t scale_factor [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][2]
 scale factors (2 if transient) More...
 
int joint_huff [DCA_PRIM_CHANNELS_MAX]
 joint subband scale factors codebook More...
 
int joint_scale_factor [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 joint subband scale factors More...
 
float downmix_coef [DCA_PRIM_CHANNELS_MAX+1][2]
 stereo downmix coefficients More...
 
int dynrange_coef
 dynamic range coefficient More...
 
uint8_t core_downmix
 embedded downmix coefficients available More...
 
uint8_t core_downmix_amode
 audio channel arrangement of embedded downmix More...
 
uint16_t core_downmix_codes [DCA_PRIM_CHANNELS_MAX+1][4]
 embedded downmix coefficients (9-bit codes) More...
 
int32_t high_freq_vq [DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]
 VQ encoded high frequency subbands. More...
 
float lfe_data [2 *DCA_LFE_MAX *(DCA_BLOCKS_MAX+4)]
 Low frequency effect data. More...
 
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 More...
 
float subband_samples [DCA_BLOCKS_MAX][DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][8]
 
float * samples_chanptr [DCA_PRIM_CHANNELS_MAX+1]
 
float * extra_channels [DCA_PRIM_CHANNELS_MAX+1]
 
uint8_textra_channels_buffer
 
unsigned int extra_channels_buffer_size
 
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 More...
 
const int8_t * channel_order_tab
 channel reordering table, lfe and non lfe More...
 
GetBitContext gb
 
int current_subframe
 
int current_subsubframe
 
int core_ext_mask
 present extensions in the core substream More...
 
int xch_present
 XCh extension present and valid. More...
 
int xch_base_channel
 index of first (only) channel containing XCH data More...
 
int xch_disable
 whether the XCh extension should be decoded or not More...
 
int static_fields
 static fields present More...
 
int mix_metadata
 mixing metadata present More...
 
int num_mix_configs
 number of mix out configurations More...
 
int mix_config_num_ch [4]
 number of channels in each mix out configuration More...
 
int profile
 
int debug_flag
 used for suppressing repeated error messages output More...
 
AVFloatDSPContext fdsp
 
FFTContext imdct
 
SynthFilterContext synth
 
DCADSPContext dcadsp
 
FmtConvertContext fmt_conv
 

Detailed Description

Definition at line 287 of file dcadec.c.

Field Documentation

§ class

AVClass* DCAContext::class

class for AVOptions

Definition at line 288 of file dcadec.c.

§ avctx

AVCodecContext* DCAContext::avctx

§ frame_type

int DCAContext::frame_type

type of the current frame

Definition at line 291 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ samples_deficit

int DCAContext::samples_deficit

deficit sample count

Definition at line 292 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ crc_present

int DCAContext::crc_present

crc is present in the bitstream

Definition at line 293 of file dcadec.c.

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

§ sample_blocks

int DCAContext::sample_blocks

number of PCM sample blocks

Definition at line 294 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ frame_size

int DCAContext::frame_size

primary frame byte size

Definition at line 295 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ amode

int DCAContext::amode

audio channels arrangement

Definition at line 296 of file dcadec.c.

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

§ sample_rate

int DCAContext::sample_rate

audio sampling rate

Definition at line 297 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ bit_rate

int DCAContext::bit_rate

transmission bit rate

Definition at line 298 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ bit_rate_index

int DCAContext::bit_rate_index

transmission bit rate index

Definition at line 299 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

§ dynrange

int DCAContext::dynrange

embedded dynamic range flag

Definition at line 301 of file dcadec.c.

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

§ timestamp

int DCAContext::timestamp

embedded time stamp flag

Definition at line 302 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

§ aux_data

int DCAContext::aux_data

auxiliary data flag

Definition at line 303 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

§ hdcd

int DCAContext::hdcd

source material is mastered in HDCD

Definition at line 304 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ ext_descr

int DCAContext::ext_descr

extension audio descriptor flag

Definition at line 305 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ ext_coding

int DCAContext::ext_coding

extended coding flag

Definition at line 306 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ aspf

int DCAContext::aspf

audio sync word insertion flag

Definition at line 307 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

§ lfe

int DCAContext::lfe

low frequency effects flag

Definition at line 308 of file dcadec.c.

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

§ predictor_history

int DCAContext::predictor_history

predictor history flag

Definition at line 309 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

§ header_crc

int DCAContext::header_crc

header crc check bytes

Definition at line 310 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ multirate_inter

int DCAContext::multirate_inter

multirate interpolator switch

Definition at line 311 of file dcadec.c.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

§ version

int DCAContext::version

encoder software revision

Definition at line 312 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ copy_history

int DCAContext::copy_history

copy history

Definition at line 313 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ source_pcm_res

int DCAContext::source_pcm_res

source pcm resolution

Definition at line 314 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ front_sum

int DCAContext::front_sum

front sum/difference flag

Definition at line 315 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ surround_sum

int DCAContext::surround_sum

surround sum/difference flag

Definition at line 316 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ dialog_norm

int DCAContext::dialog_norm

dialog normalisation parameter

Definition at line 317 of file dcadec.c.

Referenced by dca_parse_frame_header().

§ subframes

int DCAContext::subframes

number of subframes

Definition at line 320 of file dcadec.c.

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

§ total_channels

int DCAContext::total_channels

number of channels including extensions

Definition at line 321 of file dcadec.c.

Referenced by dca_parse_audio_coding_header().

§ prim_channels

int DCAContext::prim_channels

number of primary audio channels

Definition at line 322 of file dcadec.c.

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

§ subband_activity

int DCAContext::subband_activity[DCA_PRIM_CHANNELS_MAX]

subband activity count

Definition at line 323 of file dcadec.c.

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

§ vq_start_subband

int DCAContext::vq_start_subband[DCA_PRIM_CHANNELS_MAX]

high frequency vq start subband

Definition at line 324 of file dcadec.c.

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

§ joint_intensity

int DCAContext::joint_intensity[DCA_PRIM_CHANNELS_MAX]

joint intensity coding index

Definition at line 325 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

§ transient_huffman

int DCAContext::transient_huffman[DCA_PRIM_CHANNELS_MAX]

transient mode code book

Definition at line 326 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

§ scalefactor_huffman

int DCAContext::scalefactor_huffman[DCA_PRIM_CHANNELS_MAX]

scale factor code book

Definition at line 327 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

§ bitalloc_huffman

int DCAContext::bitalloc_huffman[DCA_PRIM_CHANNELS_MAX]

bit allocation quantizer select

Definition at line 328 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().

§ quant_index_huffman

int DCAContext::quant_index_huffman[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

quantization index codebook select

Definition at line 329 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subsubframe().

§ scalefactor_adj

float DCAContext::scalefactor_adj[DCA_PRIM_CHANNELS_MAX][DCA_ABITS_MAX]

scale factor adjustment

Definition at line 330 of file dcadec.c.

Referenced by dca_parse_audio_coding_header(), and dca_subsubframe().

§ subsubframes

int DCAContext::subsubframes[DCA_SUBFRAMES_MAX]

number of subsubframes

Definition at line 333 of file dcadec.c.

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

§ partial_samples

int DCAContext::partial_samples[DCA_SUBFRAMES_MAX]

partial subsubframe samples count

Definition at line 334 of file dcadec.c.

Referenced by dca_subframe_header().

§ prediction_mode

int DCAContext::prediction_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

prediction mode (ADPCM used or not)

Definition at line 335 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

§ prediction_vq

int DCAContext::prediction_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

prediction VQ coefs

Definition at line 336 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

§ bitalloc

int DCAContext::bitalloc[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

bit allocation index

Definition at line 337 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

§ transition_mode

int DCAContext::transition_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

transition mode (transients)

Definition at line 338 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

§ scale_factor

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

scale factors (2 if transient)

Definition at line 339 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

§ joint_huff

int DCAContext::joint_huff[DCA_PRIM_CHANNELS_MAX]

joint subband scale factors codebook

Definition at line 340 of file dcadec.c.

Referenced by dca_subframe_header().

§ joint_scale_factor

int DCAContext::joint_scale_factor[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

joint subband scale factors

Definition at line 341 of file dcadec.c.

Referenced by dca_subframe_header().

§ downmix_coef

float DCAContext::downmix_coef[DCA_PRIM_CHANNELS_MAX+1][2]

stereo downmix coefficients

Definition at line 342 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_filter_channels().

§ dynrange_coef

int DCAContext::dynrange_coef

dynamic range coefficient

Definition at line 343 of file dcadec.c.

Referenced by dca_subframe_header().

§ core_downmix

uint8_t DCAContext::core_downmix

embedded downmix coefficients available

Definition at line 348 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_subframe_footer().

§ core_downmix_amode

uint8_t DCAContext::core_downmix_amode

audio channel arrangement of embedded downmix

Definition at line 349 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_subframe_footer().

§ core_downmix_codes

uint16_t DCAContext::core_downmix_codes[DCA_PRIM_CHANNELS_MAX+1][4]

embedded downmix coefficients (9-bit codes)

Definition at line 350 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_subframe_footer().

§ high_freq_vq

int32_t DCAContext::high_freq_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]

VQ encoded high frequency subbands.

Definition at line 352 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

§ lfe_data

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

Low frequency effect data.

Definition at line 354 of file dcadec.c.

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

§ lfe_scale_factor

int DCAContext::lfe_scale_factor

Definition at line 355 of file dcadec.c.

Referenced by dca_subframe_header().

§ subband_samples_hist

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

Definition at line 358 of file dcadec.c.

Referenced by dca_subsubframe().

§ subband_fir_hist

float DCAContext::subband_fir_hist[DCA_PRIM_CHANNELS_MAX][512]

Definition at line 359 of file dcadec.c.

Referenced by qmf_32_subbands().

§ subband_fir_noidea

float DCAContext::subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]

Definition at line 360 of file dcadec.c.

Referenced by qmf_32_subbands().

§ hist_index

int DCAContext::hist_index[DCA_PRIM_CHANNELS_MAX]

Definition at line 361 of file dcadec.c.

Referenced by qmf_32_subbands().

§ raXin

float DCAContext::raXin[32]

Definition at line 362 of file dcadec.c.

Referenced by qmf_32_subbands().

§ output

int DCAContext::output

type of output

Definition at line 364 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ subband_samples

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

Definition at line 366 of file dcadec.c.

Referenced by dca_filter_channels(), and dca_subsubframe().

§ samples_chanptr

float* DCAContext::samples_chanptr[DCA_PRIM_CHANNELS_MAX+1]

Definition at line 367 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_filter_channels().

§ extra_channels

float* DCAContext::extra_channels[DCA_PRIM_CHANNELS_MAX+1]

Definition at line 368 of file dcadec.c.

Referenced by dca_decode_frame().

§ extra_channels_buffer

uint8_t* DCAContext::extra_channels_buffer

Definition at line 369 of file dcadec.c.

Referenced by dca_decode_end(), and dca_decode_frame().

§ extra_channels_buffer_size

unsigned int DCAContext::extra_channels_buffer_size

Definition at line 370 of file dcadec.c.

Referenced by dca_decode_frame().

§ dca_buffer

Definition at line 372 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ dca_buffer_size

int DCAContext::dca_buffer_size

how much data is in the dca_buffer

Definition at line 373 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

§ channel_order_tab

const int8_t* DCAContext::channel_order_tab

channel reordering table, lfe and non lfe

Definition at line 375 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_filter_channels().

§ gb

GetBitContext DCAContext::gb

§ current_subframe

int DCAContext::current_subframe

§ current_subsubframe

int DCAContext::current_subsubframe

Definition at line 379 of file dcadec.c.

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

§ core_ext_mask

int DCAContext::core_ext_mask

present extensions in the core substream

Definition at line 381 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_exss_parse_asset_header().

§ xch_present

int DCAContext::xch_present

XCh extension present and valid.

Definition at line 384 of file dcadec.c.

Referenced by dca_decode_frame().

§ xch_base_channel

int DCAContext::xch_base_channel

index of first (only) channel containing XCH data

Definition at line 385 of file dcadec.c.

Referenced by dca_decode_frame().

§ xch_disable

int DCAContext::xch_disable

whether the XCh extension should be decoded or not

Definition at line 386 of file dcadec.c.

Referenced by dca_decode_frame().

§ static_fields

int DCAContext::static_fields

static fields present

Definition at line 389 of file dcadec.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

§ mix_metadata

int DCAContext::mix_metadata

mixing metadata present

Definition at line 390 of file dcadec.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

§ num_mix_configs

int DCAContext::num_mix_configs

number of mix out configurations

Definition at line 391 of file dcadec.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

§ mix_config_num_ch

int DCAContext::mix_config_num_ch[4]

number of channels in each mix out configuration

Definition at line 392 of file dcadec.c.

Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().

§ profile

int DCAContext::profile

Definition at line 394 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_exss_parse_asset_header().

§ debug_flag

int DCAContext::debug_flag

used for suppressing repeated error messages output

Definition at line 396 of file dcadec.c.

Referenced by dca_subframe_header(), and dca_subsubframe().

§ fdsp

AVFloatDSPContext DCAContext::fdsp

Definition at line 397 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_decode_init().

§ imdct

FFTContext DCAContext::imdct

Definition at line 398 of file dcadec.c.

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

§ synth

SynthFilterContext DCAContext::synth

Definition at line 399 of file dcadec.c.

Referenced by dca_decode_init(), and qmf_32_subbands().

§ dcadsp

DCADSPContext DCAContext::dcadsp

Definition at line 400 of file dcadec.c.

Referenced by dca_decode_init(), dca_subsubframe(), lfe_interpolation_fir(), and qmf_32_subbands().

§ fmt_conv

FmtConvertContext DCAContext::fmt_conv

Definition at line 401 of file dcadec.c.

Referenced by dca_decode_init(), and dca_subsubframe().


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