TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::names Namespace Reference

Namespace for functions returning Digital TV names. More...

Functions

UString BouquetId (uint16_t id, NamesFlags flags=NamesFlags::NAME)
 Name of Bouquet Id.
 
UString CASId (const DuckContext &duck, uint16_t casid, NamesFlags flags=NamesFlags::NAME)
 Name of Conditional Access System Id (in CA Descriptor).
 
UString Content (const DuckContext &duck, uint8_t c, NamesFlags flags=NamesFlags::NAME)
 Name of content name (in Content Descriptor).
 
UString DataBroadcastId (uint16_t id, NamesFlags flags=NamesFlags::NAME)
 Name of Data broadcast id (in Data Broadcast Id Descriptor).
 
UString DID (uint8_t did, uint32_t pds=0, uint8_t tid=0xFF, NamesFlags flags=NamesFlags::NAME)
 Name of Descriptor ID.
 
UString EDID (uint8_t edid, NamesFlags flags=NamesFlags::NAME)
 Name of Extended descriptor ID.
 
bool HasTableSpecificName (uint8_t did, uint8_t tid)
 Check if a descriptor id has a specific name for a given table.
 
UString NetworkId (uint16_t id, NamesFlags flags=NamesFlags::NAME)
 Name of Network Id.
 
UString OriginalNetworkId (uint16_t id, NamesFlags flags=NamesFlags::NAME)
 Name of Original Network Id.
 
UString PrivateDataSpecifier (uint32_t pds, NamesFlags flags=NamesFlags::NAME)
 Name of Private Data Specifier.
 
UString RunningStatus (uint8_t rs, NamesFlags flags=NamesFlags::NAME)
 Name of Running Status (in SDT).
 
UString ServiceType (uint8_t st, NamesFlags flags=NamesFlags::NAME)
 Name of service type (in Service Descriptor).
 
UString StreamType (uint8_t st, NamesFlags flags=NamesFlags::NAME, uint32_t regid=REGID_NULL)
 Name of Stream type (in PMT).
 
UString TID (const DuckContext &duck, uint8_t tid, uint16_t cas=CASID_NULL, NamesFlags flags=NamesFlags::NAME)
 Name of Table ID.
 

Detailed Description

Namespace for functions returning Digital TV names.

Function Documentation

◆ TID()

UString ts::names::TID ( const DuckContext duck,
uint8_t  tid,
uint16_t  cas = CASID_NULL,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Table ID.

Parameters
[in]duckTSDuck execution context (used to select from conflicting standards).
[in]tidTable id.
[in]casCAS id for EMM/ECM table ids.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ DID()

UString ts::names::DID ( uint8_t  did,
uint32_t  pds = 0,
uint8_t  tid = 0xFF,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Descriptor ID.

Parameters
[in]didDescriptor id.
[in]pdsPrivate data specified if did >= 0x80.
[in]tidOptional id of the enclosing table.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ HasTableSpecificName()

bool ts::names::HasTableSpecificName ( uint8_t  did,
uint8_t  tid 
)

Check if a descriptor id has a specific name for a given table.

Parameters
[in]didDescriptor id.
[in]tidTable id of the enclosing table.
Returns
True if descriptor did has a specific name for table tid.

◆ EDID()

UString ts::names::EDID ( uint8_t  edid,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Extended descriptor ID.

Parameters
[in]edidExtended descriptor ID.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ PrivateDataSpecifier()

UString ts::names::PrivateDataSpecifier ( uint32_t  pds,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Private Data Specifier.

Parameters
[in]pdsPrivate Data Specifier.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ StreamType()

UString ts::names::StreamType ( uint8_t  st,
NamesFlags  flags = NamesFlags::NAME,
uint32_t  regid = REGID_NULL 
)

Name of Stream type (in PMT).

Parameters
[in]stStream type (in PMT).
[in]flagsPresentation flags.
[in]regidPrevious registration id from a registration descriptor.
Returns
The corresponding name.

◆ ServiceType()

UString ts::names::ServiceType ( uint8_t  st,
NamesFlags  flags = NamesFlags::NAME 
)

Name of service type (in Service Descriptor).

Parameters
[in]stService type (in Service Descriptor).
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ CASId()

UString ts::names::CASId ( const DuckContext duck,
uint16_t  casid,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Conditional Access System Id (in CA Descriptor).

Parameters
[in]duckTSDuck execution context (used to select from other standards).
[in]casidConditional Access System Id (in CA Descriptor).
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ RunningStatus()

UString ts::names::RunningStatus ( uint8_t  rs,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Running Status (in SDT).

Parameters
[in]rsRunning Status (in SDT).
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ Content()

UString ts::names::Content ( const DuckContext duck,
uint8_t  c,
NamesFlags  flags = NamesFlags::NAME 
)

Name of content name (in Content Descriptor).

Parameters
[in]duckTSDuck execution context (used to select from other standards).
[in]cContent name.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ BouquetId()

UString ts::names::BouquetId ( uint16_t  id,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Bouquet Id.

Parameters
[in]idBouquet Id.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ OriginalNetworkId()

UString ts::names::OriginalNetworkId ( uint16_t  id,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Original Network Id.

Parameters
[in]idOriginal Network Id.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ NetworkId()

UString ts::names::NetworkId ( uint16_t  id,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Network Id.

Parameters
[in]idNetwork Id.
[in]flagsPresentation flags.
Returns
The corresponding name.

◆ DataBroadcastId()

UString ts::names::DataBroadcastId ( uint16_t  id,
NamesFlags  flags = NamesFlags::NAME 
)

Name of Data broadcast id (in Data Broadcast Id Descriptor).

Parameters
[in]idData broadcast id (in Data Broadcast Id Descriptor).
[in]flagsPresentation flags.
Returns
The corresponding name.