Borrowed provenance for one publication; strings must outlive encoding. More...
#include <lwir_image.h>

Data Fields | |
| struct sensor_capture | capture |
| uint64_t | request_us |
| uint64_t | arrival_us |
| uint64_t | request_id |
| uint64_t | kernel_monotonic_us |
| unsigned | kernel_timestamp_flags |
| const char * | serial |
| const char * | gain |
| const char * | raw_path |
| const char * | rendering |
| const struct lwir_measurement * | measurement |
| const struct lwir_thresholds * | thresholds |
| const struct lwir_temperature_stats * | statistics |
| const struct lwir_device_state * | device_state |
| unsigned | warn_percent |
| char | frame_sha256 [65] |
| enum lwir_frame_layout | layout |
Detailed Description
Borrowed provenance for one publication; strings must outlive encoding.
User labels, post-frame state and unknown exposure timing stay distinct. Every field is copied into the APP14 text as-is; nothing here is validated against the device. NULL strings are recorded as fixed placeholders so a reader can tell "not supplied" from an empty value.
Definition at line 63 of file lwir_image.h.
Field Documentation
◆ arrival_us
| uint64_t lwir_evidence::arrival_us |
Host time the frame arrived, microseconds; arrival is not exposure time.
Definition at line 66 of file lwir_image.h.
◆ capture
| struct sensor_capture lwir_evidence::capture |
Boot id and sequence go to APP14; the whole record becomes the EXIF sensor-capture tag on live frames.
Definition at line 64 of file lwir_image.h.
◆ device_state
| const struct lwir_device_state* lwir_evidence::device_state |
Optional post-frame device snapshot; dropped for synthetic output, must be NULL for image-only frames.
Definition at line 77 of file lwir_image.h.
◆ frame_sha256
| char lwir_evidence::frame_sha256[65] |
NUL-terminated hex SHA-256 of the frame; readers require 64 lowercase hex digits.
Definition at line 79 of file lwir_image.h.
◆ gain
| const char* lwir_evidence::gain |
Operator gain label, not a device readback; NULL is recorded as "unknown".
Definition at line 71 of file lwir_image.h.
◆ kernel_monotonic_us
| uint64_t lwir_evidence::kernel_monotonic_us |
Kernel buffer timestamp; recorded but explicitly not a qualified exposure time.
Definition at line 68 of file lwir_image.h.
◆ kernel_timestamp_flags
| unsigned lwir_evidence::kernel_timestamp_flags |
Kernel buffer timestamp flags, recorded verbatim.
Definition at line 69 of file lwir_image.h.
◆ layout
| enum lwir_frame_layout lwir_evidence::layout |
LWIR_YUYV_IMAGE selects image-only encoding and validation.
Definition at line 80 of file lwir_image.h.
◆ measurement
| const struct lwir_measurement* lwir_evidence::measurement |
Optional measurement geometry; written only together with statistics.
Definition at line 74 of file lwir_image.h.
◆ raw_path
| const char* lwir_evidence::raw_path |
Raw companion path; NULL is recorded as "none". Must be NULL for image-only frames.
Definition at line 72 of file lwir_image.h.
◆ rendering
| const char* lwir_evidence::rendering |
Rendering description; NULL is recorded as "sensor".
Definition at line 73 of file lwir_image.h.
◆ request_id
| uint64_t lwir_evidence::request_id |
Caller request identifier, recorded verbatim.
Definition at line 67 of file lwir_image.h.
◆ request_us
| uint64_t lwir_evidence::request_us |
Host time the capture was requested, microseconds.
Definition at line 65 of file lwir_image.h.
◆ serial
| const char* lwir_evidence::serial |
Camera serial; NULL is recorded as "unknown".
Definition at line 70 of file lwir_image.h.
◆ statistics
| const struct lwir_temperature_stats* lwir_evidence::statistics |
Optional measurement results; must be NULL for image-only frames.
Definition at line 76 of file lwir_image.h.
◆ thresholds
| const struct lwir_thresholds* lwir_evidence::thresholds |
Optional coverage band; NULL is recorded as disabled.
Definition at line 75 of file lwir_image.h.
◆ warn_percent
| unsigned lwir_evidence::warn_percent |
Advisory coverage warning percentage, recorded verbatim.
Definition at line 78 of file lwir_image.h.
The documentation for this struct was generated from the following file:
- modules/lwir_cam/lwir_image.h