Loading...
Searching...
No Matches
lwir_device.h
Go to the documentation of this file.
88 * @details Zero dimensions select native geometry; Tiny1C's 256x192 image-only UVC mode is not combined data.
111 /** Optional measurement region validated against the native geometry at open; NULL skips it. */
128 enum lwir_frame_layout layout; /**< Combined Tiny1-C or image-only TDK, fixed by USB identity. */
154 char video_power_port[64]; /**< Physical USB port name (for example 1-1.2) used to name the marker. */
159 struct lwir_video_buffer video_buffers[LWIR_VIDEO_BUFFERS]; /**< Mappings; only the first @c video_count are used. */
162/** @brief Host observation plus optional kernel clock evidence, never automatic exposure qualification. */
bool lwir_device_discard(struct lwir_device *device, bool *received)
Drain one pending frame without retaining the borrowed UVC buffer.
Definition lwir_device_v4l2.c:1090
void lwir_device_read_state(struct lwir_device *device, struct lwir_device_state *state)
Read bounded optional state after acquisition, never writing device settings.
Definition lwir_device_v4l2.c:1319
bool lwir_device_acquire(struct lwir_device *device, const struct lwir_device_options *options, uint8_t *destination, size_t capacity, struct lwir_device_observation *observation)
Copy a qualified, fresh camera-layout frame into caller-owned storage.
Definition lwir_device_v4l2.c:963
bool lwir_device_open(struct lwir_device_options *options, struct lwir_device *device)
Open/start a bounded camera-specific combined or image-only YUY2 stream.
Definition lwir_device_v4l2.c:651
bool lwir_device_control(struct lwir_device *device, const struct lwir_control_request *request, struct lwir_control_result *result)
Submit one Tiny1-C vendor control write (or FFC action) as a standalone operation.
Definition lwir_device_v4l2.c:1289
#define LWIR_VIDEO_BUFFERS
Number of V4L2 MMAP buffers requested from uvcvideo.
Definition lwir_device.h:70
bool lwir_device_control_read(struct lwir_device *device, enum lwir_control_kind kind, struct lwir_control_result *result)
Read the current value of one Tiny1-C control without writing it.
Definition lwir_device_v4l2.c:1300
void lwir_device_close(struct lwir_device *device)
Close an initialized session; safe repeatedly and preserves errno.
Definition lwir_device_v4l2.c:525
Native frame arithmetic and camera measurements; no codec or flight dependencies.
lwir_frame_layout
Buffer content kinds: full image+thermal frame, or the YUYV image plane alone.
Definition lwir_frame.h:54
Tiny1-C vendor mailbox: bounded device-state snapshots and verified setting controls.
One requested setting change; validate with lwir_control_valid().
Definition lwir_state.h:181
Outcome of lwir_state_control() or lwir_state_control_read().
Definition lwir_state.h:195
Host observation plus optional kernel clock evidence, never automatic exposure qualification.
Definition lwir_device.h:163
unsigned kernel_timestamp_flags
Definition lwir_device.h:173
uint64_t kernel_monotonic_us
Definition lwir_device.h:170
Bounded camera policy; Tiny1C requires full 256x192 image and temperature planes.
Definition lwir_device.h:93
const struct lwir_measurement * measurement
Definition lwir_device.h:112
One post-capture snapshot of all lwir_state_field values.
Definition lwir_state.h:135
struct lwir_video_buffer video_buffers[LWIR_VIDEO_BUFFERS]
Definition lwir_device.h:159