Per-stream video properties.
More...
#include <StormByte/multimedia/property/video.hxx>
Per-stream video properties.
- Note
- DLL exchange requires compatible C++ ABIs. Base and Multimedia must remain loaded while their values and provider callbacks are in use.
◆ Video() [1/4]
| StormByte::Multimedia::Property::Video::Video |
( |
| ) |
|
Constructs unknown video properties without optional metadata.
- Exceptions
-
◆ Video() [2/4]
Constructs video properties.
- Parameters
-
| color | Colorimetry and pixel format. |
| resolution | Frame size. |
| hdr10 | Optional mastering-display metadata. |
| frameRate | Frames per second ({num, den} like libav). Empty if unknown. |
| sampleAspectRatio | Pixel aspect (sample_aspect_ratio). Empty if unknown. |
| dovi | Optional Dolby Vision configuration and decoded metadata. |
◆ Video() [3/4]
| StormByte::Multimedia::Property::Video::Video |
( |
const Video & | other | ) |
|
Copy constructor.
- Parameters
-
- Exceptions
-
◆ Video() [4/4]
| StormByte::Multimedia::Property::Video::Video |
( |
Video && | other | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ~Video()
| StormByte::Multimedia::Property::Video::~Video |
( |
| ) |
|
|
noexcept |
◆ Color()
| const class Color & StormByte::Multimedia::Property::Video::Color |
( |
| ) |
const |
|
noexcept |
Colorimetry and pixel format.
- Returns
- Color.
◆ DOVI()
Dolby Vision configuration and decoded metadata, if present.
- Returns
- Borrowed optional DOVI, valid while this object is alive.
◆ FrameRate()
Stream frame rate, if the container exposed one.
- Returns
- Borrowed optional fps ({24000, 1001} for 23.976), valid while this object is alive.
◆ HDR10()
Mastering-display metadata, if present.
- Returns
- Borrowed optional HDR10, valid while this object is alive.
◆ operator=() [1/2]
| Video & StormByte::Multimedia::Property::Video::operator= |
( |
const Video & | other | ) |
|
Copy assignment.
- Parameters
-
- Returns
- *this.
- Exceptions
-
◆ operator=() [2/2]
| Video & StormByte::Multimedia::Property::Video::operator= |
( |
Video && | other | ) |
|
|
noexcept |
Move assignment.
- Parameters
-
- Returns
- *this.
◆ Resolution()
| const class Resolution & StormByte::Multimedia::Property::Video::Resolution |
( |
| ) |
const |
|
noexcept |
◆ SampleAspectRatio()
Pixel aspect ratio (sample_aspect_ratio).
- Returns
- Borrowed optional SAR ({8, 9} anamorphic NTSC, {1, 1} square), valid while this object is alive.
The documentation for this class was generated from the following file:
- lib/public/StormByte/multimedia/property/video.hxx