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 channels_mlp
 Channel arrangement for MLP streams.
int channels_thd_stream1
 Channel arrangement for substream 1 of TrueHD streams (5.1)
int channels_thd_stream2
 Channel arrangement for substream 2 of TrueHD streams (7.1)
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::access_unit_size

Number of samples per coded frame.

Definition at line 46 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 47 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and read_major_sync().

int MLPHeaderInfo::channels_mlp

Channel arrangement for MLP streams.

Definition at line 42 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

int MLPHeaderInfo::channels_thd_stream1

Channel arrangement for substream 1 of TrueHD streams (5.1)

Definition at line 43 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

int MLPHeaderInfo::channels_thd_stream2

Channel arrangement for substream 2 of TrueHD streams (7.1)

Definition at line 44 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

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::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_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::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::is_vbr

Stream is VBR instead of CBR.

Definition at line 49 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 52 of file mlp_parser.h.

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

int MLPHeaderInfo::peak_bitrate

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

Definition at line 50 of file mlp_parser.h.

Referenced by ff_mlp_read_major_sync(), and mlp_parse().

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(), and mlp_parse().


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