Tag Parser  9.1.2
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Enumerations
TagParser::RawDataType Namespace Reference

Encapsulates the most common data type IDs of MP4 tag fields. More...

Enumerations

enum  KnownValue : std::uint32_t {
  Reserved = 0, Utf8 = 1, Utf16 = 2, Sjis = 3,
  Utf8Sort = 4, Utf16Sort = 5, Html = 6, Xml = 7,
  Uuid = 8, Isrc = 9, Mi3p = 10, Gif = 12,
  Jpeg = 13, Png = 14, Url = 15, Duration = 16,
  DateTime = 17, Genred = 18, BeSignedInt = 21, BeUnsignedInt = 22,
  BeFloat32 = 23, BeFloat64 = 24, Upc = 25, Bmp = 27,
  QuickTimeMetadataAtom = 28, Undefined = 255
}
 

Detailed Description

Encapsulates the most common data type IDs of MP4 tag fields.

Enumeration Type Documentation

◆ KnownValue

enum TagParser::RawDataType::KnownValue : std::uint32_t
Enumerator
Reserved 

reserved for use where no type needs to be indicated

Utf8 

without any count or NULL terminator

Utf16 

also known as UTF-16BE

Sjis 

S/JIS: deprecated unless it is needed for special Japanese characters

Utf8Sort 

variant storage of a string for sorting only

Utf16Sort 

variant storage of a string for sorting only

Html 

the HTML file header specifies which HTML version

Xml 

the XML header must identify the DTD or schemas

Uuid 

also known as GUID; stored as 16 bytes in binary (valid as an ID)

Isrc 

stored as UTF-8 text (valid as an ID)

Mi3p 

stored as UTF-8 text (valid as an ID)

Gif 

(deprecated) a GIF image

Jpeg 

in a JFIF wrapper

Png 

in a PNG wrapper

Url 

absolute, in UTF-8 characters

Duration 

in milliseconds, 32-bit integer

DateTime 

in UTC, counting seconds since midnight, January 1, 1904; 32 or 64-bits

Genred 

a list of enumerated values

BeSignedInt 

the size of the integer is derived from the container size (max 4 byte assumed)

BeUnsignedInt 

the size of the integer is derived from the container size (max 4 byte assumed)

BeFloat32 

IEEE754

BeFloat64 

IEEE754

Upc 

Universal Product Code, in text UTF-8 format (valid as an ID)

Bmp 

windows bitmap format graphics

QuickTimeMetadataAtom 

a block of data having the structure of the Metadata atom defined in this specification

Undefined 

a undefined

Definition at line 19 of file mp4tagfield.h.