MLPDecodeContext Struct Reference
Collaboration diagram for MLPDecodeContext:
Collaboration graph

Data Fields

AVCodecContextavctx
 
int is_major_sync_unit
 Current access unit being read has a major sync. 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 119 of file mlpdec.c.

Field Documentation

int MLPDecodeContext::access_unit_size

number of PCM samples contained in each frame

Definition at line 138 of file mlpdec.c.

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

int MLPDecodeContext::access_unit_size_pow2

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

Definition at line 140 of file mlpdec.c.

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

int8_t MLPDecodeContext::bypassed_lsbs[MAX_BLOCKSIZE][MAX_CHANNELS]

Definition at line 148 of file mlpdec.c.

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

MLPDSPContext MLPDecodeContext::dsp

Definition at line 151 of file mlpdec.c.

Referenced by filter_channel(), and mlp_decode_init().

int MLPDecodeContext::filter_changed[MAX_CHANNELS][NUM_FILTERS]

Definition at line 145 of file mlpdec.c.

Referenced by read_access_unit(), and read_filter_params().

int MLPDecodeContext::is_major_sync_unit

Current access unit being read has a major sync.

Definition at line 123 of file mlpdec.c.

Referenced by read_access_unit().

int MLPDecodeContext::matrix_changed

Definition at line 144 of file mlpdec.c.

Referenced by read_access_unit(), and read_matrix_params().

uint8_t MLPDecodeContext::max_decoded_substream

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

Definition at line 132 of file mlpdec.c.

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

uint8_t MLPDecodeContext::needs_reordering

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

Definition at line 135 of file mlpdec.c.

Referenced by read_major_sync(), and read_restart_header().

int8_t MLPDecodeContext::noise_buffer[MAX_BLOCKSIZE_POW2]

Definition at line 147 of file mlpdec.c.

Referenced by fill_noise_buffer(), and rematrix_channels().

uint8_t MLPDecodeContext::num_substreams

Number of substreams contained within this stream.

Definition at line 129 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

uint8_t MLPDecodeContext::params_valid

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

Definition at line 126 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

int32_t MLPDecodeContext::sample_buffer[MAX_BLOCKSIZE][MAX_CHANNELS]

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