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


Public Member Functions | |
| AVCAttributes ()=default | |
| uint8_t | chromaFormat () const |
| UString | chromaFormatName () const |
| size_t | horizontalSize () const |
| void | invalidate () |
| bool | isValid () const |
| int | level () const |
| UString | levelName () const |
| virtual bool | moreBinaryData (const uint8_t *, size_t) override |
| int | profile () const |
| UString | profileName () const |
| virtual UString | toString () const override |
| size_t | verticalSize () const |
Protected Attributes | |
| bool | _is_valid = false |
Video attributes for Advanced Video Coding.
AVC is Advanced Video Coding, ISO 14496-10, ITU H.264.
An AVCAttributes object is built by transmitting AVC access units (aka "NALunits"). The state of the object may change after adding a "sequence parameter set" NALunit. Initially, an AVCAttributes object is invalid.
|
default |
Default constructor.
|
overridevirtual |
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. |
Implements ts::AbstractAudioVideoAttributes.
|
overridevirtual |
Convert to a string object.
Implements ts::StringifyInterface.
|
inline |
Get video horizontal size in pixels.
|
inline |
Get video vertical size in pixels.
|
inline |
Get AVC profile.
| UString ts::AVCAttributes::profileName | ( | ) | const |
Get AVC profile name.
|
inline |
Get AVC level.
| UString ts::AVCAttributes::levelName | ( | ) | const |
Get AVC level name.
|
inline |
Get chroma format.
| UString ts::AVCAttributes::chromaFormatName | ( | ) | const |
Get chroma format name.
|
inlineinherited |
Check if the values in the object are valid.
|
inlineinherited |
Invalidate the content of this instance. It must be rebuilt using audio/video binary data.
|
protectedinherited |
A flag which indicates if the content of this object is valid. It is the responsibility of the subclasses to set it.