TSDuck  v3.39-3902
MPEG Transport Stream Toolkit
ts::IODDescriptor Class Reference

Representation of an IOD_descriptor. More...

Inheritance diagram for ts::IODDescriptor:
Collaboration diagram for ts::IODDescriptor:

Public Member Functions

 IODDescriptor ()
 Default constructor.
 
 IODDescriptor (DuckContext &duck, const Descriptor &bin)
 Constructor from a binary descriptor. More...
 

Static Public Member Functions

static void DisplayDescriptor (ts::TablesDisplay &display, ts::PSIBuffer &payload, const ts::UString &margin, ts::DID did, ts::TID tid, ts::PDS pds)
 Static method to display a descriptor. More...
 

Public Attributes

ByteBlock InitialObjectDescriptor {}
 Binary structure as defined in 8.6.3.1 of ISO/IEC 14496-1.
 
uint8_t IOD_label = 0
 IOD label.
 
uint8_t Scope_of_IOD_label = 0
 Scope of IOD label, either 0x10 or 0x11.
 

Protected Member Functions

virtual bool analyzeXML (DuckContext &, const xml::Element *) override
 
virtual void buildXML (DuckContext &, xml::Element *) const override
 
virtual void clearContent () override
 
virtual void deserializePayload (PSIBuffer &) override
 
virtual void serializePayload (PSIBuffer &) const override
 

Detailed Description

Representation of an IOD_descriptor.

See also
ISO/IEC 13818-1, ITU-T Rec. H.222.0, 2.6.40.

This is a limited implementation. The InitialObjectDescriptor() is represented as a binary blob. A future version may chose to describe the internal structure of this data block.

Constructor & Destructor Documentation

◆ IODDescriptor()

ts::IODDescriptor::IODDescriptor ( DuckContext duck,
const Descriptor bin 
)

Constructor from a binary descriptor.

Parameters
[in,out]duckTSDuck execution context.
[in]binA binary descriptor to deserialize.

Member Function Documentation

◆ DisplayDescriptor()

static void ts::IODDescriptor::DisplayDescriptor ( ts::TablesDisplay display,
ts::PSIBuffer payload,
const ts::UString margin,
ts::DID  did,
ts::TID  tid,
ts::PDS  pds 
)
static

Static method to display a descriptor.


Parameters
[in,out]displayDisplay engine.
[in,out]payloadA PSIBuffer over the payload.
[in]marginLeft margin content.
[in]didDescriptor id.
[in]tidTable id of table containing the descriptors.
[in]pdsPrivate Data Specifier.

The documentation for this class was generated from the following file: