Libav
|
#include <dca.h>
Data Fields | |
AVClass * | class |
class for AVOptions More... | |
AVCodecContext * | avctx |
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_t * | extra_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_table * | qmf64_table |
FmtConvertContext | fmt_conv |
AVCodecContext* DCAContext::avctx |
Definition at line 176 of file dca.h.
Referenced by dca_decode_block(), dca_decode_frame(), dca_decode_init(), dca_exss_parse_asset_header(), dca_filter_channels(), dca_parse_frame_header(), dca_subframe_footer(), dca_subframe_header(), dca_subsubframe(), ff_dca_exss_parse_header(), ff_dca_xll_decode_audio(), ff_dca_xll_decode_header(), ff_dca_xll_decode_navi(), get_dmix_coeff(), and set_channel_layout().
int DCAContext::frame_type |
type of the current frame
Definition at line 178 of file dca.h.
Referenced by dca_parse_frame_header().
int DCAContext::samples_deficit |
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
int DCAContext::hdcd |
source material is mastered in HDCD
Definition at line 191 of file dca.h.
Referenced by dca_parse_frame_header().
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().
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().
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().
int DCAContext::lfe |
low frequency effects flag
Definition at line 195 of file dca.h.
Referenced by dca_decode_frame(), dca_filter_channels(), dca_parse_frame_header(), dca_subframe_footer(), dca_subframe_header(), lfe_interpolation_fir(), and set_channel_layout().
int DCAContext::predictor_history |
predictor history flag
Definition at line 196 of file dca.h.
Referenced by dca_parse_frame_header(), and dca_subsubframe().
int DCAContext::header_crc |
header crc check bytes
Definition at line 197 of file dca.h.
Referenced by dca_parse_frame_header().
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().
int DCAContext::version |
encoder software revision
Definition at line 199 of file dca.h.
Referenced by dca_parse_frame_header().
int DCAContext::copy_history |
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().
int DCAContext::front_sum |
front sum/difference flag
Definition at line 202 of file dca.h.
Referenced by dca_parse_frame_header().
int DCAContext::surround_sum |
surround sum/difference flag
Definition at line 203 of file dca.h.
Referenced by dca_parse_frame_header().
int DCAContext::dialog_norm |
dialog normalisation parameter
Definition at line 204 of file dca.h.
Referenced by dca_parse_frame_header().
DCAAudioHeader DCAContext::audio_header |
Definition at line 207 of file dca.h.
Referenced by dca_decode_block(), dca_decode_frame(), dca_filter_channels(), dca_parse_audio_coding_header(), dca_parse_frame_header(), dca_subframe_footer(), dca_subframe_header(), dca_subsubframe(), qmf_32_subbands(), qmf_64_subbands(), scan_for_extensions(), and set_channel_layout().
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().
int DCAContext::partial_samples[DCA_SUBFRAMES_MAX] |
partial subsubframe samples count
Definition at line 211 of file dca.h.
Referenced by dca_subframe_header().
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().
int DCAContext::dynrange_coef |
dynamic range coefficient
Definition at line 213 of file dca.h.
Referenced by dca_subframe_header().
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().
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().
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().
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().
int DCAContext::lfe_scale_factor |
Definition at line 224 of file dca.h.
Referenced by dca_subframe_header().
float DCAContext::raXin[32] |
Definition at line 227 of file dca.h.
Referenced by qmf_32_subbands().
DCAChan DCAContext::dca_chan[DCA_PRIM_CHANNELS_MAX] |
Definition at line 229 of file dca.h.
Referenced by dca_filter_channels(), dca_subframe_header(), dca_subsubframe(), qmf_32_subbands(), and qmf_64_subbands().
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().
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().
float* DCAContext::extra_channels[DCA_PRIM_CHANNELS_MAX+1] |
Definition at line 234 of file dca.h.
Referenced by dca_decode_frame().
uint8_t* DCAContext::extra_channels_buffer |
Definition at line 235 of file dca.h.
Referenced by dca_decode_end(), and dca_decode_frame().
unsigned int DCAContext::extra_channels_buffer_size |
Definition at line 236 of file dca.h.
Referenced by dca_decode_frame().
uint8_t DCAContext::dca_buffer[DCA_MAX_FRAME_SIZE+DCA_MAX_EXSS_HEADER_SIZE+DCA_BUFFER_PADDING_SIZE] |
Definition at line 238 of file dca.h.
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 239 of file dca.h.
Referenced by dca_decode_frame(), dca_parse_frame_header(), and scan_for_extensions().
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().
GetBitContext DCAContext::gb |
Definition at line 242 of file dca.h.
Referenced by dca_exss_parse_asset_header(), dca_parse_audio_coding_header(), dca_parse_frame_header(), dca_subframe_footer(), dca_subframe_header(), dca_subsubframe(), ff_dca_exss_parse_header(), ff_dca_xll_decode_header(), ff_dca_xll_decode_navi(), get_dmix_coeff(), and scan_for_extensions().
int DCAContext::current_subframe |
Definition at line 244 of file dca.h.
Referenced by dca_decode_block(), dca_parse_audio_coding_header(), dca_subframe_header(), and dca_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().
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().
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().
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().
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().
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().
int DCAContext::xll_disable |
Definition at line 256 of file dca.h.
Referenced by ff_dca_exss_parse_header().
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().
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().
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().
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().
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().
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().
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().
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().
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().
int DCAContext::xll_bits4ch_mask |
channel position mask
Definition at line 266 of file dca.h.
Referenced by ff_dca_xll_decode_header().
int DCAContext::xll_fixed_lsb_width |
Definition at line 267 of file dca.h.
Referenced by ff_dca_xll_decode_header().
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().
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().
int* DCAContext::xll_sample_buf |
Definition at line 270 of file dca.h.
Referenced by dca_decode_end(), and ff_dca_xll_decode_audio().
unsigned int DCAContext::xll_sample_buf_size |
Definition at line 271 of file dca.h.
Referenced by ff_dca_xll_decode_audio().
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().
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().
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().
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().
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().
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().
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().
AVFloatDSPContext DCAContext::fdsp |
Definition at line 283 of file dca.h.
Referenced by dca_decode_frame(), and dca_decode_init().
FFTContext DCAContext::imdct |
Definition at line 284 of file dca.h.
Referenced by dca_decode_end(), dca_decode_init(), and qmf_32_subbands().
SynthFilterContext DCAContext::synth |
Definition at line 285 of file dca.h.
Referenced by dca_decode_init(), and qmf_32_subbands().
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* DCAContext::qmf64_table |
Definition at line 287 of file dca.h.
Referenced by dca_decode_end(), dca_filter_channels(), and qmf_64_subbands().
FmtConvertContext DCAContext::fmt_conv |
Definition at line 288 of file dca.h.
Referenced by dca_decode_init(), and dca_filter_channels().