Skip to content

dynamic_range

dynamic_range #

The video-capture dynamic-range enum.

DynamicRange #

Bases: Enum

A video capture's dynamic range, shared by every video node.

  • SDR — standard dynamic range (default).
  • HDR — the richest HDR the capturing pipeline offers: 10-bit HLG/BT.2020 on the device-camera video nodes; exposure fusion within the unchanged 8-bit BT.709 feed on the ARKit posed nodes (ARKit has no 10-bit format). Best-effort, like every capture preference: a device or format without HDR records SDR rather than failing the capture.
Source code in capturegraph-lib/capturegraph/types/scalars/imaging/dynamic_range.py
class DynamicRange(Enum, name="edu.cornell.dynamic_range"):
    """A video capture's dynamic range, shared by every video node.

    - ``SDR`` — standard dynamic range (default).
    - ``HDR`` — the richest HDR the capturing pipeline offers: 10-bit
      HLG/BT.2020 on the device-camera video nodes; exposure fusion within
      the unchanged 8-bit BT.709 feed on the ARKit posed nodes (ARKit has
      no 10-bit format). Best-effort, like every capture preference: a
      device or format without HDR records SDR rather than failing the
      capture.
    """

    SDR = "sdr"
    HDR = "hdr"