FFmpeg
Data Fields
SubStream Struct Reference

Data Fields

  Set if a valid restart header has been read. Otherwise the substream cannot be decoded.
 
  Left shift to apply to Huffman-decoded residuals.
 
uint16_t  blocksize
  number of PCM samples in current audio block
 
uint16_t  blockpos
  Number of PCM samples decoded so far in this frame.
 
  Left shift to apply to decoded PCM values to get final 24-bit output.
 
  Running XOR of all output samples.
 
uint16_t  noise_type
  restart header data
 
  The index of the first channel coded in this substream.
 
  The index of the last channel coded in this substream.
 
  The number of channels input into the rematrix stage.
 
  For each channel output by the matrix, the output channel to map it to.
 
uint64_t  ch_layout
  The channel layout for this substream.
 
  Channel coding parameters for channels in the substream.
 
  The left shift applied to random noise in 0x31ea substreams.
 
uint32_t  noisegen_seed
  The current seed value for the pseudorandom noise generator(s).
 
  Set if the substream contains extra info to check the size of VLC blocks.
 
  Bitmask of which parameter sets are conveyed in a decoding parameter block.
 
  matrix data
 
  matrix output channel
 
  Whether the LSBs of the matrix output are encoded in the bitstream.
 
  Matrix coefficients, stored as 2.14 fixed point.
 
  Left shift to apply to noise values in 0x31eb substreams.
 

Detailed Description

Definition at line 44 of file mlpdec.c.

Field Documentation

uint8_t SubStream::restart_seen

Set if a valid restart header has been read. Otherwise the substream cannot be decoded.

Definition at line 46 of file mlpdec.c.

Referenced by read_access_unit(), and read_major_sync().

uint16_t SubStream::noise_type

restart header data

The type of noise to be used in the rematrix stage.

Definition at line 51 of file mlpdec.c.

Referenced by read_matrix_params(), read_restart_header(), and rematrix_channels().

uint8_t SubStream::min_channel

The index of the first channel coded in this substream.

Definition at line 54 of file mlpdec.c.

Referenced by read_block_data(), read_decoding_params(), read_huff_channels(), and read_restart_header().

uint8_t SubStream::max_channel

The index of the last channel coded in this substream.

Definition at line 56 of file mlpdec.c.

Referenced by read_decoding_params(), and read_restart_header().

uint8_t SubStream::max_matrix_channel

The number of channels input into the rematrix stage.

Definition at line 58 of file mlpdec.c.

Referenced by generate_2_noise_channels(), output_data(), read_decoding_params(), read_matrix_params(), read_restart_header(), and rematrix_channels().

uint8_t SubStream::ch_assign[MAX_CHANNELS]

For each channel output by the matrix, the output channel to map it to.

Definition at line 60 of file mlpdec.c.

Referenced by output_data(), and read_restart_header().

uint64_t SubStream::ch_layout

The channel layout for this substream.

Definition at line 62 of file mlpdec.c.

Referenced by read_major_sync(), and read_restart_header().

ChannelParams SubStream::channel_params[MAX_CHANNELS]

Channel coding parameters for channels in the substream.

Definition at line 65 of file mlpdec.c.

Referenced by calculate_sign_huff(), filter_channel(), read_channel_params(), read_decoding_params(), read_filter_params(), read_huff_channels(), and read_restart_header().

uint8_t SubStream::noise_shift

The left shift applied to random noise in 0x31ea substreams.

Definition at line 68 of file mlpdec.c.

Referenced by generate_2_noise_channels(), and read_restart_header().

uint32_t SubStream::noisegen_seed

The current seed value for the pseudorandom noise generator(s).

Definition at line 70 of file mlpdec.c.

Referenced by fill_noise_buffer(), generate_2_noise_channels(), and read_restart_header().

uint8_t SubStream::data_check_present

Set if the substream contains extra info to check the size of VLC blocks.

Definition at line 73 of file mlpdec.c.

Referenced by read_block_data(), and read_restart_header().

uint8_t SubStream::param_presence_flags

Bitmask of which parameter sets are conveyed in a decoding parameter block.

Definition at line 76 of file mlpdec.c.

Referenced by read_channel_params(), read_decoding_params(), and read_restart_header().

uint8_t SubStream::num_primitive_matrices

matrix data

Number of matrices to be applied.

Definition at line 91 of file mlpdec.c.

Referenced by read_huff_channels(), read_matrix_params(), read_restart_header(), and rematrix_channels().

uint8_t SubStream::matrix_out_ch[MAX_MATRICES]

matrix output channel

Definition at line 94 of file mlpdec.c.

Referenced by read_matrix_params(), and rematrix_channels().

uint8_t SubStream::lsb_bypass[MAX_MATRICES]

Whether the LSBs of the matrix output are encoded in the bitstream.

Definition at line 97 of file mlpdec.c.

Referenced by read_huff_channels(), and read_matrix_params().

int32_t SubStream::matrix_coeff[MAX_MATRICES][MAX_CHANNELS]

Matrix coefficients, stored as 2.14 fixed point.

Definition at line 99 of file mlpdec.c.

Referenced by read_matrix_params(), and rematrix_channels().

uint8_t SubStream::matrix_noise_shift[MAX_MATRICES]

Left shift to apply to noise values in 0x31eb substreams.

Definition at line 101 of file mlpdec.c.

Referenced by read_matrix_params(), and rematrix_channels().

uint8_t SubStream::quant_step_size[MAX_CHANNELS]

Left shift to apply to Huffman-decoded residuals.

Definition at line 105 of file mlpdec.c.

Referenced by calculate_sign_huff(), filter_channel(), read_decoding_params(), read_huff_channels(), read_restart_header(), and rematrix_channels().

uint16_t SubStream::blocksize

number of PCM samples in current audio block

Definition at line 108 of file mlpdec.c.

Referenced by filter_channel(), read_block_data(), read_decoding_params(), and read_restart_header().

uint16_t SubStream::blockpos

Number of PCM samples decoded so far in this frame.

Definition at line 110 of file mlpdec.c.

Referenced by filter_channel(), generate_2_noise_channels(), output_data(), read_access_unit(), read_block_data(), read_huff_channels(), and rematrix_channels().

int8_t SubStream::output_shift[MAX_CHANNELS]

Left shift to apply to decoded PCM values to get final 24-bit output.

Definition at line 113 of file mlpdec.c.

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

int32_t SubStream::lossless_check_data

Running XOR of all output samples.

Definition at line 116 of file mlpdec.c.

Referenced by mlp_decode_init(), output_data(), and read_restart_header().


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

Generated on Sat Jan 25 2014 19:52:31 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /