openharmony 鸿蒙 js-apis-hdrCapability

2025-06-12 浏览 (1)

@ohos.graphics.hdrCapability (HDR Capability)

The hdrCapability module provides enums related to the High Dynamic Range (HDR) capability.

NOTE

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.

Modules to Import

import { hdrCapability } from '@kit.ArkGraphics2D';

HDRFormat

Enumerates the HDR formats.

Atomic service API: This API can be used in atomic services since API version 12.

System capability: SystemCapability.Graphic.Graphic2D.ColorManager.Core

NameValueDescription
NONE0Unsupported HDR type.
VIDEO_HLG1Videos in Hybrid Log-Gamma (HLG) format.
VIDEO_HDR102Videos in HDR10 format.
VIDEO_HDR_VIVID3Videos in HDR_VIVID format.
IMAGE_HDR_VIVID_DUAL4Images in HDR_VIVID format, stored in dual JPEG format.
IMAGE_HDR_VIVID_SINGLE5Images in HDR_VIVID format, stored in single HEIF format.
IMAGE_HDR_ISO_DUAL6Images in HDR_ISO format, stored in dual JPEG format.
IMAGE_HDR_ISO_SINGLE7Images in HDR_ISO format, stored in single HEIF format.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

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