FFmpeg  4.0
Data Fields
MLPHeaderInfo Struct Reference

#include <libavcodec/mlp_parser.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 32 of file mlp_parser.h.

Field Documentation

◆ stream_type

int MLPHeaderInfo::stream_type

0xBB for MLP, 0xBA for TrueHD

Definition at line 34 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().

◆ header_size

int MLPHeaderInfo::header_size

Size of the major sync header, in bytes.

Definition at line 35 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ group1_bits

int MLPHeaderInfo::group1_bits

The bit depth of the first substream.

Definition at line 37 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().

◆ group2_bits

int MLPHeaderInfo::group2_bits

Bit depth of the second substream (MLP only)

Definition at line 38 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ group1_samplerate

int MLPHeaderInfo::group1_samplerate

Sample rate of first substream.

Definition at line 40 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().

◆ group2_samplerate

int MLPHeaderInfo::group2_samplerate

Sample rate of second substream (MLP only)

Definition at line 41 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ channel_arrangement

int MLPHeaderInfo::channel_arrangement

Definition at line 43 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ channel_modifier_thd_stream0

int MLPHeaderInfo::channel_modifier_thd_stream0

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

Definition at line 45 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ channel_modifier_thd_stream1

int MLPHeaderInfo::channel_modifier_thd_stream1

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

Definition at line 46 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ channel_modifier_thd_stream2

int MLPHeaderInfo::channel_modifier_thd_stream2

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

Definition at line 47 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ channels_mlp

int MLPHeaderInfo::channels_mlp

Channel count for MLP streams.

Definition at line 49 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

◆ channels_thd_stream1

int MLPHeaderInfo::channels_thd_stream1

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

Definition at line 50 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

◆ channels_thd_stream2

int MLPHeaderInfo::channels_thd_stream2

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

Definition at line 51 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

◆ channel_layout_mlp

uint64_t MLPHeaderInfo::channel_layout_mlp

Channel layout for MLP streams.

Definition at line 52 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().

◆ 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 53 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().

◆ 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 54 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().

◆ access_unit_size

int MLPHeaderInfo::access_unit_size

Number of samples per coded frame.

Definition at line 56 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().

◆ access_unit_size_pow2

int MLPHeaderInfo::access_unit_size_pow2

Next power of two above number of samples per frame.

Definition at line 57 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

◆ is_vbr

int MLPHeaderInfo::is_vbr

Stream is VBR instead of CBR.

Definition at line 59 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

◆ peak_bitrate

int MLPHeaderInfo::peak_bitrate

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

Definition at line 60 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

◆ num_substreams

int MLPHeaderInfo::num_substreams

Number of substreams within stream.

Definition at line 62 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), mlp_parse(), and read_major_sync().


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