Loading...
Searching...
No Matches
camera_capture.h
Go to the documentation of this file.
63 char destination[4096]; /**< Requested public filename; existing originals must not be replaced. */
96 unsigned max_in_flight; /**< Per-camera limit, currently 1..2; not a whole-MORA memory budget. */
static void capture_set_running(volatile sig_atomic_t *running, bool active)
Update cancellation without locks; this flag does not publish other shared state.
Definition camera_capture.h:52
static bool capture_running(const volatile sig_atomic_t *running)
Atomically poll a borrowed cancellation flag; NULL means no cancellation.
Definition camera_capture.h:46
Driver capabilities whose table must outlive every pending image.
Definition camera_capture.h:73
int(* finish)(struct camera_pending *pending, char *filename, size_t size, const volatile sig_atomic_t *running)
Finish the exact acquisition represented by pending.
Definition camera_capture.h:90
bool(* has_capacity)(void)
Nonblocking capacity snapshot; acquisition remains the admission authority.
Definition camera_capture.h:95
int(* acquire)(struct camera_pending *pending, int image_number)
Retain one exposure without waiting for its final JPEG publication.
Definition camera_capture.h:80
Per-image ownership record, kept alive until the matching finish call.
Definition camera_capture.h:61