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 122 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 126 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 129 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 132 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 135 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 138 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 141 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 143 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 147 of file mlpdec.c.

Referenced by read_access_unit(), and read_matrix_params().

int MLPDecodeContext::filter_changed[MAX_CHANNELS][NUM_FILTERS]

Definition at line 148 of file mlpdec.c.

Referenced by read_access_unit(), and read_filter_params().

int8_t MLPDecodeContext::noise_buffer[MAX_BLOCKSIZE_POW2]

Definition at line 150 of file mlpdec.c.

Referenced by fill_noise_buffer(), and rematrix_channels().

int8_t MLPDecodeContext::bypassed_lsbs[MAX_BLOCKSIZE][MAX_CHANNELS]

Definition at line 151 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

Definition at line 154 of file mlpdec.c.

Referenced by filter_channel(), and mlp_decode_init().


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