One caller-serialized native worker and its borrowed configuration. More...
#include <imx500_pipe.h>
Data Fields | |
| const char * | command |
| const char * | model |
| const char * | settings |
| bool | analyze |
| bool | photo_only |
| const char * | directory |
| char | prefix |
| pid_t | pid |
| int | socket |
| const volatile sig_atomic_t * | running |
Detailed Description
One caller-serialized native worker and its borrowed configuration.
Initialize with IMX500_PIPE_INITIALIZER before the first lifecycle call. Keep path strings alive until shutdown; no field makes an owned copy.
- Warning
- Calls on one instance must be serialized by its backend owner.
Definition at line 35 of file imx500_pipe.h.
Field Documentation
◆ analyze
| bool imx500_pipe::analyze |
Saved-picture requests rather than capture; this worker must never acquire the sensor.
Definition at line 39 of file imx500_pipe.h.
◆ command
| const char* imx500_pipe::command |
Native executable, passed to posix_spawnp without a shell.
Definition at line 36 of file imx500_pipe.h.
◆ directory
| const char* imx500_pipe::directory |
Photo destination resolved by the parent before each request.
Definition at line 41 of file imx500_pipe.h.
◆ model
| const char* imx500_pipe::model |
RPK selected by the application, not interpreted here.
Definition at line 37 of file imx500_pipe.h.
◆ photo_only
| bool imx500_pipe::photo_only |
Live camera capture without a model or inference settings.
Definition at line 40 of file imx500_pipe.h.
◆ pid
| pid_t imx500_pipe::pid |
Owned child PID; -1 means no child remains to be reaped.
Definition at line 43 of file imx500_pipe.h.
◆ prefix
| char imx500_pipe::prefix |
Backend-selected lowercase photo namespace, such as 'a' or 'o'.
Definition at line 42 of file imx500_pipe.h.
◆ running
| const volatile sig_atomic_t* imx500_pipe::running |
Optional borrowed USHER cancellation flag, alive until this owner stops.
Definition at line 45 of file imx500_pipe.h.
◆ settings
| const char* imx500_pipe::settings |
Borrowed application_settings.ini path; NULL preserves the explicit RPK argument form.
Definition at line 38 of file imx500_pipe.h.
◆ socket
| int imx500_pipe::socket |
Parent command/status descriptor; -1 means the channel is closed.
Definition at line 44 of file imx500_pipe.h.
The documentation for this struct was generated from the following file:
- src/imx500_pipe.h