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 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 sreams ("2-channel presentation") More...
 
int channel_modifier_thd_stream1
 Channel modifier for substream 1 of TrueHD sreams ("6-channel presentation") More...
 
int channel_modifier_thd_stream2
 Channel modifier for substream 2 of TrueHD sreams ("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

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

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

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

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

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

int MLPHeaderInfo::channel_arrangement

Definition at line 43 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 45 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 46 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 47 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 49 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 50 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 51 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 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_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().

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

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

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

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

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

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: