Loading...
Searching...
No Matches
imx500::detail Namespace Reference
Enumerations | |
| enum class | FrameStatus { ready , startup , failed } |
Functions | |
| constexpr FrameStatus | frame_status (libcamera::FrameMetadata::Status status) |
| Map libcamera metadata to this worker's frame disposition. | |
| bool | photo_only_frame (const FrameView &frame) |
| Confirm that a frame carries no neural output. | |
Enumeration Type Documentation
◆ FrameStatus
|
strong |
| Enumerator | |
|---|---|
| ready | |
| startup | |
| failed | |
Definition at line 36 of file imx500_camera.hpp.
Function Documentation
◆ frame_status()
|
constexpr |
Map libcamera metadata to this worker's frame disposition.
- Parameters
-
status Driver-reported frame status.
- Returns
- Ready, startup, or failed.
Startup frames are not usable captures, but unlike failures they are expected while the camera pipeline settles.
Definition at line 42 of file imx500_camera.hpp.
◆ photo_only_frame()
|
inline |
Confirm that a frame carries no neural output.
- Parameters
-
frame Borrowed view of the completed request.
- Returns
- True only if both tensor data and shape metadata are absent.
Check both views so partially exposed inference metadata is not mistaken for a deliberately photo-only request.
Definition at line 98 of file imx500_camera.hpp.