FFmpeg
Data Fields
MLPHeaderInfo Struct Reference

#include <mlp_parse.h>

Data Fields

int stream_type
 0xBB for MLP, 0xBA for TrueHD More...
 
int header_size
 Size of the major sync header, in bytes. More...
 
int group1_bits
 The bit depth of the first substream. More...
 
int group2_bits
 Bit depth of the second substream (MLP only) More...
 
int group1_samplerate
 Sample rate of first substream. More...
 
int group2_samplerate
 Sample rate of second substream (MLP only) More...
 
int channel_arrangement
 
int channel_modifier_thd_stream0
 Channel modifier for substream 0 of TrueHD streams ("2-channel presentation") More...
 
int channel_modifier_thd_stream1
 Channel modifier for substream 1 of TrueHD streams ("6-channel presentation") More...
 
int channel_modifier_thd_stream2
 Channel modifier for substream 2 of TrueHD streams ("8-channel presentation") More...
 
int channels_mlp
 Channel count for MLP streams. More...
 
int channels_thd_stream1
 Channel count for substream 1 of TrueHD streams ("6-channel presentation") More...
 
int channels_thd_stream2
 Channel count for substream 2 of TrueHD streams ("8-channel presentation") More...
 
uint64_t channel_layout_mlp
 Channel layout for MLP streams. More...
 
uint64_t channel_layout_thd_stream1
 Channel layout for substream 1 of TrueHD streams ("6-channel presentation") More...
 
uint64_t channel_layout_thd_stream2
 Channel layout for substream 2 of TrueHD streams ("8-channel presentation") More...
 
int access_unit_size
 Number of samples per coded frame. More...
 
int access_unit_size_pow2
 Next power of two above number of samples per frame. More...
 
int is_vbr
 Stream is VBR instead of CBR. More...
 
int peak_bitrate
 Peak bitrate for VBR, actual bitrate (==peak) for CBR. More...
 
int num_substreams
 Number of substreams within stream. More...
 

Detailed Description

Definition at line 26 of file mlp_parse.h.

Field Documentation

◆ stream_type

int MLPHeaderInfo::stream_type

0xBB for MLP, 0xBA for TrueHD

Definition at line 28 of file mlp_parse.h.

◆ header_size

int MLPHeaderInfo::header_size

Size of the major sync header, in bytes.

Definition at line 29 of file mlp_parse.h.

◆ group1_bits

int MLPHeaderInfo::group1_bits

The bit depth of the first substream.

Definition at line 31 of file mlp_parse.h.

◆ group2_bits

int MLPHeaderInfo::group2_bits

Bit depth of the second substream (MLP only)

Definition at line 32 of file mlp_parse.h.

◆ group1_samplerate

int MLPHeaderInfo::group1_samplerate

Sample rate of first substream.

Definition at line 34 of file mlp_parse.h.

◆ group2_samplerate

int MLPHeaderInfo::group2_samplerate

Sample rate of second substream (MLP only)

Definition at line 35 of file mlp_parse.h.

◆ channel_arrangement

int MLPHeaderInfo::channel_arrangement

Definition at line 37 of file mlp_parse.h.

◆ channel_modifier_thd_stream0

int MLPHeaderInfo::channel_modifier_thd_stream0

Channel modifier for substream 0 of TrueHD streams ("2-channel presentation")

Definition at line 39 of file mlp_parse.h.

◆ channel_modifier_thd_stream1

int MLPHeaderInfo::channel_modifier_thd_stream1

Channel modifier for substream 1 of TrueHD streams ("6-channel presentation")

Definition at line 40 of file mlp_parse.h.

◆ channel_modifier_thd_stream2

int MLPHeaderInfo::channel_modifier_thd_stream2

Channel modifier for substream 2 of TrueHD streams ("8-channel presentation")

Definition at line 41 of file mlp_parse.h.

◆ channels_mlp

int MLPHeaderInfo::channels_mlp

Channel count for MLP streams.

Definition at line 43 of file mlp_parse.h.

◆ channels_thd_stream1

int MLPHeaderInfo::channels_thd_stream1

Channel count for substream 1 of TrueHD streams ("6-channel presentation")

Definition at line 44 of file mlp_parse.h.

◆ channels_thd_stream2

int MLPHeaderInfo::channels_thd_stream2

Channel count for substream 2 of TrueHD streams ("8-channel presentation")

Definition at line 45 of file mlp_parse.h.

◆ channel_layout_mlp

uint64_t MLPHeaderInfo::channel_layout_mlp

Channel layout for MLP streams.

Definition at line 46 of file mlp_parse.h.

◆ channel_layout_thd_stream1

uint64_t MLPHeaderInfo::channel_layout_thd_stream1

Channel layout for substream 1 of TrueHD streams ("6-channel presentation")

Definition at line 47 of file mlp_parse.h.

◆ channel_layout_thd_stream2

uint64_t MLPHeaderInfo::channel_layout_thd_stream2

Channel layout for substream 2 of TrueHD streams ("8-channel presentation")

Definition at line 48 of file mlp_parse.h.

◆ access_unit_size

int MLPHeaderInfo::access_unit_size

Number of samples per coded frame.

Definition at line 50 of file mlp_parse.h.

◆ access_unit_size_pow2

int MLPHeaderInfo::access_unit_size_pow2

Next power of two above number of samples per frame.

Definition at line 51 of file mlp_parse.h.

◆ is_vbr

int MLPHeaderInfo::is_vbr

Stream is VBR instead of CBR.

Definition at line 53 of file mlp_parse.h.

◆ peak_bitrate

int MLPHeaderInfo::peak_bitrate

Peak bitrate for VBR, actual bitrate (==peak) for CBR.

Definition at line 54 of file mlp_parse.h.

◆ num_substreams

int MLPHeaderInfo::num_substreams

Number of substreams within stream.

Definition at line 56 of file mlp_parse.h.


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