TSDuck Version 3.15-955 (TSDuck - The MPEG Transport Stream Toolkit)
tsNames.h File Reference

Names of various MPEG entities. More...

Classes

class  ts::Names
 A repository of names for MPEG/DVB entities. More...
 
class  ts::NamesDVB
 An instance of names repository containing all MPEG and DVB identifiers. More...
 
class  ts::NamesOUI
 An instance of names repository containing all IEEE-assigned Organizationally Unique Identifiers (OUI). More...
 

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 
 ts::names
 Namespace for functions returning MPEG/DVB names.
 

Enumerations

enum  ts::names::Flags {
  NAME = 0x0000,
  ts::names::VALUE = 0x0001,
  ts::names::FIRST = 0x0002,
  ts::names::HEXA = 0x0004,
  ts::names::DECIMAL = 0x0008,
  ts::names::BOTH = HEXA | DECIMAL,
  ts::names::HEXA_FIRST = FIRST | HEXA,
  ts::names::DECIMAL_FIRST = FIRST | DECIMAL,
  ts::names::BOTH_FIRST = FIRST | HEXA | DECIMAL,
  ts::names::ALTERNATE = 0x0010
}
 Flags to be used in the formating of MPEG/DVB names. More...
 

Functions

UString ts::names::AC3ComponentType (uint8_t t, Flags flags=NAME)
 Name of AC-3 Component Type. More...
 
UString ts::names::AspectRatio (uint8_t a, Flags flags=NAME)
 Name of aspect ratio values (in MPEG-1/2 video sequence header). More...
 
UString ts::names::AudioType (uint8_t at, Flags flags=NAME)
 Name of audio type (in ISO639 Language Descriptor). More...
 
UString ts::names::AVCProfile (int p, Flags flags=NAME)
 Name of AVC (ISO 14496-10, ITU H.264) profile. More...
 
UString ts::names::AVCUnitType (uint8_t ut, Flags flags=NAME)
 Name of AVC (ISO 14496-10, ITU H.264) access unit (aka "NALunit") type. More...
 
UString ts::names::BouquetId (uint16_t id, Flags flags=NAME)
 Name of Bouquet Id. More...
 
UString ts::names::CASFamily (ts::CASFamily cas)
 Name of Conditional Access Families. More...
 
UString ts::names::CASId (uint16_t casid, Flags flags=NAME)
 Name of Conditional Access System Id (in CA Descriptor). More...
 
UString ts::names::ChromaFormat (uint8_t c, Flags flags=NAME)
 Name of Chroma format values (in MPEG-1/2 video sequence header). More...
 
UString ts::names::ComponentType (uint16_t ct, Flags flags=NAME)
 Name of Component Type (in Component Descriptor). More...
 
UString ts::names::Content (uint8_t c, Flags flags=NAME)
 Name of content name (in Content Descriptor). More...
 
UString ts::names::DataBroadcastId (uint16_t id, Flags flags=NAME)
 Name of Data broadcast id (in Data Broadcast Id Descriptor). More...
 
UString ts::names::DID (uint8_t did, uint32_t pds=0, uint8_t tid=0xFF, Flags flags=NAME)
 Name of Descriptor ID. More...
 
UString ts::names::DTSBitRateCode (uint8_t c, Flags flags=NAME)
 Name of DTS Audio Bit Rate Code. More...
 
UString ts::names::DTSExtendedSurroundMode (uint8_t mode, Flags flags=NAME)
 Name of DTS Audio Extended Surround Mode. More...
 
UString ts::names::DTSSampleRateCode (uint8_t c, Flags flags=NAME)
 Name of DTS Audio Sample Rate code. More...
 
UString ts::names::DTSSurroundMode (uint8_t mode, Flags flags=NAME)
 Name of DTS Audio Surround Mode. More...
 
template<typename INT , typename std::enable_if< std::is_integral< INT >::value >::type * = nullptr>
UString ts::DVBNameFromSection (const UString &sectionName, INT value, names::Flags flags=names::NAME, size_t bits=0, INT alternateValue=0)
 Get a name from a specified section in the DVB names file. More...
 
UString ts::names::EDID (uint8_t edid, Flags flags=NAME)
 Name of Extended descriptor ID. More...
 
bool ts::names::HasTableSpecificName (uint8_t did, uint8_t tid)
 Check if a descriptor id has a specific name for a given table. More...
 
UString ts::names::LinkageType (uint8_t lt, Flags flags=NAME)
 Name of linkage type (in Linkage Descriptor). More...
 
UString ts::names::NetworkId (uint16_t id, Flags flags=NAME)
 Name of Network Id. More...
 
UString ts::names::OriginalNetworkId (uint16_t id, Flags flags=NAME)
 Name of Original Network Id. More...
 
UString ts::names::OUI (uint32_t oui, Flags flags=NAME)
 Name of OUI (IEEE-assigned Organizationally Unique Identifier), 24 bits. More...
 
UString ts::names::PESStartCode (uint8_t code, Flags flags=NAME)
 Name of PES start code value. More...
 
UString ts::names::PlatformId (uint32_t id, Flags flags=NAME)
 Name of Platform Id. More...
 
UString ts::names::PrivateDataSpecifier (uint32_t pds, Flags flags=NAME)
 Name of Private Data Specifier. More...
 
UString ts::names::RunningStatus (uint8_t rs, Flags flags=NAME)
 Name of Running Status (in SDT). More...
 
UString ts::names::ScramblingControl (uint8_t sc, Flags flags=NAME)
 Name of scrambling control value in TS header. More...
 
UString ts::names::ServiceType (uint8_t st, Flags flags=NAME)
 Name of service type (in Service Descriptor). More...
 
UString ts::names::StreamId (uint8_t sid, Flags flags=NAME)
 Name of Stream ID (in PES header). More...
 
UString ts::names::StreamType (uint8_t st, Flags flags=NAME)
 Name of Stream type (in PMT). More...
 
UString ts::names::SubtitlingType (uint8_t st, Flags flags=NAME)
 Name of subtitling type (in Subtitling Descriptor). More...
 
UString ts::names::T2MIPacketType (uint8_t type, Flags flags=NAME)
 Name of T2-MI packet type. More...
 
UString ts::names::TeletextType (uint8_t tt, Flags flags=NAME)
 Name of Teletext type (in Teletext Descriptor). More...
 
UString ts::names::TID (uint8_t tid, ts::CASFamily cas=CAS_OTHER, Flags flags=NAME)
 Name of Table ID. More...
 

Detailed Description

Names of various MPEG entities.