FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MLPHeaderInfo Struct Reference

#include <mlp_parser.h>

Data Fields

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

Detailed Description

Definition at line 32 of file mlp_parser.h.

Field Documentation

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().

int MLPHeaderInfo::group1_bits

The bit depth of the first substream.

Definition at line 36 of file mlp_parser.h.

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

int MLPHeaderInfo::group2_bits

Bit depth of the second substream (MLP only)

Definition at line 37 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::group1_samplerate

Sample rate of first substream.

Definition at line 39 of file mlp_parser.h.

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

int MLPHeaderInfo::group2_samplerate

Sample rate of second substream (MLP only)

Definition at line 40 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::channel_arrangement

Definition at line 42 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::channel_modifier_thd_stream0

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

Definition at line 44 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::channel_modifier_thd_stream1

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

Definition at line 45 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::channel_modifier_thd_stream2

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

Definition at line 46 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::channels_mlp

Channel count for MLP streams.

Definition at line 48 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

int MLPHeaderInfo::channels_thd_stream1

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

Definition at line 49 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

int MLPHeaderInfo::channels_thd_stream2

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

Definition at line 50 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

uint64_t MLPHeaderInfo::channel_layout_mlp

Channel layout for MLP streams.

Definition at line 51 of file mlp_parser.h.

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

uint64_t MLPHeaderInfo::channel_layout_thd_stream1

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

Definition at line 52 of file mlp_parser.h.

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

uint64_t MLPHeaderInfo::channel_layout_thd_stream2

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

Definition at line 53 of file mlp_parser.h.

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

int MLPHeaderInfo::access_unit_size

Number of samples per coded frame.

Definition at line 55 of file mlp_parser.h.

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

int MLPHeaderInfo::access_unit_size_pow2

Next power of two above number of samples per frame.

Definition at line 56 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::is_vbr

Stream is VBR instead of CBR.

Definition at line 58 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

int MLPHeaderInfo::peak_bitrate

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

Definition at line 59 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

int MLPHeaderInfo::num_substreams

Number of substreams within stream.

Definition at line 61 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: