TSDuck v3.40-4120
MPEG Transport Stream Toolkit
|
eXtension Descriptor Id. More...
#include <tsXDID.h>
Public Member Functions | |
XDID (DID did=DID_NULL, DID edid=XDID_NULL) | |
Constructor. | |
DID | did () const |
Get the descriptor id. | |
bool | isExtension () const |
Check if the XDID is any form of extension descriptor. | |
bool | isExtensionDVB () const |
Check if the XDID is a DVB extension descriptor. | |
bool | isExtensionMPEG () const |
Check if the XDID is an MPEG extension descriptor. | |
UString | toString () const |
Convert to a string object. | |
DID | xdid () const |
Get the extension descriptor id. | |
eXtension Descriptor Id.
Most descriptors are identified by an 8-bit tag or DID. MPEG and DVB use the concept of "extension descriptor", with one single DID value and several extension descriptor ids. The XDID class encapsulates the two values to create a 16-bits unique identifier.
Note: this type is different from EDID. The XDID takes is intrinsicly linked to the descriptor content: the DID and the optional extension descriptor id. The EDID class is a wider concept which integrate contextual environments such as private descriptors or table-specific descriptor. The EDID is a superset of the XDID.
Constructor.
[in] | did | Descriptor id. |
[in] | edid | Extension descriptor id. |
|
inline |
Get the descriptor id.
|
inline |
Get the extension descriptor id.
|
inline |
|
inline |
|
inline |
UString ts::XDID::toString | ( | ) | const |
Convert to a string object.
Note: The XDID class does not implement StringifyInterface because we don't want to make it virtual and keep the instance size small, without vtable pointer.