FFmpeg
Data Fields
MLPDecodeContext Struct Reference

Data Fields

AVCodecContextavctx
 
int is_major_sync_unit
 Current access unit being read has a major sync. More...
 
int major_sync_header_size
 Size of the major sync unit, in bytes. More...
 
uint8_t params_valid
 Set if a valid major sync block has been read. Otherwise no decoding is possible. More...
 
uint8_t num_substreams
 Number of substreams contained within this stream. More...
 
uint8_t max_decoded_substream
 Index of the last substream to decode - further substreams are skipped. More...
 
uint8_t needs_reordering
 Stream needs channel reordering to comply with FFmpeg's channel order. More...
 
int access_unit_size
 number of PCM samples contained in each frame More...
 
int access_unit_size_pow2
 next power of two above the number of samples in each frame More...
 
SubStream substream [MAX_SUBSTREAMS]
 
int matrix_changed
 
int filter_changed [MAX_CHANNELS][NUM_FILTERS]
 
int8_t noise_buffer [MAX_BLOCKSIZE_POW2]
 
int8_t bypassed_lsbs [MAX_BLOCKSIZE][MAX_CHANNELS]
 
int32_t sample_buffer [MAX_BLOCKSIZE][MAX_CHANNELS]
 
MLPDSPContext dsp
 

Detailed Description

Definition at line 133 of file mlpdec.c.

Field Documentation

◆ avctx

AVCodecContext* MLPDecodeContext::avctx

◆ is_major_sync_unit

int MLPDecodeContext::is_major_sync_unit

Current access unit being read has a major sync.

Definition at line 137 of file mlpdec.c.

Referenced by read_access_unit().

◆ major_sync_header_size

int MLPDecodeContext::major_sync_header_size

Size of the major sync unit, in bytes.

Definition at line 140 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

◆ params_valid

uint8_t MLPDecodeContext::params_valid

Set if a valid major sync block has been read. Otherwise no decoding is possible.

Definition at line 143 of file mlpdec.c.

Referenced by mlp_decode_flush(), read_access_unit(), and read_major_sync().

◆ num_substreams

uint8_t MLPDecodeContext::num_substreams

Number of substreams contained within this stream.

Definition at line 146 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

◆ max_decoded_substream

uint8_t MLPDecodeContext::max_decoded_substream

Index of the last substream to decode - further substreams are skipped.

Definition at line 149 of file mlpdec.c.

Referenced by mlp_decode_flush(), read_access_unit(), read_decoding_params(), read_major_sync(), and read_restart_header().

◆ needs_reordering

uint8_t MLPDecodeContext::needs_reordering

Stream needs channel reordering to comply with FFmpeg's channel order.

Definition at line 152 of file mlpdec.c.

Referenced by read_major_sync(), and read_restart_header().

◆ access_unit_size

int MLPDecodeContext::access_unit_size

number of PCM samples contained in each frame

Definition at line 155 of file mlpdec.c.

Referenced by read_block_data(), read_decoding_params(), and read_major_sync().

◆ access_unit_size_pow2

int MLPDecodeContext::access_unit_size_pow2

next power of two above the number of samples in each frame

Definition at line 157 of file mlpdec.c.

Referenced by fill_noise_buffer(), output_data(), and read_major_sync().

◆ substream

SubStream MLPDecodeContext::substream[MAX_SUBSTREAMS]

◆ matrix_changed

int MLPDecodeContext::matrix_changed

Definition at line 161 of file mlpdec.c.

Referenced by read_access_unit(), and read_matrix_params().

◆ filter_changed

int MLPDecodeContext::filter_changed[MAX_CHANNELS][NUM_FILTERS]

Definition at line 162 of file mlpdec.c.

Referenced by read_access_unit(), and read_filter_params().

◆ noise_buffer

int8_t MLPDecodeContext::noise_buffer[MAX_BLOCKSIZE_POW2]

Definition at line 164 of file mlpdec.c.

Referenced by fill_noise_buffer(), and output_data().

◆ bypassed_lsbs

int8_t MLPDecodeContext::bypassed_lsbs[MAX_BLOCKSIZE][MAX_CHANNELS]

Definition at line 165 of file mlpdec.c.

Referenced by output_data(), read_block_data(), and read_huff_channels().

◆ sample_buffer

int32_t MLPDecodeContext::sample_buffer[MAX_BLOCKSIZE][MAX_CHANNELS]

◆ dsp

MLPDSPContext MLPDecodeContext::dsp

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