DynamicRange

interface DynamicRange

Represents a Dynamic Range, often used for recording HDR videos using a CameraVideoOutput.

Discussion

To get all available DynamicRanges on a device, use CameraDevice.supportedVideoDynamicRanges.

Discussion

To use a specific DynamicRange in a Camera session, use a VideoDynamicRangeConstraint.

Properties

bitDepth

The bit-depth for the dynamic range. Often 8-bit or 10-bit.


colorRange

colorRange: ColorRange

The range of YUV color components.


colorSpace

colorSpace: ColorSpace

The color-space for the dynamic range.

SDR is often composed of srgb and p3-d65, and HDR is often composed of hlg-bt2020.