typedef struct OH_Pixelmap_HdrDynamicMetadata {...} OH_Pixelmap_HdrDynamicMetadata This struct represents the dynamic metadata value corresponding to the HDR_DYNAMIC_METADATA keyword, used to store the dynamic metadata of an HDR image. HDR dynamic metadata can be used to dynamically adjust the display parameters of an HDR image during the display process, so as to adapt to the capabilities of different display devices and achieve more accurate HDR display effects. It is used as a member of OH_Pixelmap_HdrMetadataValue when calling OH_PixelmapNative_SetMetadata and OH_PixelmapNative_GetMetadata.
Since: 12
Related module: Image_NativeModule
Header file: pixelmap_native.h
| Name | Description |
|---|---|
| uint8_t *data | Pointer to the dynamic metadata value, pointing to the binary data buffer that stores the dynamic metadata. The buffer length is specified by the length member. |
| uint32_t length | Length of the dynamic metadata value, in bytes. The value must be consistent with the actual length of the data buffer pointed to by data. |