FFmpeg
Data Fields
MLPDecodeContext Struct Reference

Data Fields

const AVClassclass
 
AVCodecContextavctx
 
AVChannelLayout downmix_layout
 
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 extended_substream_info
 Which substream of substreams carry 16-channel presentation. More...
 
uint8_t substream_info
 Which substream of substreams carry 2/6/8-channel presentation. 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
 
int32_t(* pack_output )(int32_t lossless_check_data, uint16_t blockpos, int32_t(*sample_buffer)[MAX_CHANNELS], void *data, uint8_t *ch_assign, int8_t *output_shift, uint8_t max_matrix_channel, int is32)
 

Detailed Description

Definition at line 131 of file mlpdec.c.

Field Documentation

◆ class

const AVClass* MLPDecodeContext::class

Definition at line 132 of file mlpdec.c.

◆ avctx

AVCodecContext* MLPDecodeContext::avctx

◆ downmix_layout

AVChannelLayout MLPDecodeContext::downmix_layout

Definition at line 135 of file mlpdec.c.

Referenced by mlp_decode_init(), and read_restart_header().

◆ is_major_sync_unit

int MLPDecodeContext::is_major_sync_unit

Current access unit being read has a major sync.

Definition at line 138 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 141 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 144 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 147 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

◆ extended_substream_info

uint8_t MLPDecodeContext::extended_substream_info

Which substream of substreams carry 16-channel presentation.

Definition at line 150 of file mlpdec.c.

Referenced by read_major_sync().

◆ substream_info

uint8_t MLPDecodeContext::substream_info

Which substream of substreams carry 2/6/8-channel presentation.

Definition at line 153 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 156 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 159 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 162 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 164 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 168 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 169 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 171 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 172 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

◆ pack_output

int32_t(* MLPDecodeContext::pack_output) (int32_t lossless_check_data, uint16_t blockpos, int32_t(*sample_buffer)[MAX_CHANNELS], void *data, uint8_t *ch_assign, int8_t *output_shift, uint8_t max_matrix_channel, int is32)

Definition at line 176 of file mlpdec.c.

Referenced by output_data(), read_decoding_params(), read_major_sync(), and read_restart_header().


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