Kodi Development  20.0
for Binary and Script based Add-Ons

Detailed Description

Contentlight metadata
Describes the metadata for HDR10. See also InputstreamMasteringMetadata.

Used on kodi::addon::InputstreamInfo::SetContentLightMetadata and kodi::addon::InputstreamInfo::GetContentLightMetadata.


The following table contains values that can be set with class InputstreamContentlightMetadata :

Name Type Set call Get call
Maximum content light level double SetMaxCll GetMaxCll
Maximum frame average light level double SetMaxFall GetMaxFall

Modules

 

Function Documentation

◆ operator==()

bool operator== ( const kodi::addon::InputstreamContentlightMetadata right) const
inline

Metadata class compare.

To compare the metadata with another one.

Returns
true if they equal, false otherwise

◆ SetMaxCll()

void SetMaxCll ( uint64_t  value)
inline

Set the maximum content light level (MaxCLL).

This is the bit value corresponding to the brightest pixel used anywhere in the content.

◆ GetMaxCll()

uint64_t GetMaxCll ( )
inline

Get the maximum content light level (MaxCLL).

◆ SetMaxFall()

void SetMaxFall ( uint64_t  value)
inline

Set the maximum frame average light level (MaxFALL).

This is the bit value corresponding to the average luminance of the frame which has the brightest average luminance anywhere in the content.

◆ GetMaxFall()

uint64_t GetMaxFall ( )
inline

Get the maximum frame average light level (MaxFALL).