Mastering metadata.
Describes the metadata for HDR10.
More...
Mastering metadata.
Describes the metadata for HDR10.
Used when video is compressed using High Efficiency Video Coding (HEVC). This is used to describe the capabilities of the display used to master the content and the luminance values of the content.
Used on kodi::addon::InputstreamInfo::SetMasteringMetadata and kodi::addon::InputstreamInfo::GetMasteringMetadata.
The following table contains values that can be set with class InputstreamMasteringMetadata :
◆ GetLuminanceMax()
double kodi::addon::InputstreamMasteringMetadata::GetLuminanceMax |
( |
| ) |
|
|
inline |
Get the maximum number of bits of the display.
◆ GetLuminanceMin()
double kodi::addon::InputstreamMasteringMetadata::GetLuminanceMin |
( |
| ) |
|
|
inline |
Get the minimum number of bits of the display.
◆ GetPrimaryB_ChromaticityX()
double kodi::addon::InputstreamMasteringMetadata::GetPrimaryB_ChromaticityX |
( |
| ) |
|
|
inline |
Get the chromaticity X coordinates of the blue value.
◆ GetPrimaryB_ChromaticityY()
double kodi::addon::InputstreamMasteringMetadata::GetPrimaryB_ChromaticityY |
( |
| ) |
|
|
inline |
Get the chromaticity Y coordinates of the blue value.
◆ GetPrimaryG_ChromaticityX()
double kodi::addon::InputstreamMasteringMetadata::GetPrimaryG_ChromaticityX |
( |
| ) |
|
|
inline |
Get the chromaticity X coordinates of the green value.
◆ GetPrimaryG_ChromaticityY()
double kodi::addon::InputstreamMasteringMetadata::GetPrimaryG_ChromaticityY |
( |
| ) |
|
|
inline |
Get the chromaticity Y coordinates of the green value.
◆ GetPrimaryR_ChromaticityX()
double kodi::addon::InputstreamMasteringMetadata::GetPrimaryR_ChromaticityX |
( |
| ) |
|
|
inline |
Get the chromaticity X coordinates of the red value.
◆ GetPrimaryR_ChromaticityY()
double kodi::addon::InputstreamMasteringMetadata::GetPrimaryR_ChromaticityY |
( |
| ) |
|
|
inline |
Get the chromaticity Y coordinates of the red value.
◆ GetWhitePoint_ChromaticityX()
double kodi::addon::InputstreamMasteringMetadata::GetWhitePoint_ChromaticityX |
( |
| ) |
|
|
inline |
Get the chromaticity X coordinates of the white point.
◆ GetWhitePoint_ChromaticityY()
double kodi::addon::InputstreamMasteringMetadata::GetWhitePoint_ChromaticityY |
( |
| ) |
|
|
inline |
Get the chromaticity Y coordinates of the white point.
◆ operator==()
Metadata class compare.
To compare the metadata with another one.
- Returns
- true if they equal, false otherwise
◆ SetLuminanceMax()
void kodi::addon::InputstreamMasteringMetadata::SetLuminanceMax |
( |
double | value | ) |
|
|
inline |
Set the maximum number of bits of the display used to master the content.
Values are normalized to 10,000.
◆ SetLuminanceMin()
void kodi::addon::InputstreamMasteringMetadata::SetLuminanceMin |
( |
double | value | ) |
|
|
inline |
Set the minimum number of bits of the display used to master the content.
Values are normalized to 10,000.
◆ SetPrimaryB_ChromaticityX()
void kodi::addon::InputstreamMasteringMetadata::SetPrimaryB_ChromaticityX |
( |
double | value | ) |
|
|
inline |
The chromaticity coordinates of the blue value in the CIE1931 color space.
X coordinate. The values are normalized to 50,000.
◆ SetPrimaryB_ChromaticityY()
void kodi::addon::InputstreamMasteringMetadata::SetPrimaryB_ChromaticityY |
( |
double | value | ) |
|
|
inline |
The chromaticity coordinates of the blue value in the CIE1931 color space.
Y coordinate. The values are normalized to 50,000.
◆ SetPrimaryG_ChromaticityX()
void kodi::addon::InputstreamMasteringMetadata::SetPrimaryG_ChromaticityX |
( |
double | value | ) |
|
|
inline |
Set the chromaticity coordinates of the green value in the CIE1931 color space.
X coordinate. The values are normalized to 50,000.
◆ SetPrimaryG_ChromaticityY()
void kodi::addon::InputstreamMasteringMetadata::SetPrimaryG_ChromaticityY |
( |
double | value | ) |
|
|
inline |
Set the chromaticity coordinates of the green value in the CIE1931 color space.
Y coordinate. The values are normalized to 50,000.
◆ SetPrimaryR_ChromaticityX()
void kodi::addon::InputstreamMasteringMetadata::SetPrimaryR_ChromaticityX |
( |
double | value | ) |
|
|
inline |
Set the chromaticity coordinates of the red value in the CIE1931 color space.
X coordinate. The values are normalized to 50,000.
◆ SetPrimaryR_ChromaticityY()
void kodi::addon::InputstreamMasteringMetadata::SetPrimaryR_ChromaticityY |
( |
double | value | ) |
|
|
inline |
The chromaticity coordinates of the red value in the CIE1931 color space.
Y coordinate. The values are normalized to 50,000.
◆ SetWhitePoint_ChromaticityX()
void kodi::addon::InputstreamMasteringMetadata::SetWhitePoint_ChromaticityX |
( |
double | value | ) |
|
|
inline |
Set the chromaticity coordinates of the white point in the CIE1931 color space.
X coordinate. The values are normalized to 50,000.
◆ SetWhitePoint_ChromaticityY()
void kodi::addon::InputstreamMasteringMetadata::SetWhitePoint_ChromaticityY |
( |
double | value | ) |
|
|
inline |
Set the chromaticity coordinates of the white point in the CIE1931 color space.
Y coordinate. The values are normalized to 50,000.