Loading...
Searching...
No Matches
lwir_render.h
Go to the documentation of this file.
160bool lwir_render_dimensions(unsigned width, unsigned height, const struct lwir_render_options *options,
172bool lwir_render_native_coordinate(unsigned width, unsigned height, const struct lwir_render_options *options,
188bool lwir_render_row(const uint8_t *frame, size_t bytes, unsigned width, unsigned height, unsigned row,
193/** @brief SSSE3 helper for LWIR_SENSOR rows; internal to lwir_render.c, defined in lwir_ssse3.c.
static bool range(size_t total, size_t offset, size_t length)
Check a byte span without forming a potentially overflowing end offset.
Definition exifite.c:133
Native frame arithmetic and camera measurements; no codec or flight dependencies.
bool lwir_profile_load(const char *path, struct lwir_profile *profile)
Load bounded measured display corrections, never vendor factory tables.
Definition lwir_profile.c:137
bool lwir_render_native_coordinate(unsigned width, unsigned height, const struct lwir_render_options *options, unsigned display_x, unsigned display_y, unsigned *native_x, unsigned *native_y)
Invert display orientation before accessing calibration or native samples.
Definition lwir_render.c:191
bool lwir_render_dimensions(unsigned width, unsigned height, const struct lwir_render_options *options, unsigned *display_width, unsigned *display_height)
Derive display dimensions; quarter-turns do not change thermal geometry.
Definition lwir_render.c:136
bool lwir_profile_matches(const struct lwir_profile *profile, unsigned width, unsigned height, const char *serial, const char *gain)
Require native geometry, serial and operator gain-label agreement.
Definition lwir_profile.c:178
bool lwir_render_prepare(const uint8_t *frame, size_t bytes, unsigned width, unsigned height, const struct lwir_render_options *options, struct lwir_render_range *range)
Resolve one deterministic display window while retaining original samples.
Definition lwir_render.c:418
#define LWIR_MAX_BAD_PIXELS
Capacity of the sorted bad-pixel list in struct lwir_profile.
Definition lwir_render.h:64
bool lwir_render_row(const uint8_t *frame, size_t bytes, unsigned width, unsigned height, unsigned row, const struct lwir_render_options *options, const struct lwir_render_range *range, uint8_t *output, size_t capacity)
Emit one bounded Y/Cb/Cr scanline, without a full RGB or rotated frame.
Definition lwir_render.c:665
unsigned lwir_sensor_ssse3(const uint8_t *frame, ptrdiff_t first, ptrdiff_t step, unsigned width, uint8_t *output)
Expand eight YUYV pixels per iteration into interleaved Y/Cb/Cr, forwards or reversed.
Definition lwir_ssse3.c:58
Measured display-correction profile for one camera, gain label and geometry.
Definition lwir_render.h:70
Display policy for one rendering request; never affects stored samples.
Definition lwir_render.h:103
Resolved display window and diagnostic counts from lwir_render_prepare().
Definition lwir_render.h:127