OptrisOptrisDocumentation

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

optris_sdk_session_source

One camera's place in a session.

Call optris_sdk_session_source_init() first.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_session_source).

width

uint32_t width

Frame width in pixels. Required.

height

uint32_t height

Frame height in pixels. Required.

frame_rate

float frame_rate

Nominal capture frame rate in Hz. What the source actually delivers is measured; this is what it says about itself.

kind

int32_t kind

Thermal or visual. See optris_sdk_session_source_kind. It decides which write call this source takes, and the wrong one is refused rather than converted.

timestamp_source

int32_t timestamp_source

Where this source's frames get their session time. See optris_sdk_session_timestamp_source.

name

const char * name

What the operator calls this camera -- "Furnace north". Written into the session document and used as the track title. May be NULL. Borrowed for the duration of the add call.

model

const char * model

Camera model, or NULL. Written per source, which is the thing a single-camera file's metadata cannot do for N cameras.

serial

const char * serial

Camera serial, or NULL.