HDR output options. More...
#include <MXWrite/mxwrite.hpp>
Public Attributes | |
| int | color_primaries = 0 |
| AVColorPrimaries value. | |
| int | color_range = 0 |
| AVColorRange value. Raw AVMasteringDisplayMetadata side-data bytes, or empty. | |
| int | color_space = 0 |
| AVColorSpace value. | |
| int | color_trc = 0 |
| AVColorTransferCharacteristic value. | |
| std::vector< uint8_t > | content_light |
| Raw AVContentLightMetadata side-data bytes, or empty. | |
| bool | enabled = false |
| Enables the HDR output path. | |
| std::vector< uint8_t > | mastering_display |
HDR output options.
When HdrInfo::enabled is true, the writer switches to a dedicated HEVC Main10 + BT.2020 output path that:
This mode is intended for use when the input video is HDR; the 8-bit GL pipeline cannot reconstruct the original highlight precision, but the resulting file is a correctly-tagged HDR container.
Definition at line 82 of file mxwrite.hpp.
| int EncodeOptions::HdrInfo::color_primaries = 0 |
AVColorPrimaries value.
Definition at line 84 of file mxwrite.hpp.
| int EncodeOptions::HdrInfo::color_range = 0 |
AVColorRange value. Raw AVMasteringDisplayMetadata side-data bytes, or empty.
Definition at line 87 of file mxwrite.hpp.
| int EncodeOptions::HdrInfo::color_space = 0 |
AVColorSpace value.
Definition at line 86 of file mxwrite.hpp.
| int EncodeOptions::HdrInfo::color_trc = 0 |
AVColorTransferCharacteristic value.
Definition at line 85 of file mxwrite.hpp.
| std::vector<uint8_t> EncodeOptions::HdrInfo::content_light |
Raw AVContentLightMetadata side-data bytes, or empty.
Definition at line 91 of file mxwrite.hpp.
| bool EncodeOptions::HdrInfo::enabled = false |
Enables the HDR output path.
Definition at line 83 of file mxwrite.hpp.
| std::vector<uint8_t> EncodeOptions::HdrInfo::mastering_display |
Definition at line 89 of file mxwrite.hpp.