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

Data Fields

AVCodecContextavctx
 
int is_major_sync_unit
 Current access unit being read has a major sync.
 
uint8_t params_valid
 Set if a valid major sync block has been read. Otherwise no decoding is possible.
 
uint8_t num_substreams
 Number of substreams contained within this stream.
 
uint8_t max_decoded_substream
 Index of the last substream to decode - further substreams are skipped.
 
uint8_t needs_reordering
 Stream needs channel reordering to comply with FFmpeg's channel order.
 
int access_unit_size
 number of PCM samples contained in each frame
 
int access_unit_size_pow2
 next power of two above the number of samples in each frame
 
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 129 of file mlpdec.c.

Field Documentation

AVCodecContext* MLPDecodeContext::avctx
int MLPDecodeContext::is_major_sync_unit

Current access unit being read has a major sync.

Definition at line 133 of file mlpdec.c.

Referenced by read_access_unit().

uint8_t MLPDecodeContext::params_valid

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

Definition at line 136 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

uint8_t MLPDecodeContext::num_substreams

Number of substreams contained within this stream.

Definition at line 139 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

uint8_t MLPDecodeContext::max_decoded_substream

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

Definition at line 142 of file mlpdec.c.

Referenced by read_access_unit(), read_decoding_params(), 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 145 of file mlpdec.c.

Referenced by read_major_sync(), and read_restart_header().

int MLPDecodeContext::access_unit_size

number of PCM samples contained in each frame

Definition at line 148 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 150 of file mlpdec.c.

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

SubStream MLPDecodeContext::substream[MAX_SUBSTREAMS]
int MLPDecodeContext::matrix_changed

Definition at line 154 of file mlpdec.c.

Referenced by read_access_unit(), and read_matrix_params().

int MLPDecodeContext::filter_changed[MAX_CHANNELS][NUM_FILTERS]

Definition at line 155 of file mlpdec.c.

Referenced by read_access_unit(), and read_filter_params().

int8_t MLPDecodeContext::noise_buffer[MAX_BLOCKSIZE_POW2]

Definition at line 157 of file mlpdec.c.

Referenced by fill_noise_buffer(), and rematrix_channels().

int8_t MLPDecodeContext::bypassed_lsbs[MAX_BLOCKSIZE][MAX_CHANNELS]

Definition at line 158 of file mlpdec.c.

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

int32_t MLPDecodeContext::sample_buffer[MAX_BLOCKSIZE][MAX_CHANNELS]
MLPDSPContext MLPDecodeContext::dsp

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