Monado OpenXR Runtime
Loading...
Searching...
No Matches
rift_exposure_event Struct Reference

One camera exposure the HMD told us about, held so that late frames can still find the exposure they belong to. More...

#include <rift/rift_internal.h>

Collaboration diagram for rift_exposure_event:

Data Fields

uint32_t sequence
 The value of rift_hmd::exposure_counter at this exposure.
 
timepoint_ns timestamp_ns
 When the exposure started, in local monotonic time. This is what frames matched to it are timestamped with.
 
timepoint_ns recv_timestamp_ns
 When the IN report announcing this exposure arrived, in local monotonic time.
 

Detailed Description

One camera exposure the HMD told us about, held so that late frames can still find the exposure they belong to.

Field Documentation

◆ recv_timestamp_ns

timepoint_ns rift_exposure_event::recv_timestamp_ns

When the IN report announcing this exposure arrived, in local monotonic time.

Frames are matched against this rather than against timestamp_ns. Both the report and the frame have travelled over USB before we see them, so their arrival times share most of that delay and land near each other; the exposure instant on the HMD's own clock is a good deal earlier than either.

Referenced by rift_hmd_frame_timestamp_callback().

◆ sequence

uint32_t rift_exposure_event::sequence

The value of rift_hmd::exposure_counter at this exposure.

Referenced by rift_hmd_frame_timestamp_callback().

◆ timestamp_ns

timepoint_ns rift_exposure_event::timestamp_ns

When the exposure started, in local monotonic time. This is what frames matched to it are timestamped with.

Referenced by rift_hmd_frame_timestamp_callback().


The documentation for this struct was generated from the following file: