DCAContext Struct Reference
Collaboration diagram for DCAContext:
Collaboration graph

Data Fields

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 downmix
 embedded downmix enabled 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...
 
int 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...
 
int downmix_coef [DCA_PRIM_CHANNELS_MAX][2]
 stereo downmix coefficients More...
 
int dynrange_coef
 dynamic range coefficient More...
 
int 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
 
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 More...
 
int num_channel
 
int lfe_state
 
int lfe_offset
 
const int8_t * channel_order_tab
 channel reordering table, lfe and non lfe More...
 
int32_t pcm [FFMAX(LFE_INTERPOLATION, DCA_SUBBANDS_32)]
 
int32_t subband [PCM_SAMPLES][MAX_CHANNELS][DCA_SUBBANDS_32]
 

Detailed Description

Definition at line 349 of file dcadec.c.

Field Documentation

int DCAContext::a_mode

audio channels arrangement

Definition at line 105 of file dcaenc.c.

Referenced by encode_init().

int DCAContext::amode

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().

int DCAContext::aspf

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().

int DCAContext::aux_data

auxiliary data flag

Definition at line 365 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

int DCAContext::bit_rate

transmission bit rate

Definition at line 359 of file dcadec.c.

Referenced by 7digital-python.lockerEndpoint.Format::__init__(), dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::bit_rate_index

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().

const int8_t* DCAContext::channel_order_tab

channel reordering table, lfe and non lfe

Definition at line 109 of file dcaenc.c.

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

int DCAContext::copy_history

copy history

Definition at line 375 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::crc_present

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().

int DCAContext::dialog_norm

dialog normalisation parameter

Definition at line 379 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::downmix

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().

int DCAContext::dynrange

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().

int DCAContext::dynrange_coef

dynamic range coefficient

Definition at line 405 of file dcadec.c.

Referenced by dca_subframe_header().

int DCAContext::ext_coding

extended coding flag

Definition at line 368 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::ext_descr

extension audio descriptor flag

Definition at line 367 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::frame_size

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().

int DCAContext::frame_type

type of the current frame

Definition at line 352 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::front_sum

front sum/difference flag

Definition at line 377 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::hdcd

source material is mastered in HDCD

Definition at line 366 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::header_crc

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().

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().

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().

int DCAContext::lfe

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().

int DCAContext::lfe_channel

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 409 of file dcadec.c.

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

int DCAContext::lfe_offset

Definition at line 108 of file dcaenc.c.

Referenced by encode_frame(), and encode_init().

int DCAContext::lfe_scale_factor

Definition at line 410 of file dcadec.c.

Referenced by dca_subframe_header(), and put_subframe().

int DCAContext::lfe_state

Definition at line 107 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

int DCAContext::multirate_inter

multirate interpolator switch

Definition at line 373 of file dcadec.c.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

int DCAContext::num_channel

Definition at line 106 of file dcaenc.c.

Referenced by encode_init(), and put_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().

PutBitContext DCAContext::pb

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 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().

int DCAContext::predictor_history

predictor history flag

Definition at line 371 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

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().

int DCAContext::sample_blocks

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().

int DCAContext::sample_rate

audio sampling rate

Definition at line 358 of file dcadec.c.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

int DCAContext::sample_rate_code

Definition at line 100 of file dcaenc.c.

Referenced by encode_init(), and put_frame_header().

int DCAContext::samples_deficit

deficit sample count

Definition at line 353 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::scale_factor

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().

int DCAContext::source_pcm_res

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 96 of file dcaenc.c.

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

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 385 of file dcadec.c.

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

int DCAContext::subframes

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().

int DCAContext::surround_sum

surround sum/difference flag

Definition at line 378 of file dcadec.c.

Referenced by dca_parse_frame_header().

int DCAContext::timestamp

embedded time stamp flag

Definition at line 364 of file dcadec.c.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

int DCAContext::total_channels

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().

int DCAContext::version
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().


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