Tag Parser 12.1.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
signature.h File Reference
#include "./mediaformat.h"
#include <cstdint>
#include <string_view>
Include dependency graph for signature.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TagParser
 Contains all classes and functions of the TagInfo library.
 

Enumerations

enum class  TagParser::ContainerFormat : unsigned int {
  TagParser::Unknown , TagParser::Ac3Frames , TagParser::Adts , TagParser::Ar ,
  TagParser::Asf , TagParser::Bzip2 , TagParser::Dirac , TagParser::Ebml ,
  TagParser::Elf , TagParser::Flac , TagParser::FlashVideo , TagParser::Gif87a ,
  TagParser::Gif89a , TagParser::Gzip , TagParser::Id3v2Tag , TagParser::Ivf ,
  TagParser::JavaClassFile , TagParser::Jpeg , TagParser::Lha , TagParser::Lzip ,
  TagParser::Lzw , TagParser::Matroska , TagParser::Midi , TagParser::MonkeysAudio ,
  TagParser::Mp4 , TagParser::MpegAudioFrames , TagParser::Ogg , TagParser::PhotoshopDocument ,
  TagParser::Png , TagParser::PortableExecutable , TagParser::QuickTime , TagParser::Rar ,
  TagParser::Riff , TagParser::RiffAvi , TagParser::RiffWave , TagParser::SevenZ ,
  TagParser::Tar , TagParser::TiffBigEndian , TagParser::TiffLittleEndian , TagParser::Utf16Text ,
  TagParser::Utf32Text , TagParser::Utf8Text , TagParser::WavPack , TagParser::Webm ,
  TagParser::WindowsBitmap , TagParser::WindowsIcon , TagParser::Xz , TagParser::YUV4Mpeg2 ,
  TagParser::Zip , TagParser::Aiff , TagParser::Zstd , TagParser::ApeTag
}
 Specifies the container format. More...
 

Functions

TAG_PARSER_EXPORT ContainerFormat TagParser::parseSignature (const char *buffer, std::size_t bufferSize)
 
TAG_PARSER_EXPORT ContainerFormat TagParser::parseSignature (std::string_view buffer)
 Parses the signature read from the specified buffer.
 
TAG_PARSER_EXPORT std::string_view TagParser::containerFormatName (ContainerFormat containerFormat)
 Returns the name of the specified container format as C-style string.
 
TAG_PARSER_EXPORT std::string_view 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.
 
TAG_PARSER_EXPORT std::string_view TagParser::containerFormatSubversion (ContainerFormat containerFormat)
 Returns the subversion of the container format as C-style string.
 
TAG_PARSER_EXPORT std::string_view TagParser::containerMimeType (ContainerFormat containerFormat, MediaType mediaType)
 Returns the MIME-type of the container format as C-style string.
 
TAG_PARSER_EXPORT TagTargetLevel TagParser::containerTargetLevel (ContainerFormat containerFormat, std::uint64_t targetLevelValue)
 Returns the general TagTargetLevel for the specified container format and raw targetLevelValue.
 
TAG_PARSER_EXPORT std::uint64_t TagParser::containerTargetLevelValue (ContainerFormat containerFormat, TagTargetLevel targetLevel)
 Returns the raw target level value for the specified containerFormat and general targetLevel.