Owned RGBA16LE image retaining its HDR transfer and color primaries. More...
#include <StormByte/multimedia/display.hxx>

Public Member Functions | |
| PreviewHDRVideo ()=default | |
| PreviewHDRVideo (const PreviewHDRVideo &other)=default | |
| PreviewHDRVideo (PreviewHDRVideo &&other) noexcept=default | |
| ~PreviewHDRVideo () noexcept=default | |
| PreviewHDRVideo & | operator= (const PreviewHDRVideo &other)=default |
| PreviewHDRVideo & | operator= (PreviewHDRVideo &&other) noexcept=default |
Public Attributes | |
| Safe::Binary | m_pixels |
| Tightly packed RGBA16LE signal values. | |
| std::uint32_t | m_width = 0 |
| Pixel width. | |
| std::uint32_t | m_height = 0 |
| Pixel height. | |
| std::uint64_t | m_epoch = 0 |
| Delivery generation. | |
| double | m_position = 0 |
| Presentation time in media seconds. | |
| double | m_duration = 0 |
| Image duration in seconds. | |
| Property::Primaries | m_primaries = Property::Primaries::Unspecified |
| Signal chromaticity primaries. | |
| Property::Transfer | m_transfer = Property::Transfer::Unspecified |
| PQ or HLG signal transfer. | |
| std::array< std::array< double, 2 >, 3 > | m_display_primaries {} |
| Optional R/G/B mastering chromaticities. | |
| std::array< double, 2 > | m_white_point {} |
| Optional mastering white point. | |
| double | m_min_luminance_nits = 0 |
| Optional mastering-display minimum. | |
| double | m_max_luminance_nits = 0 |
| Optional mastering-display maximum. | |
| std::uint32_t | m_max_content_light_nits = 0 |
| Optional MaxCLL. | |
| std::uint32_t | m_max_frame_average_light_nits = 0 |
| Optional MaxFALL. | |
| bool | m_has_mastering_display = false |
| Whether mastering-display metadata is present. | |
| bool | m_has_content_light = false |
| Whether content-light metadata is present. | |
Owned RGBA16LE image retaining its HDR transfer and color primaries.
RGB channels are full-range code values using m_transfer; alpha is opaque. Rows are tightly packed at eight bytes per pixel. Mastering-display and content-light values are optional and expressed in cd/m^2.
|
default |
|
default |
|
defaultnoexcept |
|
defaultnoexcept |
|
default |
|
defaultnoexcept |
| std::array<std::array<double, 2>, 3> StormByte::Multimedia::PreviewHDRVideo::m_display_primaries {} |
Optional R/G/B mastering chromaticities.
| double StormByte::Multimedia::PreviewHDRVideo::m_duration = 0 |
Image duration in seconds.
| std::uint64_t StormByte::Multimedia::PreviewHDRVideo::m_epoch = 0 |
Delivery generation.
| bool StormByte::Multimedia::PreviewHDRVideo::m_has_content_light = false |
Whether content-light metadata is present.
| bool StormByte::Multimedia::PreviewHDRVideo::m_has_mastering_display = false |
Whether mastering-display metadata is present.
| std::uint32_t StormByte::Multimedia::PreviewHDRVideo::m_height = 0 |
Pixel height.
| std::uint32_t StormByte::Multimedia::PreviewHDRVideo::m_max_content_light_nits = 0 |
Optional MaxCLL.
| std::uint32_t StormByte::Multimedia::PreviewHDRVideo::m_max_frame_average_light_nits = 0 |
Optional MaxFALL.
| double StormByte::Multimedia::PreviewHDRVideo::m_max_luminance_nits = 0 |
Optional mastering-display maximum.
| double StormByte::Multimedia::PreviewHDRVideo::m_min_luminance_nits = 0 |
Optional mastering-display minimum.
| Safe::Binary StormByte::Multimedia::PreviewHDRVideo::m_pixels |
Tightly packed RGBA16LE signal values.
| double StormByte::Multimedia::PreviewHDRVideo::m_position = 0 |
Presentation time in media seconds.
| Property::Primaries StormByte::Multimedia::PreviewHDRVideo::m_primaries = Property::Primaries::Unspecified |
Signal chromaticity primaries.
| Property::Transfer StormByte::Multimedia::PreviewHDRVideo::m_transfer = Property::Transfer::Unspecified |
PQ or HLG signal transfer.
| std::array<double, 2> StormByte::Multimedia::PreviewHDRVideo::m_white_point {} |
Optional mastering white point.
| std::uint32_t StormByte::Multimedia::PreviewHDRVideo::m_width = 0 |
Pixel width.