Loading...
Searching...
No Matches
usher_frame_timing.h
Go to the documentation of this file.
46 uint64_t monotonic_us; ///< Estimated exposure/readout-window midpoint in MONOTONIC microseconds.
80bool usher_frame_document(const struct usher_frame_timing *timing, unsigned width, unsigned height,
Bounded C11 EXIF metadata and JPEG streaming interfaces.
Timing evidence for one exposure, with microsecond uncertainty.
Definition usher_frame_timing.h:43
uint64_t sensor_ns
Original sensor timestamp in BOOTTIME nanoseconds; zero if invalid.
Definition usher_frame_timing.h:45
uint64_t monotonic_us
Estimated exposure/readout-window midpoint in MONOTONIC microseconds.
Definition usher_frame_timing.h:46
int64_t exposure_us
Reported exposure duration, retained even when rejected.
Definition usher_frame_timing.h:48
int64_t duration_us
Reported frame duration used as a readout allowance.
Definition usher_frame_timing.h:49
uint64_t time_error_us
Conservative alignment allowance, not calibrated accuracy.
Definition usher_frame_timing.h:47
uint64_t sequence
Camera frame sequence, not a flight-controller shot number.
Definition usher_frame_timing.h:44
struct usher_frame_timing usher_frame_timing_estimate(uint64_t sequence, uint64_t sensor_ns, int64_t exposure_us, int64_t duration_us)
Translate fresh sensor evidence into a cautious pose-alignment time.
Definition usher_frame_timing.c:67
bool usher_frame_document(const struct usher_frame_timing *timing, unsigned width, unsigned height, struct exif_document *document)
Initialize capture EXIF for the JPEG encoded from this exposure.
Definition usher_frame_timing.c:114