• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# @ohos.graphics.hdrCapability (HDR Capability)
2
3The hdrCapability module provides enums related to the High Dynamic Range (HDR) capability.
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9## Modules to Import
10
11```ts
12import hdrCapability from '@ohos.graphics.hdrCapability';
13```
14
15## HDRFormat
16
17Enumerates the HDR formats.
18
19**System capability**: SystemCapability.Graphic.Graphic2D.ColorManager.Core
20
21| Name                        | Value    | Description                   |
22| --------------------------- | ------ | ----------------------- |
23| NONE                         | 0      | Unsupported HDR type.|
24| VIDEO_HLG                    | 1      | Videos in Hybrid Log-Gamma (HLG) format.|
25| VIDEO_HDR10                  | 2      | Videos in HDR10 format.|
26| VIDEO_HDR_VIVID              | 3      | Videos in HDR_VIVID format.|
27| IMAGE_HDR_VIVID_DUAL         | 4      | Images in HDR_VIVID format, stored in dual JPEG format.|
28| IMAGE_HDR_VIVID_SINGLE       | 5      | Images in HDR_VIVID format, stored in single HEIF format.|
29| IMAGE_HDR_ISO_DUAL           | 6      | Images in HDR_ISO format, stored in dual JPEG format.|
30| IMAGE_HDR_ISO_SINGLE         | 7      | Images in HDR_ISO format, stored in single HEIF format.|
31