harmony 鸿蒙OH_Pixelmap_HdrStaticMetadata

  • 2025-06-12
  • 浏览 (5)

OH_Pixelmap_HdrStaticMetadata

Overview

The OH_Pixelmap_HdrStaticMetadata struct describes the static metadata values available for the key HDR_STATIC_METADATA.

Since: 12

Related module: Image_NativeModule

Header file: pixelmap_native.h

Summary

Member Variables

Name Description
float displayPrimariesX[3] X coordinate of the three primary colors of the display device after normalization. The array length is 3. The unit is 0.00002. The value range is [0.0, 1.0].
float displayPrimariesY[3] Y coordinate of the three primary colors of the display device after normalization. The array length is 3. The unit is 0.00002. The value range is [0.0, 1.0].
float whitePointX X coordinate of the white point after normalization. The unit is 0.00002. The value range is [0.0, 1.0].
float whitePointY X coordinate of the white point after normalization. The unit is 0.00002. The value range is [0.0, 1.0].
float maxLuminance Maximum luminance of the main monitor. The unit is 1, and the maximum value is 65535.
float minLuminance Minimum luminance of the main monitor. The unit is 0.0001, and the maximum value is 6.55535.
float maxContentLightLevel Maximum luminance of the displayed content. The unit is 1, and the maximum value is 65535.
float maxFrameAverageLightLevel Maximum average luminance of the displayed content. The unit is 1, and the maximum value is 65535.

Member Variable Description

displayPrimariesX

float OH_Pixelmap_HdrStaticMetadata::displayPrimariesX[3]

Description

X coordinate of the three primary colors of the display device after normalization. The array length is 3. The unit is 0.00002. The value range is [0.0, 1.0].

displayPrimariesY

float OH_Pixelmap_HdrStaticMetadata::displayPrimariesY[3]

Description

Y coordinate of the three primary colors of the display device after normalization. The array length is 3. The unit is 0.00002. The value range is [0.0, 1.0].

maxContentLightLevel

float OH_Pixelmap_HdrStaticMetadata::maxContentLightLevel

Description

Maximum luminance of the displayed content. The unit is 1, and the maximum value is 65535.

maxFrameAverageLightLevel

float OH_Pixelmap_HdrStaticMetadata::maxFrameAverageLightLevel

Description

Maximum average luminance of the displayed content. The unit is 1, and the maximum value is 65535.

maxLuminance

float OH_Pixelmap_HdrStaticMetadata::maxLuminance

Description

Maximum luminance of the main monitor. The unit is 1, and the maximum value is 65535.

minLuminance

float OH_Pixelmap_HdrStaticMetadata::minLuminance

Description

Minimum luminance of the main monitor. The unit is 0.0001, and the maximum value is 6.55535.

whitePointX

float OH_Pixelmap_HdrStaticMetadata::whitePointX

Description

X coordinate of the white point after normalization. The unit is 0.00002. The value range is [0.0, 1.0].

whitePointY

float OH_Pixelmap_HdrStaticMetadata::whitePointY

Description

Y coordinate of the white point after normalization. The unit is 0.00002. The value range is [0.0, 1.0].

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Image Kit

harmony 鸿蒙_image___native_module

harmony 鸿蒙Image_Region

harmony 鸿蒙Image_Size

harmony 鸿蒙Image_String

harmony 鸿蒙ImageEffect

harmony 鸿蒙ImageEffect_Any

harmony 鸿蒙ImageEffect_FilterDelegate

harmony 鸿蒙ImageEffect_FilterNames

harmony 鸿蒙ImageEffect_Region

0  赞