Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Detailed Description

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 :

Name Type Set call Get call
Chromaticity X coordinates of the red double SetPrimaryR_ChromaticityX GetPrimaryR_ChromaticityX
Chromaticity Y coordinates of the red double SetPrimaryR_ChromaticityY GetPrimaryR_ChromaticityY
Chromaticity X coordinates of the green double SetPrimaryG_ChromaticityX GetPrimaryG_ChromaticityX
Chromaticity Y coordinates of the green double SetPrimaryG_ChromaticityY GetPrimaryG_ChromaticityY
Chromaticity X coordinates of the blue double SetPrimaryB_ChromaticityX GetPrimaryB_ChromaticityX
Chromaticity Y coordinates of the blue double SetPrimaryB_ChromaticityY GetPrimaryB_ChromaticityY
Chromaticity X coordinates of the white point double SetWhitePoint_ChromaticityX GetWhitePoint_ChromaticityX
Chromaticity Y coordinates of the white point double SetWhitePoint_ChromaticityY GetWhitePoint_ChromaticityY
Maximum number of bits of the display double SetLuminanceMax GetLuminanceMax
Minimum number of bits of the display double SetLuminanceMin GetLuminanceMin

Topics

 Value Help
 

Function Documentation

◆ operator==()

bool operator== ( const kodi::addon::InputstreamMasteringMetadata & right) const
inline

Metadata class compare.

To compare the metadata with another one.

Returns
true if they equal, false otherwise

◆ SetPrimaryR_ChromaticityX()

void 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.

◆ GetPrimaryR_ChromaticityX()

double GetPrimaryR_ChromaticityX ( )
inline

Get the chromaticity X coordinates of the red value.

◆ SetPrimaryR_ChromaticityY()

void 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.

◆ GetPrimaryR_ChromaticityY()

double GetPrimaryR_ChromaticityY ( )
inline

Get the chromaticity Y coordinates of the red value.

◆ SetPrimaryG_ChromaticityX()

void 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.

◆ GetPrimaryG_ChromaticityX()

double GetPrimaryG_ChromaticityX ( )
inline

Get the chromaticity X coordinates of the green value.

◆ SetPrimaryG_ChromaticityY()

void 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.

◆ GetPrimaryG_ChromaticityY()

double GetPrimaryG_ChromaticityY ( )
inline

Get the chromaticity Y coordinates of the green value.

◆ SetPrimaryB_ChromaticityX()

void 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.

◆ GetPrimaryB_ChromaticityX()

double GetPrimaryB_ChromaticityX ( )
inline

Get the chromaticity X coordinates of the blue value.

◆ SetPrimaryB_ChromaticityY()

void 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.

◆ GetPrimaryB_ChromaticityY()

double GetPrimaryB_ChromaticityY ( )
inline

Get the chromaticity Y coordinates of the blue value.

◆ SetWhitePoint_ChromaticityX()

void 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.

◆ GetWhitePoint_ChromaticityX()

double GetWhitePoint_ChromaticityX ( )
inline

Get the chromaticity X coordinates of the white point.

◆ SetWhitePoint_ChromaticityY()

void 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.

◆ GetWhitePoint_ChromaticityY()

double GetWhitePoint_ChromaticityY ( )
inline

Get the chromaticity Y coordinates of the white point.

◆ SetLuminanceMax()

void SetLuminanceMax ( double value)
inline

Set the maximum number of bits of the display used to master the content.

Values are normalized to 10,000.

◆ GetLuminanceMax()

double GetLuminanceMax ( )
inline

Get the maximum number of bits of the display.

◆ SetLuminanceMin()

void SetLuminanceMin ( double value)
inline

Set the minimum number of bits of the display used to master the content.

Values are normalized to 10,000.

◆ GetLuminanceMin()

double GetLuminanceMin ( )
inline

Get the minimum number of bits of the display.