harmony 鸿蒙OH_Pixelmap_HdrGainmapMetadata

2025-06-12 浏览 (1)

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

NameDescription
uint16_t writerVersionVersion used by the metadata editor.
uint16_t miniVersionMinimum version that needs to be understood for metadata parsing.
uint8_t gainmapChannelNumNumber 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 useBaseColorFlagWhether to use the color space of the base graphic. For details, see ISO 21496-1.
float baseHeadroomHeadroom of the base graphic, which means the additional brightness that can be added to the base graphic. For details, see ISO 21496-1.
float alternateHeadroomHeadroom 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

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/2cdkAc