Shared capability and lifecycle contract for USHER camera backends. More...


Go to the source code of this file.
Data Structures | |
| struct | camera_point_result |
| struct | camera_session_ops |
| struct | camera_point_stream_ops |
| Repeated correlated point updates from saved photos or non-image work. More... | |
| struct | camera_backend_host |
| struct | camera_backend |
| Function table describing one backend's owned camera operations. More... | |
Enumerations | |
| enum | { CAMERA_BACKEND_MAX_ID = 8 } |
| enum | camera_capability { CAMERA_CAP_IMAGE = 1U << 0 , CAMERA_CAP_DETECTION = 1U << 1 , CAMERA_CAP_GEOLOCATION = 1U << 2 , CAMERA_CAP_POINT_SESSION = 1U << 3 , CAMERA_CAP_FINISH_OWNED = 1U << 4 , CAMERA_CAP_MOCK = 1U << 5 , CAMERA_CAP_PRIVATE_IMAGE = 1U << 6 , CAMERA_CAP_POINT_STREAM = 1U << 7 } |
| Backend features and shared completion ownership. More... | |
Detailed Description
Shared capability and lifecycle contract for USHER camera backends.
USHER owns scheduling, UART admission, and common photo completion; a backend owns only its device/process work and advertises optional behavior through capabilities. Keeping this boundary explicit prevents a camera adapter from silently taking over unrelated backends' capture semantics.
Definition in file camera_backend.h.
Enumeration Type Documentation
◆ anonymous enum
| anonymous enum |
| Enumerator | |
|---|---|
| CAMERA_BACKEND_MAX_ID | |
Definition at line 33 of file camera_backend.h.
◆ camera_capability
| enum camera_capability |
Backend features and shared completion ownership.
CAMERA_CAP_PRIVATE_IMAGE returns paths from usher_prepare_photo. Shared completion publishes them only after all metadata writes succeed. Direct capture callers must likewise complete or retain those private files.
| Enumerator | |
|---|---|
| CAMERA_CAP_IMAGE | |
| CAMERA_CAP_DETECTION | |
| CAMERA_CAP_GEOLOCATION | |
| CAMERA_CAP_POINT_SESSION | |
| CAMERA_CAP_FINISH_OWNED | |
| CAMERA_CAP_MOCK | |
| CAMERA_CAP_PRIVATE_IMAGE | |
| CAMERA_CAP_POINT_STREAM | |
Definition at line 39 of file camera_backend.h.