FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
DCAXllChSet Struct Reference

#include <dca_xll.h>

Data Fields

int nchannels
 Number of channels in the channel set (N) More...
 
int residual_encode
 Residual encoding mask (0 - residual, 1 - full channel) More...
 
int pcm_bit_res
 PCM bit resolution (variable) More...
 
int storage_bit_res
 Storage bit resolution (16 or 24) More...
 
int freq
 Original sampling frequency (max. 96000 Hz) More...
 
int primary_chset
 Primary channel set flag. More...
 
int dmix_coeffs_present
 Downmix coefficients present in stream. More...
 
int dmix_embedded
 Downmix already performed by encoder. More...
 
int dmix_type
 Primary channel set downmix type. More...
 
int hier_chset
 Whether the channel set is part of a hierarchy. More...
 
int hier_ofs
 Number of preceding channels in a hierarchy (M) More...
 
int dmix_coeff [DCA_XLL_DMIX_COEFFS_MAX]
 Downmixing coefficients. More...
 
int dmix_scale [DCA_XLL_DMIX_SCALES_MAX]
 Downmixing scales. More...
 
int dmix_scale_inv [DCA_XLL_DMIX_SCALES_MAX]
 Inverse downmixing scales. More...
 
int ch_mask
 Channel mask for set. More...
 
int ch_remap [DCA_XLL_CHANNELS_MAX]
 Channel to speaker map. More...
 
int nfreqbands
 Number of frequency bands (1 or 2) More...
 
int nabits
 Number of bits to read bit allocation coding parameter. More...
 
DCAXllBand bands [DCA_XLL_BANDS_MAX]
 Frequency bands. More...
 
int seg_common
 Segment type. More...
 
int rice_code_flag [DCA_XLL_CHANNELS_MAX]
 Rice coding flag. More...
 
int bitalloc_hybrid_linear [DCA_XLL_CHANNELS_MAX]
 Binary code length for isolated samples. More...
 
int bitalloc_part_a [DCA_XLL_CHANNELS_MAX]
 Coding parameter for part A of segment. More...
 
int bitalloc_part_b [DCA_XLL_CHANNELS_MAX]
 Coding parameter for part B of segment. More...
 
int nsamples_part_a [DCA_XLL_CHANNELS_MAX]
 Number of samples in part A of segment. More...
 
int32_t deci_history [DCA_XLL_CHANNELS_MAX][DCA_XLL_DECI_HISTORY_MAX]
 Decimator history for frequency band 1. More...
 
unsigned int sample_size [DCA_XLL_SAMPLE_BUFFERS_MAX]
 
int32_tsample_buffer [DCA_XLL_SAMPLE_BUFFERS_MAX]
 

Detailed Description

Definition at line 64 of file dca_xll.h.

Field Documentation

int DCAXllChSet::nchannels
int DCAXllChSet::residual_encode

Residual encoding mask (0 - residual, 1 - full channel)

Definition at line 67 of file dca_xll.h.

Referenced by chs_parse_header(), combine_residual_frame(), force_lossy_output(), and parse_sub_headers().

int DCAXllChSet::pcm_bit_res

PCM bit resolution (variable)

Definition at line 68 of file dca_xll.h.

Referenced by chs_parse_header(), combine_residual_frame(), and ff_dca_xll_filter_frame().

int DCAXllChSet::storage_bit_res

Storage bit resolution (16 or 24)

Definition at line 69 of file dca_xll.h.

Referenced by chs_parse_header(), and ff_dca_xll_filter_frame().

int DCAXllChSet::freq

Original sampling frequency (max. 96000 Hz)

Definition at line 70 of file dca_xll.h.

Referenced by chs_parse_header(), combine_residual_frame(), dcadec_decode_frame(), and ff_dca_xll_filter_frame().

int DCAXllChSet::primary_chset

Primary channel set flag.

Definition at line 72 of file dca_xll.h.

Referenced by chs_parse_header(), is_hier_dmix_chset(), and parse_dmix_coeffs().

int DCAXllChSet::dmix_coeffs_present

Downmix coefficients present in stream.

Definition at line 73 of file dca_xll.h.

Referenced by chs_parse_header().

int DCAXllChSet::dmix_embedded

Downmix already performed by encoder.

Definition at line 74 of file dca_xll.h.

Referenced by chs_parse_header(), ff_dca_xll_filter_frame(), and is_hier_dmix_chset().

int DCAXllChSet::dmix_type

Primary channel set downmix type.

Definition at line 75 of file dca_xll.h.

Referenced by chs_parse_header(), ff_dca_xll_filter_frame(), and parse_dmix_coeffs().

int DCAXllChSet::hier_chset

Whether the channel set is part of a hierarchy.

Definition at line 76 of file dca_xll.h.

Referenced by chs_parse_header(), find_next_hier_dmix_chset(), is_hier_dmix_chset(), parse_sub_headers(), scale_down_mix(), and undo_down_mix().

int DCAXllChSet::hier_ofs

Number of preceding channels in a hierarchy (M)

Definition at line 77 of file dca_xll.h.

Referenced by combine_residual_frame(), parse_dmix_coeffs(), parse_sub_headers(), prescale_down_mix(), scale_down_mix(), and undo_down_mix().

int DCAXllChSet::dmix_coeff[DCA_XLL_DMIX_COEFFS_MAX]

Downmixing coefficients.

Definition at line 78 of file dca_xll.h.

Referenced by ff_dca_xll_filter_frame(), parse_dmix_coeffs(), prescale_down_mix(), and undo_down_mix().

int DCAXllChSet::dmix_scale[DCA_XLL_DMIX_SCALES_MAX]

Downmixing scales.

Definition at line 79 of file dca_xll.h.

Referenced by parse_dmix_coeffs(), prescale_down_mix(), and scale_down_mix().

int DCAXllChSet::dmix_scale_inv[DCA_XLL_DMIX_SCALES_MAX]

Inverse downmixing scales.

Definition at line 80 of file dca_xll.h.

Referenced by combine_residual_frame(), parse_dmix_coeffs(), and prescale_down_mix().

int DCAXllChSet::ch_mask

Channel mask for set.

Definition at line 81 of file dca_xll.h.

Referenced by chs_parse_header().

int DCAXllChSet::ch_remap[DCA_XLL_CHANNELS_MAX]

Channel to speaker map.

Definition at line 82 of file dca_xll.h.

Referenced by chs_assemble_freq_bands(), chs_filter_band_data(), chs_parse_header(), combine_residual_frame(), and force_lossy_output().

int DCAXllChSet::nfreqbands
int DCAXllChSet::nabits

Number of bits to read bit allocation coding parameter.

Definition at line 85 of file dca_xll.h.

Referenced by chs_parse_band_data(), and chs_parse_header().

DCAXllBand DCAXllChSet::bands[DCA_XLL_BANDS_MAX]
int DCAXllChSet::seg_common

Segment type.

Definition at line 90 of file dca_xll.h.

Referenced by chs_parse_band_data().

int DCAXllChSet::rice_code_flag[DCA_XLL_CHANNELS_MAX]

Rice coding flag.

Definition at line 91 of file dca_xll.h.

Referenced by chs_parse_band_data().

int DCAXllChSet::bitalloc_hybrid_linear[DCA_XLL_CHANNELS_MAX]

Binary code length for isolated samples.

Definition at line 92 of file dca_xll.h.

Referenced by chs_parse_band_data().

int DCAXllChSet::bitalloc_part_a[DCA_XLL_CHANNELS_MAX]

Coding parameter for part A of segment.

Definition at line 93 of file dca_xll.h.

Referenced by chs_parse_band_data().

int DCAXllChSet::bitalloc_part_b[DCA_XLL_CHANNELS_MAX]

Coding parameter for part B of segment.

Definition at line 94 of file dca_xll.h.

Referenced by chs_parse_band_data().

int DCAXllChSet::nsamples_part_a[DCA_XLL_CHANNELS_MAX]

Number of samples in part A of segment.

Definition at line 95 of file dca_xll.h.

Referenced by chs_parse_band_data().

Decimator history for frequency band 1.

Definition at line 98 of file dca_xll.h.

Referenced by chs_assemble_freq_bands(), chs_clear_band_data(), chs_parse_band_data(), scale_down_mix(), and undo_down_mix().

unsigned int DCAXllChSet::sample_size[DCA_XLL_SAMPLE_BUFFERS_MAX]
int32_t* DCAXllChSet::sample_buffer[DCA_XLL_SAMPLE_BUFFERS_MAX]

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