TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
HEVC scaling list data structure. More...
#include <tsHEVCScalingListData.h>
Classes | |
class | Scaling |
Scaling data entry. More... | |
Public Types | |
using | SuperClass = AbstractVideoStructure |
Reference to the superclass. | |
Public Member Functions | |
HEVCScalingListData (const uint8_t *data=nullptr, size_t size=0) | |
Constructor from a binary area. | |
virtual void | clear () |
Clear all values. | |
virtual std::ostream & | display (std::ostream &=std::cout, const UString &margin=UString(), int level=Severity::Info) const override |
Display the content of this object to a stream. | |
virtual bool | parse (AVCParser &, std::initializer_list< uint32_t >=std::initializer_list< uint32_t >()) override |
Parse the structure. | |
virtual bool | parse (const uint8_t *, size_t, std::initializer_list< uint32_t >=std::initializer_list< uint32_t >()) override |
Parse a memory area containing binary video data of the expected type. | |
Public Attributes | |
std::array< std::array< Scaling, 6 >, 4 > | list {} |
HEVC scaling list data structure. | |
bool | valid = false |
Valid flag. | |
Protected Member Functions | |
template<typename INT > requires std::integral<INT> | |
void | disp (std::ostream &out, const UString &margin, const UChar *name, INT n) const |
Display helper for subclasses. | |
template<typename INT > requires std::integral<INT> | |
void | disp (std::ostream &out, const UString &margin, const UChar *name, std::vector< INT > n) const |
Display helper for subclasses. | |
HEVC scaling list data structure.
ts::HEVCScalingListData::HEVCScalingListData | ( | const uint8_t * | data = nullptr , |
size_t | size = 0 |
||
) |
Constructor from a binary area.
[in] | data | Address of binary data to analyze. |
[in] | size | Size in bytes of binary data to analyze. |
|
overridevirtual |
Parse a memory area containing binary video data of the expected type.
Must be reimplemented by subclasses. The data are marked as valid or invalid.
[in] | addr | Address of the binary data to parse. |
[in] | size | Size in bytes of the binary data to parse. |
[in] | params | Additional parameters. May be needed by some structures. |
Reimplemented from ts::AbstractVideoStructure.
|
overridevirtual |
Parse the structure.
Must be reimplemented by subclasses. The data are marked as valid or invalid.
[in,out] | parser | The parser of an AVC stream. |
[in] | params | Additional parameters. May be needed by some structures. |
Implements ts::AbstractVideoStructure.
|
overridevirtual |
Display the content of this object to a stream.
[in,out] | stream | The stream where to print the content. Standard output by default. |
[in] | margin | The prefix string on each line, empty by default. |
[in] | level | Severity level (for instance, Severity::Info or Severity::Debug may display more information). |
Implements ts::DisplayInterface.
|
virtualinherited |
Clear all values.
Should be reimplemented by subclasses. The data are marked invalid.
Reimplemented in ts::AbstractAVCAccessUnit, ts::AbstractHEVCAccessUnit, ts::AbstractVideoAccessUnit, ts::AbstractVVCAccessUnit, ts::AVCAccessUnitDelimiter, ts::AVCHRDParameters, ts::AVCSequenceParameterSet, ts::AVCVUIParameters, ts::HEVCAccessUnitDelimiter, ts::HEVCHRDParameters, ts::HEVCProfileTierLevel, ts::HEVCSequenceParameterSet, ts::HEVCShortTermReferencePictureSetList, ts::HEVCVUIParameters, and ts::VVCAccessUnitDelimiter.
|
inlineprotectedinherited |
Display helper for subclasses.
Display an integer value.
INT | An integer type. |
[in,out] | out | The stream where to print the content. |
[in] | margin | The prefix string on each line. |
[in] | name | A name to display for the value. |
[in] | n | The integer value to display. |
|
inlineprotectedinherited |
Display helper for subclasses.
Display a vector of integer value.
INT | An integer type. |
[in,out] | out | The stream where to print the content. |
[in] | margin | The prefix string on each line. |
[in] | name | A name to display for the value. |
[in] | n | The integer values to display. |
|
inherited |
Valid flag.
Other fields are significant only if valid is true.