TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
Abstract base class for MPEG audio and video attributes. More...
#include <tsAbstractAudioVideoAttributes.h>
Public Member Functions | |
AbstractAudioVideoAttributes ()=default | |
Default constructor. | |
void | invalidate () |
Invalidate the content of this instance. | |
bool | isValid () const |
Check if the values in the object are valid. | |
virtual bool | moreBinaryData (const uint8_t *addr, size_t size)=0 |
Provides an audio/video binary data to be analyzed by this instance. | |
virtual UString | toString () const =0 |
Convert to a string object. | |
Protected Attributes | |
bool | _is_valid = false |
A flag which indicates if the content of this object is valid. | |
Abstract base class for MPEG audio and video attributes.
|
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::VLANIdStack, ts::IPv4Address, ts::IPv4AddressMask, ts::IPv4SocketAddress, ts::IPv6Address, ts::IPv6SocketAddress, ts::MACAddress, ts::Time, ts::xml::Document, ts::DeliverySystemSet, ts::LNB, ts::SignalState::Value, ts::SignalState, ts::CASDate< YEARBASE >, ts::AC3Attributes, ts::AVCAttributes, ts::HEVCAttributes, ts::MPEG2AudioAttributes, ts::MPEG2VideoAttributes, ts::hls::AltPlayList, ts::hls::MediaElement, ts::hls::MediaPlayList, ts::hls::PlayList, ts::Service, ts::ServiceIdTriplet, ts::TransportStreamId, and ts::PCRAnalyzer::Status.
|
protected |
A flag which indicates if the content of this object is valid.
It is the responsibility of the subclasses to set it.