Tag Parser
7.0.3
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
Namespaces | |
AacExtensionTypes | |
AacIcsSequenceTypes | |
AacSbrExtensionIds | |
AacScaleFactorTypes | |
AacSyntaxElementTypes | |
BackupHelper | |
BsFrameClasses | |
EbmlIds | |
Encapsulates all EBML ID values. | |
ExtensionFormats | |
Encapsulates extension formats. | |
FourccIds | |
Encapsulates all supported MP4 media format IDs (aka "FOURCCs"). | |
Id3v2FrameIds | |
Encapsulates the most common ID3v2 frame IDs and related functions. | |
Id3v2TextEncodingBytes | |
MatroskaIds | |
Encapsulates the most common Matroska element IDs. | |
MatroskaTagIds | |
Encapsulates Matroska tag IDs. | |
MatroskaTrackType | |
Encapsulates the most common Matroska track IDs. | |
Mp4AtomIds | |
Encapsulates the most common MP4 atom IDs. | |
Mp4FormatExtensionIds | |
Encapsulates all supported MP4 media format description extensions. | |
Mp4MediaTypeIds | |
Encapsulates all supported MP4 media type IDs. | |
Mp4TagAtomIds | |
Encapsulates IDs of MP4 atoms holding tag information. | |
Mp4TagExtendedMeanIds | |
Encapsulates "mean values" used in iTunes style MP4 tags. | |
Mp4TagExtendedNameIds | |
Encapsulates "name values" used in iTunes style MP4 tags. | |
Mpeg2VideoCodes | |
Encapsulates MPEG-2 video codes. | |
Mpeg4AudioObjectIds | |
Encapsulates all supported MPEG-4 audio object type IDs. | |
Mpeg4ChannelConfigs | |
Encapsulates all supported MPEG-4 channel configurations. | |
Mpeg4DescriptorIds | |
Encapsulates all known MPEG-4 descriptor IDs. | |
Mpeg4ElementaryStreamObjectIds | |
Encapsulates all supported MPEG-4 elementary stream object IDs. | |
Mpeg4ElementaryStreamTypeIds | |
Returns the name of the stream type denoted by the specified MPEG-4 stream type ID. | |
Mpeg4VideoCodes | |
Encapsulates MPEG-4 video (14496-2) codes. | |
RawDataType | |
Encapsulates the most common data type IDs of MP4 tag fields. | |
SubFormats | |
Encapsulates sub formats. | |
VorbisCommentIds | |
Encapsulates Vorbis comment IDs. | |
VorbisPackageTypes | |
Encapsulates known Vorbis package type IDs. | |
Typedefs | |
typedef const sbyte(* | SbrHuffTab)[2] |
typedef uint32 | ugolomb |
Type used to store unsigned integer values using golomb coding. More... | |
typedef int32 | sgolomb |
Type used to store signed integer values using golomb coding. More... | |
Functions | |
TAG_PARSER_EXPORT const char * | diagLevelName (DiagLevel diagLevel) |
DiagLevel & | operator|= (DiagLevel &lhs, const DiagLevel &rhs) |
Sets lhs to rhs if rhs is more critical than lhs and returns lhs. More... | |
constexpr bool | operator== (byte lhs, FlacMetaDataBlockType type) |
constexpr bool | operator!= (byte lhs, FlacMetaDataBlockType type) |
constexpr bool | operator> (MatroskaElementLevel lhs, MatroskaElementLevel rhs) |
constexpr bool | operator> (byte lhs, MatroskaElementLevel rhs) |
constexpr bool | operator< (MatroskaElementLevel lhs, MatroskaElementLevel rhs) |
constexpr bool | operator>= (MatroskaElementLevel lhs, MatroskaElementLevel rhs) |
constexpr bool | operator<= (MatroskaElementLevel lhs, MatroskaElementLevel rhs) |
TAG_PARSER_EXPORT const char * | matroskaIdName (uint32 matroskaId) |
Returns a string for the specified matroskaId if known; otherwise returns an empty string. More... | |
TAG_PARSER_EXPORT MatroskaElementLevel | matroskaIdLevel (uint32 matroskaId) |
Returns the level at which elements with the specified matroskaId are supposed to occur in a Matroska file. More... | |
TAG_PARSER_EXPORT TagTargetLevel | matroskaTagTargetLevel (uint64 targetLevelValue) |
Returns the general TagTargetLevel for the Matroska specific targetLevelValue. More... | |
TAG_PARSER_EXPORT uint64 | matroskaTagTargetLevelValue (TagTargetLevel targetLevel) |
Returns the Matroska specific target level value for the specified general targetLevel. More... | |
DECLARE_ENUM_CLASS (MediaType, unsigned int) | |
DECLARE_ENUM_CLASS (TagType, unsigned int) | |
const char *TAG_PARSER_EXPORT | mediaTypeName (MediaType mediaType) |
Returns the string representation for the specified mediaType. More... | |
TAG_PARSER_EXPORT const char * | mpegChannelModeString (MpegChannelMode channelMode) |
Returns the string representation for the specified channelMode. More... | |
XingHeaderFlags | operator| (XingHeaderFlags lhs, XingHeaderFlags rhs) |
XingHeaderFlags | operator & (XingHeaderFlags lhs, XingHeaderFlags rhs) |
constexpr TagCreationFlags | operator| (TagCreationFlags lhs, TagCreationFlags rhs) |
constexpr bool | operator & (TagCreationFlags lhs, TagCreationFlags rhs) |
constexpr TagCreationFlags & | operator|= (TagCreationFlags &lhs, TagCreationFlags rhs) |
constexpr TagCreationFlags & | operator+= (TagCreationFlags &lhs, TagCreationFlags rhs) |
constexpr TagCreationFlags & | operator-= (TagCreationFlags &lhs, TagCreationFlags rhs) |
DECLARE_ENUM_CLASS (TagTargetLevel, byte) | |
TAG_PARSER_EXPORT ContainerFormat | parseSignature (const char *buffer, int bufferSize) |
Parses the signature read from the specified buffer. More... | |
TAG_PARSER_EXPORT const char * | containerFormatName (ContainerFormat containerFormat) |
Returns the name of the specified container format as C-style string. More... | |
TAG_PARSER_EXPORT const char * | containerFormatAbbreviation (ContainerFormat containerFormat, MediaType mediaType, unsigned int version) |
Returns the abbreviation of the container format as C-style string considering the specified media type and version. More... | |
TAG_PARSER_EXPORT const char * | containerFormatSubversion (ContainerFormat containerFormat) |
Returns the subversion of the container format as C-style string. More... | |
TAG_PARSER_EXPORT const char * | containerMimeType (ContainerFormat containerFormat, MediaType mediaType) |
Returns the MIME-type of the container format as C-style string. More... | |
TAG_PARSER_EXPORT TagTargetLevel | containerTargetLevel (ContainerFormat containerFormat, uint64 targetLevelValue) |
Returns the general TagTargetLevel for the specified container format and raw targetLevelValue. More... | |
TAG_PARSER_EXPORT uint64 | containerTargetLevelValue (ContainerFormat containerFormat, TagTargetLevel targetLevel) |
Returns the raw target level value for the specified containerFormat and general targetLevel. More... | |
constexpr KnownField | nextKnownField (KnownField field) |
Returns the next known field. More... | |
TAG_PARSER_EXPORT const char * | tagTargetLevelName (TagTargetLevel tagTargetLevel) |
Returns a string representation for the specified tagTargetLevel. More... | |
constexpr int | characterSize (TagTextEncoding encoding) |
Returns the size of one character for the specified encoding in bytes. More... | |
constexpr bool | operator & (VorbisCommentFlags lhs, VorbisCommentFlags rhs) |
constexpr VorbisCommentFlags | operator| (VorbisCommentFlags lhs, VorbisCommentFlags rhs) |
template<class stringtype > | |
int | parseGenreIndex (const stringtype &denotation) |
Helper function to parse the genre index. More... | |
bool | sameOffset (uint64 offset, const EbmlElement *element) |
Returns an indication whether offset equals the start offset of element. More... | |
bool | excludesOffset (const vector< EbmlElement *> &elements, uint64 offset) |
Returns whether none of the specified elements have the specified offset. More... | |
pair< const char *, float > | encodingParameter (TagTextEncoding tagTextEncoding) |
Returns the encoding parameter (name of the character set and bytes per character) for the specified tagTextEncoding. More... | |
Variables | |
const AacHcb *const | aacHcbTable [] |
const AacHcb2Pair *const | aacHcb2PairTable [] |
const AacHcb2Quad *const | aacHcb2QuadTable [] |
const AacHcbBinPair *const | aacHcbBinTable [] |
const byte | aacHcbN [] = { 0, 5, 5, 0, 5, 0, 5, 0, 5, 0, 6, 5 } |
const int | aacHcb2QuadTableSize [] = { 0, 114, 86, 0, 185, 0, 0, 0, 0, 0, 0, 0 } |
const int | aacHcb2PairTableSize [] = { 0, 0, 0, 0, 0, 0, 126, 0, 83, 0, 210, 373 } |
const int | aacHcbBinTableSize [] = { 0, 0, 0, 161, 0, 161, 0, 127, 0, 337, 0, 0 } |
const AacHcb | aacHcb1Step1 [] |
const AacHcb2Quad | aacHcb1Step2 [] |
const AacHcb | aacHcb2Step1 [] |
const AacHcb2Quad | aacHcb2Step2 [] |
const AacHcbBinQuad | aacHcb3 [] |
const AacHcb | aacHcb4Step1 [] |
const AacHcb2Quad | aacHcb4Step2 [] |
const AacHcbBinPair | aacHcb5 [] |
const AacHcb | aacHcb6Step1 [] |
const AacHcb2Pair | aacHcb6Step2 [] |
const AacHcbBinPair | aacHcb7 [] |
const AacHcb | aacHcb8Step1 [] |
const AacHcb2Pair | aacHcb8Step2 [] |
const AacHcbBinPair | aacHcb9 [] |
const AacHcb | aacHcb10Step1 [] |
const AacHcb2Pair | aacHcb10Step2 [] |
const AacHcb | aacHcb11Step1 [] |
const AacHcb2Pair | aacHcb11Step2 [] |
const byte | aacHcbSf [][2] |
const sbyte | tHuffmanEnv15dB [120][2] |
const sbyte | fHuffmanEnv15dB [120][2] |
const sbyte | tHuffmanEnvBal15dB [48][2] |
const sbyte | fHuffmanEnvBal15dB [48][2] |
const sbyte | tHuffmanEnv30dB [62][2] |
const sbyte | fHuffmanEnv30dB [62][2] |
const sbyte | tHuffmanEnvBal30dB [24][2] |
const sbyte | fHuffmanEnvBal30dB [24][2] |
const sbyte | tHuffmanNoise30dB [62][2] |
const sbyte | tHuffmanNoiseBal30dB [24][2] |
constexpr auto | aacMaxChannels = 64 |
constexpr auto | aacMaxSyntaxElements = 48 |
constexpr auto | aacMaxWindowGroups = 8 |
constexpr auto | aacMaxSfb = 51 |
constexpr auto | aacMaxLtpSfb = 40 |
constexpr auto | aacMaxltpSfbS = 8 |
constexpr auto | aacInvalidSbrElement = 0xFF |
constexpr auto | aacNoTimeSlots960 = 15 |
constexpr auto | aacNoTimeSlots = 16 |
constexpr auto | aacSbrRate = 2 |
constexpr auto | aacSbrM = 49 |
constexpr auto | aacSbrMaxLe = 5 |
constexpr auto | aacSbrMaxNtsrhfg = 40 |
constexpr auto | worstDiagLevel = DiagLevel::Fatal |
uint32 | mpeg4SamplingFrequencyTable [13] = { 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350 } |
constexpr KnownField | firstKnownField = KnownField::Title |
The first valid entry in the Media::KnownField enum. More... | |
constexpr KnownField | lastKnownField = KnownField::Vendor |
The last valid entry in the Media::KnownField enum. More... | |
constexpr unsigned int | knownFieldArraySize = static_cast<unsigned int>(lastKnownField) + 1 |
The number of valid entries in the Media::KnownField enum. More... | |
uint8_t | unsigned_cb [] |
const DateTime | startDate = DateTime::fromDate(1904, 1, 1) |
Dates within MP4 tracks are expressed as the number of seconds since this date. More... | |
typedef const sbyte(* TagParser::SbrHuffTab)[2] |
Definition at line 28 of file aacframe.h.
typedef int32 TagParser::sgolomb |
typedef uint32 TagParser::ugolomb |
|
strong |
|
strong |
Specifies the container format.
Raw streams like ADTS or raw FLAC count as container format in this context.
Definition at line 17 of file signature.h.
|
strong |
|
strong |
Specifies the level of the diagnostic message.
Definition at line 16 of file diagnostics.h.
|
strong |
Enumerator | |
---|---|
BeforeData | the element is positioned before the actual data |
AfterData | the element is positioned after the actual data |
Keep | the element is placed where it was before |
Definition at line 10 of file settings.h.
|
strong |
The FlacMetaDataBlockType enum specifies the type of FlacMetaDataBlockHeader.
Enumerator | |
---|---|
StreamInfo | |
Padding | |
Application | |
SeekTable | |
VorbisComment | |
CuseSheet | |
Picture |
Definition at line 17 of file flacmetadata.h.
|
strong |
The GeneralMediaFormat enum specifies the general format of media data (PCM, MPEG-4, PNG, ...).
Enumerator | |
---|---|
Unknown | the format is unknown |
Aac | Advanced Video Coding |
Ac3 | Dolby Digital |
Ac4 | AC-4 |
AdpcmAcm | ADPCM ACM |
AfxStream | AFX Stream |
Alac | Apple Lossless Audio Codec |
Als | ALS |
Amr | AMR |
Avc | Advanced Video Coding |
Bitmap | Windows Bitmap |
Daala | Daala ("next-generation video codec" by Xiph) |
Dirac | Dirac |
DolbyMlp | Dolby MLP |
Dts | DTS |
DtsHd | DTS-HD |
DvbSub | DVBSUB |
EAc3 | Dolby Digital Plus |
Evrc | EVRC |
Flac | FLAC |
FontDataStream | Font Data Stream |
Gif | GIF |
Gpp2Cmf | 3GPP2 Compact Multimedia Format (CMF) |
Hevc | H.265/High Efficiency Video Coding |
ImaadpcmAcm | IMAADPCM ACM |
ImageSubtitle | Image subtitle |
InteractionStream | Interaction Stream |
Jpeg | JPEG |
MicrosoftAudioCodecManager | Microsoft Audio Codec Manager (ACM) |
MicrosoftMpeg4 | Microsoft MPEG-4 |
MicrosoftVideoCodecManager | Microsoft Video Codec Manager (VCM) |
MonkeysAudio | Monkey's Audio |
Mpc | Musepack |
Mpeg1Audio | MPEG-1 Audio |
Mpeg1Video | MPEG-1 Vudio |
Mpeg2Audio | MPEG-2 Audio |
Mpeg2Video | MPEG-2 Video |
Mpeg4TimedText | MPEG-4 Timed Text / Streaming text format / Part 17 |
Mpeg4Video | MPEG-4 Video |
OggKate | Karaoke And Text Encapsulation |
Opus | Opus |
Pcm | Pulse Code Modulation |
Png | PNG |
ProRes | ProRes |
Qcelp | QCELP |
QuicktimeAudio | Quicktime Audio |
QuicktimeVideo | Quicktime Video |
RealAudio | Real Audio |
RealVideo | Real Video |
Sa0c | SAOC |
Smv | SMV |
Speex | Speex |
StreamingTextStream | Streaming Text Stream |
SynthesizedTextureStream | Synthesized Texture Stream |
Systems | Systems |
TextSubtitle | Text subtitle |
Theora | Theora |
Tiff | TIFF |
TimedText | Timed Text |
Tta | The True Audio lessles audio compressor |
UncompressedVideoFrames | uncompressed RGB or YCbCr |
Vc1 | VC-1 |
VobBtn | VobBtn |
VobSub | VobSub |
Vorbis | Vorbis |
Vp8 | VP8 |
Vp9 | VP9 |
WavPack | WavPack |
WindowsMediaAudio | Windows Media Audio |
WindowsMediaVideo | Windows Media Video |
Definition at line 28 of file mediaformat.h.
|
strong |
Specifies the field.
These "known" fields are used to specify a field without using the field identifier used by the underlaying tag type.
Not all fields are supported by all tag types (see Tag::supportsField()).
Enumerator | |
---|---|
Invalid | invalid field name, do not map this value when subclassing Tag |
Title | title |
Album | album/collection |
Artist | artist/band |
Genre | genre |
Year | year |
Comment | comment |
Bpm | beats per minute |
Bps | beats per second |
Lyricist | lyricist |
TrackPosition | track/part number and total track/part count |
DiskPosition | disk number and total disk count |
PartNumber | track/part number |
TotalParts | total track/part count |
Encoder | encoder |
RecordDate | record date |
Performers | performers |
Length | length |
Language | language |
EncoderSettings | encoder settings |
Lyrics | lyrics |
SynchronizedLyrics | synchronized lyrics |
Grouping | grouping |
RecordLabel | record label |
Cover | cover |
Composer | composer |
Rating | rating |
Description | description |
Vendor | vendor |
|
strong |
Enumerator | |
---|---|
TopLevel | |
Level1 | |
Level2 | |
Level3 | |
Level4 | |
Level5 | |
Level6 | |
Global | |
Unknown |
Definition at line 406 of file matroskaid.h.
|
strong |
The MediaType enum specifies the type of media data (audio, video, text, ...).
Enumerator | |
---|---|
Unknown | the type is unknown |
Audio | audio/sound |
Video | video |
Text | text/subtitle |
Buttons | buttons |
Control | control |
Hint | hint |
Definition at line 13 of file mediaformat.h.
|
strong |
|
strong |
|
strong |
Specifies the channel mode.
Enumerator | |
---|---|
Stereo | stereo |
JointStereo | joint stereo |
DualChannel | dual channel |
SingleChannel | single channel/mono |
Unspecifed | used to indicate that the channel mode is unknown |
Definition at line 19 of file mpegaudioframe.h.
|
strong |
The ParsingStatus enum specifies whether a certain part of the file (tracks, tags, ...) has been parsed yet and if what the parsing result is.
Definition at line 37 of file mediafileinfo.h.
enum TagParser::Sig16 : uint16 |
Holds 16-bit signatures.
Definition at line 80 of file signature.cpp.
enum TagParser::Sig24 : uint32 |
Holds 24-bit signatures.
Enumerator | |
---|---|
Bzip2 | |
Bzip2 | bzip2 compressed file |
Flv | |
Gzip | |
Gzip | gzip compressed file |
Id3v2 | |
Utf8Text | |
Utf8Text | UTF-8 text |
Definition at line 69 of file signature.cpp.
enum TagParser::Sig32 : uint32 |
Holds 32-bit signatures.
Definition at line 42 of file signature.cpp.
enum TagParser::Sig48 : uint64 |
Holds 48-bit signatures.
Enumerator | |
---|---|
Gif87a | |
Gif87a | Graphics Interchange Format (1987) |
Gif89a | |
Gif89a | Graphics Interchange Format (1989) |
SevenZ | |
SevenZ | 7z archive |
Xz | |
Xz | xz compressed file |
Definition at line 32 of file signature.cpp.
enum TagParser::Sig56 : uint64 |
enum TagParser::Sig64 : uint64 |
Holds 64-bit signatures.
Enumerator | |
---|---|
Ar | |
Ar | "GNU ar" archive |
Asf1 | |
Asf2 | |
Png | |
Png | PNG |
Png | Portable Network Graphics |
RiffAvi | |
RiffAvi | Audio Video Interleave (subset of RIFF) |
YUV4Mpeg2 | |
YUV4Mpeg2 | YUV4MPEG2 |
Definition at line 13 of file signature.cpp.
|
strong |
The Flags enum contains options to control the tag creation via MediaFileInfo::createAppropriateTags().
Enumerator | |
---|---|
None | no flags present |
TreatUnknownFilesAsMp3Files | treat unknown file formats as MP3 (might make those files unusable) |
Id3InitOnCreate | initialize newly created ID3 tags with the values of the already present ID3 tags |
Id3TransferValuesOnRemoval | transfer values of removed ID3 tags to remaining ID3 tags (no values will be overwritten) |
MergeMultipleSuccessiveId3v2Tags | merge multiple successive ID3v2 tags (see MediaFileInfo::mergeId3v2Tags()) |
KeepExistingId3v2Version | keep version of existing ID3v2 tags so TagSettings::id3v2version is only used when creating a new ID3v2 tag |
Definition at line 28 of file settings.h.
|
strong |
Specifies the data type.
Enumerator | |
---|---|
Text | text/string |
Integer | integer |
PositionInSet | position in set, see Media::PositionInSet |
StandardGenreIndex | pre-defined genre name denoted by numerical code |
TimeSpan | time span, see ChronoUtils::TimeSpan |
DateTime | date time, see ChronoUtils::DateTime |
Picture | picture file |
Binary | unspecified binary data |
Undefined | undefined/invalid data type |
Definition at line 51 of file tagvalue.h.
|
strong |
The TagTargetLevel enum specifies tag target levels.
Enumerator | |
---|---|
Unspecified | |
Shot | |
Subtrack | |
Track | |
Part | |
Album | |
Edition | |
Collection |
Definition at line 17 of file tagtarget.h.
|
strong |
Specifies the text encoding.
Enumerator | |
---|---|
Latin1 | ISO/IEC 8859-1 aka "Latin 1" |
Utf8 | UTF-8 |
Utf16LittleEndian | UTF-16 (little endian) |
Utf16BigEndian | UTF-16 (big endian) |
Unspecified | unspecified encoding |
Definition at line 22 of file tagvalue.h.
|
strong |
Specifies the tag type.
Enumerator | |
---|---|
Unspecified | The tag type is unspecified. |
Id3v1Tag | The tag is a Media::Id3v1Tag. |
Id3v2Tag | The tag is a Media::Id3v2Tag. |
Mp4Tag | The tag is a Media::Mp4Tag. |
MatroskaTag | The tag is a Media::MatroskaTag. |
VorbisComment | The tag is a Media::VorbisComment. |
OggVorbisComment | The tag is a Media::OggVorbisComment. |
|
strong |
The TagUsage enum specifies the usage of a certain tag type.
Definition at line 19 of file settings.h.
|
strong |
Specifies the track type.
Enumerator | |
---|---|
Unspecified | The track type is not specified. |
MatroskaTrack | The track is a Media::MatroskaTrack. |
MpegAudioFrameStream | The track is a Media::MpegAudioFrameStream. |
Mp4Track | The track is a Media::Mp4Track. |
WaveAudioStream | The track is a Media::WaveAudioStream. |
OggStream | The track is a Media::OggStream. |
AdtsStream | The track is a Media::AdtsStream. |
FlacStream | The track is a Media::FlacStream. |
Definition at line 28 of file abstracttrack.h.
|
strong |
The VorbisCommentFlags enum specifies flags which controls parsing and making of Vorbis comments.
Definition at line 16 of file vorbiscommentfield.h.
|
strong |
Definition at line 29 of file mpegaudioframe.h.
constexpr int TagParser::characterSize | ( | TagTextEncoding | encoding | ) |
Returns the size of one character for the specified encoding in bytes.
Definition at line 34 of file tagvalue.h.
const char * TagParser::containerFormatAbbreviation | ( | ContainerFormat | containerFormat, |
MediaType | mediaType, | ||
unsigned int | version | ||
) |
Returns the abbreviation of the container format as C-style string considering the specified media type and version.
Definition at line 243 of file signature.cpp.
const char * TagParser::containerFormatName | ( | ContainerFormat | containerFormat | ) |
Returns the name of the specified container format as C-style string.
Returns "unknown" if no name is available.
Definition at line 361 of file signature.cpp.
const char * TagParser::containerFormatSubversion | ( | ContainerFormat | containerFormat | ) |
Returns the subversion of the container format as C-style string.
Returns an empty string if there is no subversion available.
Definition at line 462 of file signature.cpp.
const char * TagParser::containerMimeType | ( | ContainerFormat | containerFormat, |
MediaType | mediaType | ||
) |
Returns the MIME-type of the container format as C-style string.
Returns an empty string if there is no MIME-type available.
Definition at line 483 of file signature.cpp.
TagTargetLevel TagParser::containerTargetLevel | ( | ContainerFormat | containerFormat, |
uint64 | targetLevelValue | ||
) |
Returns the general TagTargetLevel for the specified container format and raw targetLevelValue.
Definition at line 554 of file signature.cpp.
uint64 TagParser::containerTargetLevelValue | ( | ContainerFormat | containerFormat, |
TagTargetLevel | targetLevel | ||
) |
Returns the raw target level value for the specified containerFormat and general targetLevel.
Definition at line 568 of file signature.cpp.
TagParser::DECLARE_ENUM_CLASS | ( | TagTargetLevel | , |
byte | |||
) |
TagParser::DECLARE_ENUM_CLASS | ( | MediaType | , |
unsigned | int | ||
) |
TagParser::DECLARE_ENUM_CLASS | ( | TagType | , |
unsigned | int | ||
) |
const char * TagParser::diagLevelName | ( | DiagLevel | diagLevel | ) |
Definition at line 7 of file diagnostics.cpp.
pair<const char *, float> TagParser::encodingParameter | ( | TagTextEncoding | tagTextEncoding | ) |
Returns the encoding parameter (name of the character set and bytes per character) for the specified tagTextEncoding.
Definition at line 316 of file tagvalue.cpp.
|
inline |
Returns whether none of the specified elements have the specified offset.
Definition at line 312 of file matroskacontainer.cpp.
MatroskaElementLevel TagParser::matroskaIdLevel | ( | uint32 | matroskaId | ) |
Returns the level at which elements with the specified matroskaId are supposed to occur in a Matroska file.
Definition at line 523 of file matroskaid.cpp.
const char * TagParser::matroskaIdName | ( | uint32 | matroskaId | ) |
Returns a string for the specified matroskaId if known; otherwise returns an empty string.
Definition at line 22 of file matroskaid.cpp.
|
inline |
Returns the general TagTargetLevel for the Matroska specific targetLevelValue.
Definition at line 486 of file matroskatagid.h.
|
inline |
Returns the Matroska specific target level value for the specified general targetLevel.
Definition at line 494 of file matroskatagid.h.
const char * TagParser::mediaTypeName | ( | MediaType | mediaType | ) |
Returns the string representation for the specified mediaType.
Definition at line 991 of file mediaformat.cpp.
const char * TagParser::mpegChannelModeString | ( | MpegChannelMode | channelMode | ) |
Returns the string representation for the specified channelMode.
Definition at line 15 of file mpegaudioframe.cpp.
constexpr KnownField TagParser::nextKnownField | ( | KnownField | field | ) |
Returns the next known field.
Returns KnownField::Invalid if there is not next field.
constexpr bool TagParser::operator& | ( | VorbisCommentFlags | lhs, |
VorbisCommentFlags | rhs | ||
) |
Definition at line 23 of file vorbiscommentfield.h.
constexpr bool TagParser::operator& | ( | TagCreationFlags | lhs, |
TagCreationFlags | rhs | ||
) |
Definition at line 44 of file settings.h.
|
inline |
Definition at line 150 of file mpegaudioframe.h.
constexpr bool TagParser::operator!= | ( | byte | lhs, |
FlacMetaDataBlockType | type | ||
) |
Definition at line 24 of file flacmetadata.h.
constexpr TagCreationFlags& TagParser::operator+= | ( | TagCreationFlags & | lhs, |
TagCreationFlags | rhs | ||
) |
Definition at line 55 of file settings.h.
constexpr TagCreationFlags& TagParser::operator-= | ( | TagCreationFlags & | lhs, |
TagCreationFlags | rhs | ||
) |
Definition at line 61 of file settings.h.
constexpr bool TagParser::operator< | ( | MatroskaElementLevel | lhs, |
MatroskaElementLevel | rhs | ||
) |
Definition at line 430 of file matroskaid.h.
constexpr bool TagParser::operator<= | ( | MatroskaElementLevel | lhs, |
MatroskaElementLevel | rhs | ||
) |
Definition at line 441 of file matroskaid.h.
constexpr bool TagParser::operator== | ( | byte | lhs, |
FlacMetaDataBlockType | type | ||
) |
Definition at line 19 of file flacmetadata.h.
constexpr bool TagParser::operator> | ( | MatroskaElementLevel | lhs, |
MatroskaElementLevel | rhs | ||
) |
Definition at line 418 of file matroskaid.h.
constexpr bool TagParser::operator> | ( | byte | lhs, |
MatroskaElementLevel | rhs | ||
) |
Definition at line 424 of file matroskaid.h.
constexpr bool TagParser::operator>= | ( | MatroskaElementLevel | lhs, |
MatroskaElementLevel | rhs | ||
) |
Definition at line 436 of file matroskaid.h.
constexpr VorbisCommentFlags TagParser::operator| | ( | VorbisCommentFlags | lhs, |
VorbisCommentFlags | rhs | ||
) |
Definition at line 28 of file vorbiscommentfield.h.
constexpr TagCreationFlags TagParser::operator| | ( | TagCreationFlags | lhs, |
TagCreationFlags | rhs | ||
) |
Definition at line 38 of file settings.h.
|
inline |
Definition at line 145 of file mpegaudioframe.h.
Sets lhs to rhs if rhs is more critical than lhs and returns lhs.
Definition at line 32 of file diagnostics.h.
constexpr TagCreationFlags& TagParser::operator|= | ( | TagCreationFlags & | lhs, |
TagCreationFlags | rhs | ||
) |
Definition at line 49 of file settings.h.
int TagParser::parseGenreIndex | ( | const stringtype & | denotation | ) |
Helper function to parse the genre index.
Definition at line 64 of file id3v2frame.cpp.
ContainerFormat TagParser::parseSignature | ( | const char * | buffer, |
int | bufferSize | ||
) |
Parses the signature read from the specified buffer.
buffer | Specifies the buffer to read the signature from. |
bufferSize | Specifies the size of buffer. |
Definition at line 100 of file signature.cpp.
bool TagParser::sameOffset | ( | uint64 | offset, |
const EbmlElement * | element | ||
) |
Returns an indication whether offset equals the start offset of element.
Definition at line 303 of file matroskacontainer.cpp.
const char * TagParser::tagTargetLevelName | ( | TagTargetLevel | tagTargetLevel | ) |
Returns a string representation for the specified tagTargetLevel.
Definition at line 17 of file tagtarget.cpp.
const AacHcb TagParser::aacHcb10Step1 |
Definition at line 1555 of file aaccodebook.cpp.
const AacHcb2Pair TagParser::aacHcb10Step2 |
Definition at line 1633 of file aaccodebook.cpp.
const AacHcb TagParser::aacHcb11Step1 |
Definition at line 1826 of file aaccodebook.cpp.
const AacHcb2Pair TagParser::aacHcb11Step2 |
Definition at line 1884 of file aaccodebook.cpp.
const AacHcb TagParser::aacHcb1Step1 |
Definition at line 37 of file aaccodebook.cpp.
const AacHcb2Quad TagParser::aacHcb1Step2 |
Definition at line 78 of file aaccodebook.cpp.
const AacHcb2Pair *const TagParser::aacHcb2PairTable |
Definition at line 15 of file aaccodebook.cpp.
const int TagParser::aacHcb2PairTableSize = { 0, 0, 0, 0, 0, 0, 126, 0, 83, 0, 210, 373 } |
Definition at line 34 of file aaccodebook.cpp.
const AacHcb2Quad *const TagParser::aacHcb2QuadTable |
Definition at line 19 of file aaccodebook.cpp.
const int TagParser::aacHcb2QuadTableSize = { 0, 114, 86, 0, 185, 0, 0, 0, 0, 0, 0, 0 } |
Definition at line 33 of file aaccodebook.cpp.
const AacHcb TagParser::aacHcb2Step1 |
Definition at line 182 of file aaccodebook.cpp.
const AacHcb2Quad TagParser::aacHcb2Step2 |
Definition at line 227 of file aaccodebook.cpp.
const AacHcbBinQuad TagParser::aacHcb3 |
Definition at line 326 of file aaccodebook.cpp.
const AacHcb TagParser::aacHcb4Step1 |
Definition at line 490 of file aaccodebook.cpp.
const AacHcb2Quad TagParser::aacHcb4Step2 |
Definition at line 538 of file aaccodebook.cpp.
const AacHcbBinPair TagParser::aacHcb5 |
Definition at line 648 of file aaccodebook.cpp.
const AacHcb TagParser::aacHcb6Step1 |
Definition at line 812 of file aaccodebook.cpp.
const AacHcb2Pair TagParser::aacHcb6Step2 |
Definition at line 858 of file aaccodebook.cpp.
const AacHcbBinPair TagParser::aacHcb7 |
Definition at line 953 of file aaccodebook.cpp.
const AacHcb TagParser::aacHcb8Step1 |
Definition at line 1083 of file aaccodebook.cpp.
const AacHcb2Pair TagParser::aacHcb8Step2 |
Definition at line 1133 of file aaccodebook.cpp.
const AacHcbBinPair TagParser::aacHcb9 |
Definition at line 1215 of file aaccodebook.cpp.
const AacHcbBinPair *const TagParser::aacHcbBinTable |
Definition at line 23 of file aaccodebook.cpp.
const int TagParser::aacHcbBinTableSize = { 0, 0, 0, 161, 0, 161, 0, 127, 0, 337, 0, 0 } |
Definition at line 35 of file aaccodebook.cpp.
const byte TagParser::aacHcbN = { 0, 5, 5, 0, 5, 0, 5, 0, 5, 0, 6, 5 } |
Definition at line 27 of file aaccodebook.cpp.
const byte TagParser::aacHcbSf |
Definition at line 2200 of file aaccodebook.cpp.
const AacHcb *const TagParser::aacHcbTable |
Definition at line 11 of file aaccodebook.cpp.
constexpr auto TagParser::aacInvalidSbrElement = 0xFF |
Definition at line 20 of file aacframe.h.
constexpr auto TagParser::aacMaxChannels = 64 |
Definition at line 14 of file aacframe.h.
constexpr auto TagParser::aacMaxLtpSfb = 40 |
Definition at line 18 of file aacframe.h.
constexpr auto TagParser::aacMaxltpSfbS = 8 |
Definition at line 19 of file aacframe.h.
constexpr auto TagParser::aacMaxSfb = 51 |
Definition at line 17 of file aacframe.h.
constexpr auto TagParser::aacMaxSyntaxElements = 48 |
Definition at line 15 of file aacframe.h.
constexpr auto TagParser::aacMaxWindowGroups = 8 |
Definition at line 16 of file aacframe.h.
constexpr auto TagParser::aacNoTimeSlots = 16 |
Definition at line 22 of file aacframe.h.
constexpr auto TagParser::aacNoTimeSlots960 = 15 |
Definition at line 21 of file aacframe.h.
constexpr auto TagParser::aacSbrM = 49 |
Definition at line 24 of file aacframe.h.
constexpr auto TagParser::aacSbrMaxLe = 5 |
Definition at line 25 of file aacframe.h.
constexpr auto TagParser::aacSbrMaxNtsrhfg = 40 |
Definition at line 26 of file aacframe.h.
constexpr auto TagParser::aacSbrRate = 2 |
Definition at line 23 of file aacframe.h.
const sbyte TagParser::fHuffmanEnv15dB |
Definition at line 2477 of file aaccodebook.cpp.
const sbyte TagParser::fHuffmanEnv30dB |
Definition at line 2559 of file aaccodebook.cpp.
const sbyte TagParser::fHuffmanEnvBal15dB |
Definition at line 2525 of file aaccodebook.cpp.
const sbyte TagParser::fHuffmanEnvBal30dB |
Definition at line 2587 of file aaccodebook.cpp.
constexpr KnownField TagParser::firstKnownField = KnownField::Title |
constexpr unsigned int TagParser::knownFieldArraySize = static_cast<unsigned int>(lastKnownField) + 1 |
constexpr KnownField TagParser::lastKnownField = KnownField::Vendor |
uint32 TagParser::mpeg4SamplingFrequencyTable = { 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350 } |
Definition at line 408 of file mp4ids.cpp.
const DateTime TagParser::startDate = DateTime::fromDate(1904, 1, 1) |
Dates within MP4 tracks are expressed as the number of seconds since this date.
Definition at line 70 of file mp4track.cpp.
const sbyte TagParser::tHuffmanEnv15dB |
Definition at line 2444 of file aaccodebook.cpp.
const sbyte TagParser::tHuffmanEnv30dB |
Definition at line 2540 of file aaccodebook.cpp.
const sbyte TagParser::tHuffmanEnvBal15dB |
Definition at line 2510 of file aaccodebook.cpp.
const sbyte TagParser::tHuffmanEnvBal30dB |
Definition at line 2578 of file aaccodebook.cpp.
const sbyte TagParser::tHuffmanNoise30dB |
Definition at line 2596 of file aaccodebook.cpp.
const sbyte TagParser::tHuffmanNoiseBal30dB |
Definition at line 2615 of file aaccodebook.cpp.
uint8_t TagParser::unsigned_cb[] |
Definition at line 29 of file aaccodebook.cpp.
constexpr auto TagParser::worstDiagLevel = DiagLevel::Fatal |
Definition at line 25 of file diagnostics.h.