optris_sdk_frame_index_entry
One frame's place in a recording.
Public attributes
struct_size
uint32_t struct_size
Set to sizeof(optris_sdk_frame_index_entry), or call optris_sdk_frame_index_entry_init().
anchor
int32_t anchor
Non-zero when a decoder can start here.
This is the container's own keyframe flag, not a guess from the frame interval, so a file whose writer marked its packets differently is described correctly rather than assumed to match ours.
frame
uint64_t frame
Zero-based position in the file, in container order.
timestamp_us
uint64_t timestamp_us
Presentation time in microseconds, measured from the recording's first frame rather than from the container's own origin -- so the first entry is always 0 and the numbers line up with optris_sdk_imager_get_playback_position_us().