OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C API referencev12.0

optris_sdk_timeline_span

One span of history on disk.

Times are microseconds on the camera's clock -- the same domain the per-frame telemetry carries -- because that is what optris_sdk_imager_save_clip() takes its in and out points in.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_timeline_span).

all_intra

int32_t all_intra

Non-zero when every frame in it is a seek anchor, so a cut inside it needs no snapping back. Read from the container rather than from the setting that was in force, so a history spanning a settings change describes each segment correctly.

path

char path[OPTRIS_SDK_MAX_PATH]

Absolute path of the segment file, UTF-8.

from_us

uint64_t from_us

Capture time of its first frame.

to_us

uint64_t to_us

Capture time of its last frame.

unix_us

uint64_t unix_us

Host wall clock when its first frame was written, as microseconds since the Unix epoch. A label for a transport bar, not a seek key; zero for a segment adopted from a run whose catalog did not survive.

frames

uint64_t frames

Frames in it, counted from the container.

segment_bytes

uint64_t segment_bytes

Size of the segment file on disk.