Data Fields | |
AVCodecContext * | avctx |
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 | 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 |
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] |
Definition at line 262 of file dca.c.
audio channels arrangement
Definition at line 271 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 283 of file dca.c.
Referenced by dca_parse_frame_header(), and dca_subsubframe().
auxiliary data flag
Definition at line 279 of file dca.c.
Referenced by dca_parse_frame_header(), and dca_subframe_footer().
Definition at line 263 of file dca.c.
Referenced by dca_decode_block(), dca_decode_init(), dca_exss_parse_asset_header(), dca_exss_parse_header(), dca_filter_channels(), dca_parse_audio_coding_header(), dca_parse_frame_header(), dca_subframe_header(), and dca_subsubframe().
transmission bit rate
Definition at line 273 of file dca.c.
Referenced by dca_decode_frame(), and dca_parse_frame_header().
transmission bit rate index
Definition at line 274 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 313 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 304 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 343 of file dca.c.
Referenced by dca_decode_frame(), dca_filter_channels(), encode_frame(), and encode_init().
present extensions in the core substream
Definition at line 349 of file dca.c.
Referenced by dca_decode_frame(), and dca_exss_parse_asset_header().
crc is present in the bitstream
Definition at line 268 of file dca.c.
Referenced by dca_parse_audio_coding_header(), dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().
Definition at line 346 of file dca.c.
Referenced by dca_decode_block(), dca_parse_audio_coding_header(), dca_subframe_header(), and dca_subsubframe().
Definition at line 347 of file dca.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 340 of file dca.c.
Referenced by dca_decode_frame(), and dca_parse_frame_header().
how much data is in the dca_buffer
Definition at line 341 of file dca.c.
Referenced by dca_decode_frame(), and dca_parse_frame_header().
used for suppressing repeated error messages output
Definition at line 363 of file dca.c.
Referenced by dca_subframe_header(), and dca_subsubframe().
dialog normalisation parameter
Definition at line 293 of file dca.c.
Referenced by dca_parse_frame_header().
embedded downmix enabled
Definition at line 276 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 318 of file dca.c.
Referenced by dca_filter_channels(), and dca_subframe_header().
embedded dynamic range flag
Definition at line 277 of file dca.c.
Referenced by dca_parse_frame_header(), dca_subframe_footer(), and dca_subframe_header().
dynamic range coefficient
Definition at line 319 of file dca.c.
Referenced by dca_subframe_header().
extended coding flag
Definition at line 282 of file dca.c.
Referenced by dca_decode_frame(), and dca_parse_frame_header().
extension audio descriptor flag
Definition at line 281 of file dca.c.
Referenced by dca_decode_frame(), and dca_parse_frame_header().
Definition at line 368 of file dca.c.
Referenced by dca_decode_frame(), dca_decode_init(), and dca_subsubframe().
primary frame byte size
Definition at line 270 of file dca.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 266 of file dca.c.
Referenced by dca_parse_frame_header().
front sum/difference flag
Definition at line 291 of file dca.c.
Referenced by dca_parse_frame_header().
Definition at line 344 of file dca.c.
Referenced by dca_decode_frame(), dca_exss_parse_asset_header(), dca_exss_parse_header(), dca_parse_audio_coding_header(), dca_parse_frame_header(), dca_subframe_footer(), dca_subframe_header(), and dca_subsubframe().
int DCAContext::hdcd |
source material is mastered in HDCD
Definition at line 280 of file dca.c.
Referenced by dca_parse_frame_header().
header crc check bytes
Definition at line 286 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 321 of file dca.c.
Referenced by dca_subframe_header(), and dca_subsubframe().
int DCAContext::hist_index[DCA_PRIM_CHANNELS_MAX] |
int32_t DCAContext::history[MAX_CHANNELS][512] |
Definition at line 94 of file dcaenc.c.
Referenced by add_new_samples(), lfe_downsample(), and qmf_decompose().
Definition at line 365 of file dca.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 316 of file dca.c.
Referenced by dca_subframe_header().
int DCAContext::joint_intensity[DCA_PRIM_CHANNELS_MAX] |
joint intensity coding index
Definition at line 301 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 317 of file dca.c.
Referenced by dca_subframe_header().
int DCAContext::lfe |
low frequency effects flag
Definition at line 284 of file dca.c.
Referenced by dca_decode_frame(), dca_filter_channels(), dca_parse_frame_header(), and dca_subframe_header().
Definition at line 98 of file dcaenc.c.
Referenced by encode_frame(), encode_init(), and put_subframe().
int DCAContext::lfe_data[SUBFRAMES *SUBSUBFRAMES *4] |
float DCAContext::lfe_data[2 *DCA_LFE_MAX *(DCA_BLOCKS_MAX+4)] |
Low frequency effect data.
Definition at line 323 of file dca.c.
Referenced by dca_decode_frame(), dca_filter_channels(), dca_subframe_header(), encode_frame(), and put_subframe().
number of channels in each mix out configuration
Definition at line 359 of file dca.c.
Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().
mixing metadata present
Definition at line 357 of file dca.c.
Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().
multirate interpolator switch
Definition at line 287 of file dca.c.
Referenced by dca_parse_frame_header(), and qmf_32_subbands().
number of mix out configurations
Definition at line 358 of file dca.c.
Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().
type of output
Definition at line 333 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 310 of file dca.c.
Referenced by dca_subframe_header().
Definition at line 93 of file dcaenc.c.
Referenced by put_frame(), put_frame_header(), put_primary_audio_header(), put_sample7(), and put_subframe().
int32_t DCAContext::pcm[FFMAX(LFE_INTERPOLATION, DCA_SUBBANDS_32)] |
int DCAContext::prediction_mode[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS] |
prediction mode (ADPCM used or not)
Definition at line 311 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 312 of file dca.c.
Referenced by dca_subframe_header(), and dca_subsubframe().
predictor history flag
Definition at line 285 of file dca.c.
Referenced by dca_parse_frame_header(), and dca_subsubframe().
number of primary audio channels
Definition at line 298 of file dca.c.
Referenced by dca_decode_frame(), dca_filter_channels(), dca_parse_audio_coding_header(), dca_subframe_header(), dca_subsubframe(), encode_frame(), encode_init(), lfe_downsample(), put_primary_audio_header(), and put_subframe().
Definition at line 361 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 305 of file dca.c.
Referenced by dca_parse_audio_coding_header(), and dca_subsubframe().
float DCAContext::raXin[32] |
number of PCM sample blocks
Definition at line 269 of file dca.c.
Referenced by dca_decode_frame(), and dca_parse_frame_header().
audio sampling rate
Definition at line 272 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 337 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] |
float DCAContext::scale_bias |
output scale
Definition at line 334 of file dca.c.
Referenced by dca_decode_init(), and dca_filter_channels().
scale factors (2 if transient)
Definition at line 315 of file dca.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 306 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 303 of file dca.c.
Referenced by dca_parse_audio_coding_header(), and dca_subframe_header().
source pcm resolution
Definition at line 290 of file dca.c.
Referenced by dca_decode_frame(), and dca_parse_frame_header().
int DCAContext::start[MAX_CHANNELS] |
Definition at line 95 of file dcaenc.c.
Referenced by add_new_samples(), lfe_downsample(), and qmf_decompose().
static fields present
Definition at line 356 of file dca.c.
Referenced by dca_exss_parse_asset_header(), and dca_exss_parse_header().
int32_t DCAContext::subband[PCM_SAMPLES][MAX_CHANNELS][DCA_SUBBANDS_32] |
int DCAContext::subband_activity[DCA_PRIM_CHANNELS_MAX] |
subband activity count
Definition at line 299 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] |
float DCAContext::subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32] |
float DCAContext::subband_samples[DCA_BLOCKS_MAX][DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][8] |
float DCAContext::subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4] |
number of subframes
Definition at line 296 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 309 of file dca.c.
Referenced by dca_decode_block(), dca_subframe_header(), and dca_subsubframe().
surround sum/difference flag
Definition at line 292 of file dca.c.
Referenced by dca_parse_frame_header().
embedded time stamp flag
Definition at line 278 of file dca.c.
Referenced by dca_parse_frame_header(), and dca_subframe_footer().
number of channels including extensions
Definition at line 297 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 302 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 314 of file dca.c.
Referenced by dca_subframe_header(), and dca_subsubframe().
encoder software revision
Definition at line 288 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 300 of file dca.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 353 of file dca.c.
Referenced by dca_decode_frame().
XCh extension present and valid.
Definition at line 352 of file dca.c.
Referenced by dca_decode_frame().