openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrgainmapmetadata

2026-08-25 浏览 (1)

OH_Pixelmap_HdrGainmapMetadata

typedef struct OH_Pixelmap_HdrGainmapMetadata {...} OH_Pixelmap_HdrGainmapMetadata

Overview

The 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. true indicates yes; false indicates no.
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.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue

openharmony 鸿蒙 capi-image-imagepacker-opts-

openharmony 鸿蒙 capi-image-nativemodule-image-region

openharmony 鸿蒙 capi-image-imagepacker-native-

openharmony 鸿蒙 capi-image-imagenative-

openharmony 鸿蒙 capi-image-processing-h

openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat

openharmony 鸿蒙 capi-image-nativemodule-image-size

openharmony 鸿蒙 capi-image-mdk-h

openharmony 鸿蒙 capi-image-ohosimagesourcedelaytimelist

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