Libav
Data Fields
DCAContext Struct Reference

#include <dca.h>

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...
 
DCAAudioHeader audio_header
 
int subsubframes [DCA_SUBFRAMES_MAX]
 number of subsubframes More...
 
int partial_samples [DCA_SUBFRAMES_MAX]
 partial subsubframe samples count 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...
 
float lfe_data [2 *DCA_LFE_MAX *(DCA_BLOCKS_MAX+4)]
 Low frequency effect data. More...
 
int lfe_scale_factor
 
float raXin [32]
 
DCAChan dca_chan [DCA_PRIM_CHANNELS_MAX]
 
int output
 type of output More...
 
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 exss_ext_mask
 Non-core extensions. 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 xll_disable
 
int xll_nch_sets
 number of channel sets per frame More...
 
int xll_channels
 total number of channels (in all channel sets) More...
 
int xll_residual_channels
 number of residual channels More...
 
int xll_segments
 number of segments per frame More...
 
int xll_log_smpl_in_seg
 supposedly this is "nBits4SamplLoci" More...
 
int xll_smpl_in_seg
 samples in segment per one frequency band for the first channel set More...
 
int xll_bits4seg_size
 number of bits used to read segment size More...
 
int xll_banddata_crc
 presence of CRC16 within each frequency band More...
 
int xll_scalable_lsb
 
int xll_bits4ch_mask
 channel position mask More...
 
int xll_fixed_lsb_width
 
XllChSetSubHeader xll_chsets [DCA_XLL_CHSETS_MAX]
 
XllNavi xll_navi
 
int * xll_sample_buf
 
unsigned int xll_sample_buf_size
 
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 one2one_map_chtospkr
 
int debug_flag
 used for suppressing repeated error messages output More...
 
AVFloatDSPContext fdsp
 
FFTContext imdct
 
SynthFilterContext synth
 
DCADSPContext dcadsp
 
QMF64_tableqmf64_table
 
FmtConvertContext fmt_conv
 

Detailed Description

Definition at line 174 of file dca.h.

Field Documentation

◆ class

AVClass* DCAContext::class

class for AVOptions

Definition at line 175 of file dca.h.

◆ avctx

AVCodecContext* DCAContext::avctx

◆ frame_type

int DCAContext::frame_type

type of the current frame

Definition at line 178 of file dca.h.

Referenced by dca_parse_frame_header().

◆ samples_deficit

int DCAContext::samples_deficit

deficit sample count

Definition at line 179 of file dca.h.

Referenced by dca_parse_frame_header().

◆ crc_present

int DCAContext::crc_present

crc is present in the bitstream

Definition at line 180 of file dca.h.

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 181 of file dca.h.

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

◆ frame_size

int DCAContext::frame_size

primary frame byte size

Definition at line 182 of file dca.h.

Referenced by dca_parse_frame_header(), and scan_for_extensions().

◆ amode

int DCAContext::amode

audio channels arrangement

Definition at line 183 of file dca.h.

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

◆ sample_rate

int DCAContext::sample_rate

audio sampling rate

Definition at line 184 of file dca.h.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

◆ bit_rate

int DCAContext::bit_rate

transmission bit rate

Definition at line 185 of file dca.h.

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 186 of file dca.h.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

◆ dynrange

int DCAContext::dynrange

embedded dynamic range flag

Definition at line 188 of file dca.h.

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

◆ timestamp

int DCAContext::timestamp

embedded time stamp flag

Definition at line 189 of file dca.h.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

◆ aux_data

int DCAContext::aux_data

auxiliary data flag

Definition at line 190 of file dca.h.

Referenced by dca_parse_frame_header(), and dca_subframe_footer().

◆ hdcd

int DCAContext::hdcd

source material is mastered in HDCD

Definition at line 191 of file dca.h.

Referenced by dca_parse_frame_header().

◆ ext_descr

int DCAContext::ext_descr

extension audio descriptor flag

Definition at line 192 of file dca.h.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

◆ ext_coding

int DCAContext::ext_coding

extended coding flag

Definition at line 193 of file dca.h.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

◆ aspf

int DCAContext::aspf

audio sync word insertion flag

Definition at line 194 of file dca.h.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

◆ lfe

int DCAContext::lfe

◆ predictor_history

int DCAContext::predictor_history

predictor history flag

Definition at line 196 of file dca.h.

Referenced by dca_parse_frame_header(), and dca_subsubframe().

◆ header_crc

int DCAContext::header_crc

header crc check bytes

Definition at line 197 of file dca.h.

Referenced by dca_parse_frame_header().

◆ multirate_inter

int DCAContext::multirate_inter

multirate interpolator switch

Definition at line 198 of file dca.h.

Referenced by dca_parse_frame_header(), and qmf_32_subbands().

◆ version

int DCAContext::version

encoder software revision

Definition at line 199 of file dca.h.

Referenced by dca_parse_frame_header().

◆ copy_history

int DCAContext::copy_history

copy history

Definition at line 200 of file dca.h.

Referenced by dca_parse_frame_header().

◆ source_pcm_res

int DCAContext::source_pcm_res

source pcm resolution

Definition at line 201 of file dca.h.

Referenced by dca_decode_frame(), and dca_parse_frame_header().

◆ front_sum

int DCAContext::front_sum

front sum/difference flag

Definition at line 202 of file dca.h.

Referenced by dca_parse_frame_header().

◆ surround_sum

int DCAContext::surround_sum

surround sum/difference flag

Definition at line 203 of file dca.h.

Referenced by dca_parse_frame_header().

◆ dialog_norm

int DCAContext::dialog_norm

dialog normalisation parameter

Definition at line 204 of file dca.h.

Referenced by dca_parse_frame_header().

◆ audio_header

DCAAudioHeader DCAContext::audio_header

◆ subsubframes

int DCAContext::subsubframes[DCA_SUBFRAMES_MAX]

number of subsubframes

Definition at line 210 of file dca.h.

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 211 of file dca.h.

Referenced by dca_subframe_header().

◆ downmix_coef

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

stereo downmix coefficients

Definition at line 212 of file dca.h.

Referenced by dca_filter_channels(), and set_channel_layout().

◆ dynrange_coef

int DCAContext::dynrange_coef

dynamic range coefficient

Definition at line 213 of file dca.h.

Referenced by dca_subframe_header().

◆ core_downmix

uint8_t DCAContext::core_downmix

embedded downmix coefficients available

Definition at line 218 of file dca.h.

Referenced by dca_subframe_footer(), and set_channel_layout().

◆ core_downmix_amode

uint8_t DCAContext::core_downmix_amode

audio channel arrangement of embedded downmix

Definition at line 219 of file dca.h.

Referenced by dca_subframe_footer(), and set_channel_layout().

◆ core_downmix_codes

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

embedded downmix coefficients (9-bit codes)

Definition at line 220 of file dca.h.

Referenced by dca_subframe_footer(), and set_channel_layout().

◆ lfe_data

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

Low frequency effect data.

Definition at line 223 of file dca.h.

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

◆ lfe_scale_factor

int DCAContext::lfe_scale_factor

Definition at line 224 of file dca.h.

Referenced by dca_subframe_header().

◆ raXin

float DCAContext::raXin[32]

Definition at line 227 of file dca.h.

Referenced by qmf_32_subbands().

◆ dca_chan

DCAChan DCAContext::dca_chan[DCA_PRIM_CHANNELS_MAX]

◆ output

int DCAContext::output

type of output

Definition at line 231 of file dca.h.

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

◆ samples_chanptr

float* DCAContext::samples_chanptr[DCA_PRIM_CHANNELS_MAX+1]

Definition at line 233 of file dca.h.

Referenced by dca_decode_frame(), and dca_filter_channels().

◆ extra_channels

float* DCAContext::extra_channels[DCA_PRIM_CHANNELS_MAX+1]

Definition at line 234 of file dca.h.

Referenced by dca_decode_frame().

◆ extra_channels_buffer

uint8_t* DCAContext::extra_channels_buffer

Definition at line 235 of file dca.h.

Referenced by dca_decode_end(), and dca_decode_frame().

◆ extra_channels_buffer_size

unsigned int DCAContext::extra_channels_buffer_size

Definition at line 236 of file dca.h.

Referenced by dca_decode_frame().

◆ dca_buffer

Definition at line 238 of file dca.h.

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 239 of file dca.h.

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

◆ channel_order_tab

const int8_t* DCAContext::channel_order_tab

channel reordering table, lfe and non lfe

Definition at line 241 of file dca.h.

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

◆ gb

GetBitContext DCAContext::gb

◆ current_subframe

int DCAContext::current_subframe

◆ current_subsubframe

int DCAContext::current_subsubframe

Definition at line 245 of file dca.h.

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 247 of file dca.h.

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

◆ exss_ext_mask

int DCAContext::exss_ext_mask

Non-core extensions.

Definition at line 248 of file dca.h.

Referenced by dca_decode_frame(), ff_dca_exss_parse_header(), and lfe_interpolation_fir().

◆ xch_present

int DCAContext::xch_present

XCh extension present and valid.

Definition at line 251 of file dca.h.

Referenced by dca_decode_frame(), scan_for_extensions(), and set_channel_layout().

◆ xch_base_channel

int DCAContext::xch_base_channel

index of first (only) channel containing XCH data

Definition at line 252 of file dca.h.

Referenced by dca_decode_frame(), and scan_for_extensions().

◆ xch_disable

int DCAContext::xch_disable

whether the XCh extension should be decoded or not

Definition at line 253 of file dca.h.

Referenced by dca_decode_frame(), and set_channel_layout().

◆ xll_disable

int DCAContext::xll_disable

Definition at line 256 of file dca.h.

Referenced by ff_dca_exss_parse_header().

◆ xll_nch_sets

int DCAContext::xll_nch_sets

number of channel sets per frame

Definition at line 257 of file dca.h.

Referenced by ff_dca_xll_decode_audio(), ff_dca_xll_decode_header(), and ff_dca_xll_decode_navi().

◆ xll_channels

int DCAContext::xll_channels

total number of channels (in all channel sets)

Definition at line 258 of file dca.h.

Referenced by dca_decode_frame(), ff_dca_xll_decode_audio(), and ff_dca_xll_decode_header().

◆ xll_residual_channels

int DCAContext::xll_residual_channels

number of residual channels

Definition at line 259 of file dca.h.

Referenced by dca_decode_frame(), and ff_dca_xll_decode_header().

◆ xll_segments

int DCAContext::xll_segments

number of segments per frame

Definition at line 260 of file dca.h.

Referenced by dca_decode_frame(), ff_dca_xll_decode_audio(), ff_dca_xll_decode_header(), and ff_dca_xll_decode_navi().

◆ xll_log_smpl_in_seg

int DCAContext::xll_log_smpl_in_seg

supposedly this is "nBits4SamplLoci"

Definition at line 261 of file dca.h.

Referenced by ff_dca_xll_decode_audio(), and ff_dca_xll_decode_header().

◆ xll_smpl_in_seg

int DCAContext::xll_smpl_in_seg

samples in segment per one frequency band for the first channel set

Definition at line 262 of file dca.h.

Referenced by dca_decode_frame(), ff_dca_xll_decode_audio(), and ff_dca_xll_decode_header().

◆ xll_bits4seg_size

int DCAContext::xll_bits4seg_size

number of bits used to read segment size

Definition at line 263 of file dca.h.

Referenced by ff_dca_xll_decode_header(), and ff_dca_xll_decode_navi().

◆ xll_banddata_crc

int DCAContext::xll_banddata_crc

presence of CRC16 within each frequency band

Definition at line 264 of file dca.h.

Referenced by ff_dca_xll_decode_audio(), and ff_dca_xll_decode_header().

◆ xll_scalable_lsb

int DCAContext::xll_scalable_lsb

Definition at line 265 of file dca.h.

Referenced by ff_dca_xll_decode_audio(), and ff_dca_xll_decode_header().

◆ xll_bits4ch_mask

int DCAContext::xll_bits4ch_mask

channel position mask

Definition at line 266 of file dca.h.

Referenced by ff_dca_xll_decode_header().

◆ xll_fixed_lsb_width

int DCAContext::xll_fixed_lsb_width

Definition at line 267 of file dca.h.

Referenced by ff_dca_xll_decode_header().

◆ xll_chsets

XllChSetSubHeader DCAContext::xll_chsets[DCA_XLL_CHSETS_MAX]

Definition at line 268 of file dca.h.

Referenced by dca_decode_frame(), ff_dca_xll_decode_audio(), and ff_dca_xll_decode_header().

◆ xll_navi

XllNavi DCAContext::xll_navi

Definition at line 269 of file dca.h.

Referenced by ff_dca_xll_decode_audio(), and ff_dca_xll_decode_navi().

◆ xll_sample_buf

int* DCAContext::xll_sample_buf

Definition at line 270 of file dca.h.

Referenced by dca_decode_end(), and ff_dca_xll_decode_audio().

◆ xll_sample_buf_size

unsigned int DCAContext::xll_sample_buf_size

Definition at line 271 of file dca.h.

Referenced by ff_dca_xll_decode_audio().

◆ static_fields

int DCAContext::static_fields

static fields present

Definition at line 274 of file dca.h.

Referenced by dca_exss_parse_asset_header(), and ff_dca_exss_parse_header().

◆ mix_metadata

int DCAContext::mix_metadata

mixing metadata present

Definition at line 275 of file dca.h.

Referenced by dca_exss_parse_asset_header(), and ff_dca_exss_parse_header().

◆ num_mix_configs

int DCAContext::num_mix_configs

number of mix out configurations

Definition at line 276 of file dca.h.

Referenced by dca_exss_parse_asset_header(), and ff_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 277 of file dca.h.

Referenced by dca_exss_parse_asset_header(), and ff_dca_exss_parse_header().

◆ profile

int DCAContext::profile

Definition at line 279 of file dca.h.

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

◆ one2one_map_chtospkr

int DCAContext::one2one_map_chtospkr

Definition at line 280 of file dca.h.

Referenced by dca_exss_parse_asset_header(), and ff_dca_xll_decode_header().

◆ debug_flag

int DCAContext::debug_flag

used for suppressing repeated error messages output

Definition at line 282 of file dca.h.

Referenced by dca_subframe_header(), and dca_subsubframe().

◆ fdsp

AVFloatDSPContext DCAContext::fdsp

Definition at line 283 of file dca.h.

Referenced by dca_decode_frame(), and dca_decode_init().

◆ imdct

FFTContext DCAContext::imdct

Definition at line 284 of file dca.h.

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

◆ synth

SynthFilterContext DCAContext::synth

Definition at line 285 of file dca.h.

Referenced by dca_decode_init(), and qmf_32_subbands().

◆ dcadsp

DCADSPContext DCAContext::dcadsp

Definition at line 286 of file dca.h.

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

◆ qmf64_table

QMF64_table* DCAContext::qmf64_table

Definition at line 287 of file dca.h.

Referenced by dca_decode_end(), dca_filter_channels(), and qmf_64_subbands().

◆ fmt_conv

FmtConvertContext DCAContext::fmt_conv

Definition at line 288 of file dca.h.

Referenced by dca_decode_init(), and dca_filter_channels().


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