42 #define MAX_CHANNELS 64
43 #define MAX_ELEM_ID 16
45 #define TNS_MAX_ORDER 20
46 #define MAX_LTP_LONG_SFB 40
84 #define IS_CODEBOOK_UNSIGNED(x) ((x - 1) & 10)
127 #define MAX_PREDICTORS 672
129 #define SCALE_DIV_512 36
130 #define SCALE_ONE_POS 140
131 #define SCALE_MAX_POS 255
132 #define SCALE_MAX_DIFF 60
133 #define SCALE_DIFF_ZERO 60
134 #define POW_SF2_ZERO 200
152 uint8_t use_kb_window[2];
154 uint8_t group_len[8];
164 uint8_t prediction_used[41];
224 int band_type_run_end[120];
242 uint8_t ms_mask[128];
int predictor_initialized
static const int16_t coeffs[28]
#define DECLARE_ALIGNED(n, t, v)
int common_window
Set if channels share a common 'IndividualChannelStream' in bitstream.
Dynamic Range Control - decoded from the bitstream but not processed further.
Spectral data are scaled white noise not coded in the bitstream.
int band_incr
Number of DRC bands greater than 1 having DRC info.
const uint16_t * swb_offset
table of offsets to the lowest spectral coefficient of a scalefactor band, sfb, for a particular wind...
Output configuration under trial specified by an inband PCE.
CouplingPoint
The point during decoding at which channel coupling is applied.
int num_coupled
number of target elements
Scalefactor data are intensity stereo positions.
Output configuration set in a global header but not yet locked.
SpectralBandReplication sbr
FmtConvertContext fmt_conv
Spectral Band Replication definitions and structures.
uint8_t max_sfb
number of scalefactor bands per group
int num_swb
number of scalefactor window bands
int prog_ref_level
A reference level for the long-term program audio level for all channels combined.
struct AACContext AACContext
Output configuration locked in place.
int predictor_reset_group
int pce_instance_tag
Indicates with which program the DRC info is associated.
int interpolation_scheme
Indicates the interpolation scheme used in the SBR QMF domain.
static int output_data(MLPDecodeContext *m, unsigned int substr, void *data, int *got_frame_ptr)
Write the audio data into the output buffer.
int is_saved
Set if elements have stored overlap from previous frame.
main external API structure.
IndividualChannelStream ics
Spectral data are coded with an escape sequence.
const uint8_t * swb_sizes
table of scalefactor band sizes for a particular window
OCStatus
Output configuration status.
int ms_mode
Signals mid/side stereo flags coding mode (used by encoder)
Output configuration under trial specified by a frame header.
Scalefactor data are intensity stereo positions.
DynamicRangeControl che_drc
Single Channel Element - used for both SCE and LFE elements.
Individual Channel Stream.
channel element - generic struct for SCE/CPE/CCE/LFE
Scalefactors and spectral data are all zero.
Spectral Band Replication.
This and later band types encode two values (rather than four) with one code word.