38 #define DCA_PRIM_CHANNELS_MAX (7) 39 #define DCA_ABITS_MAX (32) 40 #define DCA_SUBSUBFRAMES_MAX (4) 41 #define DCA_SUBFRAMES_MAX (16) 42 #define DCA_BLOCKS_MAX (16) 43 #define DCA_LFE_MAX (3) 45 #define DCA_PRIM_CHANNELS_MAX (7) 46 #define DCA_ABITS_MAX (32) 47 #define DCA_SUBSUBFRAMES_MAX (4) 48 #define DCA_SUBFRAMES_MAX (16) 49 #define DCA_BLOCKS_MAX (16) 50 #define DCA_LFE_MAX (3) 51 #define DCA_XLL_FBANDS_MAX (4) 52 #define DCA_XLL_SEGMENTS_MAX (16) 53 #define DCA_XLL_CHSETS_MAX (16) 54 #define DCA_XLL_CHANNELS_MAX (16) 55 #define DCA_XLL_AORDER_MAX (15) 58 #define DCA_XLL_DMIX_NCOEFFS_MAX (18) 60 #define DCA_MAX_FRAME_SIZE 16384 61 #define DCA_MAX_EXSS_HEADER_SIZE 4096 63 #define DCA_BUFFER_PADDING_SIZE 1024 127 float dct4_coeff[32][32];
128 float dct2_coeff[32][32];
277 int mix_config_num_ch[4];
int ext_descr
extension audio descriptor flag
int ff_dca_xll_decode_header(DCAContext *s)
int crc_present
crc is present in the bitstream
This structure describes decoded (raw) audio or video data.
int timestamp
embedded time stamp flag
int amode
audio channels arrangement
lossless extension in ExSS
FmtConvertContext fmt_conv
int samples_deficit
deficit sample count
#define DECLARE_ALIGNED(n, t, v)
uint8_t core_downmix
embedded downmix coefficients available
#define DCA_MAX_FRAME_SIZE
int dynrange
embedded dynamic range flag
int version
encoder software revision
int xll_bits4ch_mask
channel position mask
#define DCA_XLL_DMIX_NCOEFFS_MAX
int xll_channels
total number of channels (in all channel sets)
#define DCA_MAX_EXSS_HEADER_SIZE
int xll_nch_sets
number of channel sets per frame
int xch_base_channel
index of first (only) channel containing XCH data
int xll_residual_channels
number of residual channels
unsigned int xll_sample_buf_size
int dca_buffer_size
how much data is in the dca_buffer
96/24 extension in core substream
int header_crc
header crc check bytes
int sample_rate
audio sampling rate
bitstream reader API header.
int lfe
low frequency effects flag
int predictor_history
predictor history flag
int dynrange_coef
dynamic range coefficient
#define DCA_XLL_CHANNELS_MAX
int hdcd
source material is mastered in HDCD
int xll_log_smpl_in_seg
supposedly this is "nBits4SamplLoci"
#define DCA_XLL_FBANDS_MAX
int mix_metadata
mixing metadata present
#define DCA_XLL_CHSETS_MAX
core in ExSS (extension substream)
int debug_flag
used for suppressing repeated error messages output
#define DCA_BUFFER_PADDING_SIZE
#define DCA_XLL_SEGMENTS_MAX
const int8_t * channel_order_tab
channel reordering table, lfe and non lfe
common internal API header
int front_sum
front sum/difference flag
int xch_disable
whether the XCh extension should be decoded or not
int source_pcm_res
source pcm resolution
low bitrate component in ExSS
XXCh channels extension in ExSS.
av_export const uint32_t avpriv_dca_sample_rates[16]
int surround_sum
surround sum/difference flag
int ff_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst, int max_size)
Convert bitstream to one representation based on sync marker.
int multirate_inter
multirate interpolator switch
uint8_t core_downmix_amode
audio channel arrangement of embedded downmix
int ff_dca_xll_decode_navi(DCAContext *s, int asset_end)
int joint_huff
joint subband scale factors codebook
int bit_rate
transmission bit rate
int xch_present
XCh extension present and valid.
int core_ext_mask
present extensions in the core substream
int ff_dca_xll_decode_audio(DCAContext *s, AVFrame *frame)
Libavcodec external API header.
int aux_data
auxiliary data flag
int ext_coding
extended coding flag
main external API structure.
int copy_history
copy history
int xll_bits4seg_size
number of bits used to read segment size
Describe the class of an AVClass context structure.
int exss_ext_mask
Non-core extensions.
extended bitrate extension in ExSS
int sample_blocks
number of PCM sample blocks
DCAAudioHeader audio_header
#define DCA_SUBFRAMES_MAX
int xll_segments
number of segments per frame
int num_mix_configs
number of mix out configurations
int xll_banddata_crc
presence of CRC16 within each frequency band
uint8_t * extra_channels_buffer
int dialog_norm
dialog normalisation parameter
int xll_smpl_in_seg
samples in segment per one frequency band for the first channel set
int bit_rate_index
transmission bit rate index
void ff_dca_exss_parse_header(DCAContext *s)
Parse extension substream header (HD)
QMF64_table * qmf64_table
XCh channel extension in core substream.
int frame_size
primary frame byte size
int aspf
audio sync word insertion flag
#define DCA_XLL_AORDER_MAX
#define SAMPLES_PER_SUBBAND
unsigned int extra_channels_buffer_size
#define DCA_PRIM_CHANNELS_MAX
int static_fields
static fields present
int frame_type
type of the current frame
XXCh channels extension in core substream.