harmony 鸿蒙OH_Pixelmap_HdrGainmapMetadata

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

OH_Pixelmap_HdrGainmapMetadata

Overview

The OH_Pixelmap_HdrGainmapMetadata struct describes the gain map metadata values available for the key HDR_GAINMAP_METADATA. For details, see ISO 21496-1.

Since: 12

Related module: Image_NativeModule

Header file: pixelmap_native.h

Summary

Member Variables

Name Description
uint16_t writerVersion Version used by the metadata editor.
uint16_t miniVersion Minimum version that needs to be understood for metadata parsing.
uint8_t gainmapChannelNum Number of color channels of the gain map. When the value is 3, the metadata values of the RGB channels are different. When the value is 1, the metadata values of the RGB channels are the same.
bool useBaseColorFlag Whether to use the color space of the base graphic. For details, see ISO 21496-1.
float baseHeadroom Headroom of the base graphic, which means the additional brightness that can be added to the base graphic. For details, see ISO 21496-1.
float alternateHeadroom Headroom of the alternate graphic. For details, see ISO 21496-1.
float gainmapMax[3] Maximum value of the gain map. For details, see ISO 21496-1.
float gainmapMin[3] Minimum value of the gain map. For details, see ISO 21496-1.
float gamma[3] Gamma. For details, see ISO 21496-1.
float baselineOffset[3] Offset of the base graphic. For details, see ISO 21496-1.
float alternateOffset[3] Offset of the alternative graphic that can be extracted. For details, see ISO 21496-1.

Member Variable Description

alternateHeadroom

float OH_Pixelmap_HdrGainmapMetadata::alternateHeadroom

Description

Headroom of the alternate graphic. For details, see ISO 21496-1.

alternateOffset

float OH_Pixelmap_HdrGainmapMetadata::alternateOffset[3]

Description

Offset of the alternative graphic that can be extracted. For details, see ISO 21496-1.

baseHeadroom

float OH_Pixelmap_HdrGainmapMetadata::baseHeadroom

Description

Headroom of the base graphic, which means the additional brightness that can be added to the base graphic. For details, see ISO 21496-1.

baselineOffset

float OH_Pixelmap_HdrGainmapMetadata::baselineOffset[3]

Description

Offset of the base graphic. For details, see ISO 21496-1.

gainmapChannelNum

uint8_t OH_Pixelmap_HdrGainmapMetadata::gainmapChannelNum

Description

Number of color channels of the gain map. When the value is 3, the metadata values of the RGB channels are different. When the value is 1, the metadata values of the RGB channels are the same.

gainmapMax

float OH_Pixelmap_HdrGainmapMetadata::gainmapMax[3]

Description

Maximum value of the gain map. For details, see ISO 21496-1.

gainmapMin

float OH_Pixelmap_HdrGainmapMetadata::gainmapMin[3]

Description

Minimum value of the gain map. For details, see ISO 21496-1.

gamma

float OH_Pixelmap_HdrGainmapMetadata::gamma[3]

Description

Gamma. For details, see ISO 21496-1.

miniVersion

uint16_t OH_Pixelmap_HdrGainmapMetadata::miniVersion

Description

Minimum version that needs to be understood for metadata parsing.

useBaseColorFlag

bool OH_Pixelmap_HdrGainmapMetadata::useBaseColorFlag

Description

Whether to use the color space of the base graphic. For details, see ISO 21496-1.

writerVersion

uint16_t OH_Pixelmap_HdrGainmapMetadata::writerVersion

Description

Version used by the metadata editor.

你可能感兴趣的鸿蒙文章

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  赞