Mastering display and content light level metadata.
More...
#include <StormByte/multimedia/property/hdr10.hxx>
|
| | HDR10 () |
| | DEFAULT primaries / luminance, Source::Heuristics.
|
| | HDR10 (const Point &red, const Point &green, const Point &blue, const Point &white, const Point &luminance, const StormByte::Safe::Optional< Point > &light_level=std::nullopt, Source source=Source::Metadata) |
| | Full mastering-display description.
|
| | HDR10 (Point &&red, Point &&green, Point &&blue, Point &&white, Point &&luminance, StormByte::Safe::Optional< Point > &&light_level=std::nullopt, Source source=Source::Metadata) noexcept |
| | Move overload of the full constructor.
|
| | HDR10 (const HDR10 &other) |
| | Copy constructor.
|
| | HDR10 (HDR10 &&other) noexcept |
| | Move constructor.
|
| | ~HDR10 () noexcept |
| | Destructor.
|
| HDR10 & | operator= (const HDR10 &other) |
| | Copy assignment.
|
| HDR10 & | operator= (HDR10 &&other) noexcept |
| | Move assignment.
|
| const Point & | Red () const noexcept |
| | Red primary.
|
| const Point & | Green () const noexcept |
| | Green primary.
|
| const Point & | Blue () const noexcept |
| | Blue primary.
|
| const Point & | White () const noexcept |
| | White point.
|
| const Point & | Luminance () const noexcept |
| | Luminance (min, max).
|
| const StormByte::Safe::Optional< Point > & | LightLevel () const noexcept |
| | Optional content light level (MaxCLL, MaxFALL).
|
| Source | Origin () const noexcept |
| | Origin of the numbers.
|
| bool | IsHDR10Plus () const noexcept |
| | HDR10+ dynamic metadata flag.
|
| void | HDR10Plus (bool hdrplus) noexcept |
| | Sets the HDR10+ flag.
|
|
| static const HDR10 | DEFAULT |
| | Fallback mastering display with heuristic origin.
|
Mastering display and content light level metadata.
- Note
- DLL exchange requires compatible C++ ABIs. Base and Multimedia must remain loaded while their values and provider callbacks are in use.
◆ Source
Origin of the mastering-display numbers.
| Enumerator |
|---|
| Metadata | Side data from the container or bitstream.
|
| Heuristics | Default values when HDR10 is signaled without mastering metadata.
|
◆ HDR10() [1/5]
| StormByte::Multimedia::Property::HDR10::HDR10 |
( |
| ) |
|
◆ HDR10() [2/5]
Full mastering-display description.
- Parameters
-
| red | Red primary. |
| green | Green primary. |
| blue | Blue primary. |
| white | White point. |
| luminance | Min/max luminance pair. |
| light_level | Optional MaxCLL/MaxFALL. |
| source | Metadata or Heuristics. |
- Exceptions
-
◆ HDR10() [3/5]
Move overload of the full constructor.
- Parameters
-
| red | Red primary. |
| green | Green primary. |
| blue | Blue primary. |
| white | White point. |
| luminance | Min/max luminance pair. |
| light_level | Optional MaxCLL/MaxFALL. |
| source | Metadata or Heuristics. |
◆ HDR10() [4/5]
| StormByte::Multimedia::Property::HDR10::HDR10 |
( |
const HDR10 & | other | ) |
|
Copy constructor.
- Parameters
-
- Exceptions
-
◆ HDR10() [5/5]
| StormByte::Multimedia::Property::HDR10::HDR10 |
( |
HDR10 && | other | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ~HDR10()
| StormByte::Multimedia::Property::HDR10::~HDR10 |
( |
| ) |
|
|
noexcept |
◆ Blue()
| const Point & StormByte::Multimedia::Property::HDR10::Blue |
( |
| ) |
const |
|
noexcept |
Blue primary.
- Returns
- Blue.
◆ Green()
| const Point & StormByte::Multimedia::Property::HDR10::Green |
( |
| ) |
const |
|
noexcept |
Green primary.
- Returns
- Green.
◆ HDR10Plus()
| void StormByte::Multimedia::Property::HDR10::HDR10Plus |
( |
bool | hdrplus | ) |
|
|
noexcept |
Sets the HDR10+ flag.
- Parameters
-
◆ IsHDR10Plus()
| bool StormByte::Multimedia::Property::HDR10::IsHDR10Plus |
( |
| ) |
const |
|
noexcept |
HDR10+ dynamic metadata flag.
- Returns
- true if HDR10+ was detected.
◆ LightLevel()
Optional content light level (MaxCLL, MaxFALL).
- Returns
- Borrowed optional light level, valid while this object is alive.
◆ Luminance()
| const Point & StormByte::Multimedia::Property::HDR10::Luminance |
( |
| ) |
const |
|
noexcept |
Luminance (min, max).
- Returns
- Luminance.
◆ operator=() [1/2]
| HDR10 & StormByte::Multimedia::Property::HDR10::operator= |
( |
const HDR10 & | other | ) |
|
Copy assignment.
- Parameters
-
- Returns
- *this.
- Exceptions
-
◆ operator=() [2/2]
| HDR10 & StormByte::Multimedia::Property::HDR10::operator= |
( |
HDR10 && | other | ) |
|
|
noexcept |
Move assignment.
- Parameters
-
- Returns
- *this.
◆ Origin()
| Source StormByte::Multimedia::Property::HDR10::Origin |
( |
| ) |
const |
|
noexcept |
Origin of the numbers.
- Returns
- Metadata or Heuristics.
◆ Red()
| const Point & StormByte::Multimedia::Property::HDR10::Red |
( |
| ) |
const |
|
noexcept |
◆ White()
| const Point & StormByte::Multimedia::Property::HDR10::White |
( |
| ) |
const |
|
noexcept |
White point.
- Returns
- White.
◆ DEFAULT
| const HDR10 StormByte::Multimedia::Property::HDR10::DEFAULT |
|
static |
Fallback mastering display with heuristic origin.
The documentation for this class was generated from the following file:
- lib/public/StormByte/multimedia/property/hdr10.hxx