Tag Parser 11.2.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Public Member Functions | Public Attributes | List of all members
TagParser::SegmentData Struct Reference

The private SegmentData struct is used in MatroskaContainer::internalMakeFile() to store segment specific data. More...

Collaboration diagram for TagParser::SegmentData:
[legend]

Public Member Functions

 SegmentData ()
 Constructs a new segment data object. More...
 

Public Attributes

bool hasCrc32
 whether CRC-32 checksum is present More...
 
MatroskaSeekInfo seekInfo
 used to make "SeekHead"-element More...
 
EbmlElementcuesElement
 "Cues"-element (original file) More...
 
MatroskaCuePositionUpdater cuesUpdater
 used to make "Cues"-element More...
 
std::uint64_t infoDataSize
 size of the "SegmentInfo"-element More...
 
vector< std::uint64_t > clusterSizes
 cluster sizes More...
 
EbmlElementfirstClusterElement
 first "Cluster"-element (original file) More...
 
std::uint64_t clusterEndOffset
 end offset of last "Cluster"-element (original file) More...
 
std::uint64_t startOffset
 start offset (in the new file) More...
 
std::uint64_t newPadding
 padding (in the new file) More...
 
std::uint64_t totalDataSize
 total size of the segment data (in the new file, excluding header) More...
 
std::uint64_t totalSize
 total size of the segment data (in the new file, including header) More...
 
std::uint64_t newDataOffset
 data offset of the segment in the new file More...
 
std::uint8_t sizeDenotationLength
 header size (in the new file) More...
 

Detailed Description

The private SegmentData struct is used in MatroskaContainer::internalMakeFile() to store segment specific data.

Definition at line 809 of file matroskacontainer.cpp.

Constructor & Destructor Documentation

◆ SegmentData()

TagParser::SegmentData::SegmentData ( )
inline

Constructs a new segment data object.

Definition at line 811 of file matroskacontainer.cpp.

Member Data Documentation

◆ clusterEndOffset

std::uint64_t TagParser::SegmentData::clusterEndOffset

end offset of last "Cluster"-element (original file)

Definition at line 841 of file matroskacontainer.cpp.

◆ clusterSizes

vector<std::uint64_t> TagParser::SegmentData::clusterSizes

cluster sizes

Definition at line 837 of file matroskacontainer.cpp.

◆ cuesElement

EbmlElement* TagParser::SegmentData::cuesElement

"Cues"-element (original file)

Definition at line 831 of file matroskacontainer.cpp.

◆ cuesUpdater

MatroskaCuePositionUpdater TagParser::SegmentData::cuesUpdater

used to make "Cues"-element

Definition at line 833 of file matroskacontainer.cpp.

◆ firstClusterElement

EbmlElement* TagParser::SegmentData::firstClusterElement

first "Cluster"-element (original file)

Definition at line 839 of file matroskacontainer.cpp.

◆ hasCrc32

bool TagParser::SegmentData::hasCrc32

whether CRC-32 checksum is present

Definition at line 827 of file matroskacontainer.cpp.

◆ infoDataSize

std::uint64_t TagParser::SegmentData::infoDataSize

size of the "SegmentInfo"-element

Definition at line 835 of file matroskacontainer.cpp.

◆ newDataOffset

std::uint64_t TagParser::SegmentData::newDataOffset

data offset of the segment in the new file

Definition at line 851 of file matroskacontainer.cpp.

◆ newPadding

std::uint64_t TagParser::SegmentData::newPadding

padding (in the new file)

Definition at line 845 of file matroskacontainer.cpp.

◆ seekInfo

MatroskaSeekInfo TagParser::SegmentData::seekInfo

used to make "SeekHead"-element

Definition at line 829 of file matroskacontainer.cpp.

◆ sizeDenotationLength

std::uint8_t TagParser::SegmentData::sizeDenotationLength

header size (in the new file)

Definition at line 853 of file matroskacontainer.cpp.

◆ startOffset

std::uint64_t TagParser::SegmentData::startOffset

start offset (in the new file)

Definition at line 843 of file matroskacontainer.cpp.

◆ totalDataSize

std::uint64_t TagParser::SegmentData::totalDataSize

total size of the segment data (in the new file, excluding header)

Definition at line 847 of file matroskacontainer.cpp.

◆ totalSize

std::uint64_t TagParser::SegmentData::totalSize

total size of the segment data (in the new file, including header)

Definition at line 849 of file matroskacontainer.cpp.


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