![]() |
TSDuck v3.46-4930
MPEG Transport Stream Toolkit
|
#include <tsAbstractAudioVideoAttributes.h>


Public Member Functions | |
| AbstractAudioVideoAttributes ()=default | |
| void | invalidate () |
| bool | isValid () const |
| virtual bool | moreBinaryData (const uint8_t *addr, size_t size)=0 |
| virtual UString | toString () const =0 |
Protected Attributes | |
| bool | _is_valid = false |
Abstract base class for MPEG audio and video attributes
|
default |
Default constructor
|
inline |
Check if the values in the object are valid.
|
inline |
Invalidate the content of this instance. It must be rebuilt using audio/video binary data.
|
pure virtual |
Provides an audio/video binary data to be analyzed by this instance. The type of data (complete PES payload or some type of "frame" or "access unit") depends on the type of audio/video.
| [in] | addr | Address of data to be analyzed. |
| [in] | size | Size of data to be analyzed. |
Implemented in ts::AC3Attributes, ts::AVCAttributes, ts::HEVCAttributes, ts::MPEG2AudioAttributes, and ts::MPEG2VideoAttributes.
|
pure virtualinherited |
Convert to a string object.
Implemented in ts::AC3Attributes, ts::AVCAttributes, ts::CASDate< YEARBASE >, ts::CASDate< 1980 >, ts::CASDate< 1990 >, ts::CASDate< 2000 >, ts::DeliverySystemSet, ts::HEVCAttributes, ts::hls::AltPlayList, ts::hls::MediaElement, ts::hls::MediaPlayList, ts::hls::PlayList, ts::IPAddress, ts::IPAddressMask, ts::IPSocketAddress, ts::LNB, ts::MACAddress, ts::mcast::FDTInstanceHeader, ts::mcast::FECPayloadId, ts::mcast::FECTransmissionInformation, ts::mcast::FluteSessionId, ts::mcast::LCTHeader, ts::mcast::NIPActualCarrierInformation, ts::mcast::NIPStreamId, ts::MPEG2AudioAttributes, ts::MPEG2VideoAttributes, ts::NetworkInterface, ts::PCRAnalyzer::Status, ts::Service, ts::ServiceIdTriplet, ts::SignalState, ts::SignalState::Value, ts::Time, ts::TransportStreamId, ts::Unicable, ts::VLANIdStack, and ts::xml::Document.
|
protected |
A flag which indicates if the content of this object is valid. It is the responsibility of the subclasses to set it.