oa::CameraCapture
CameraCapture class in the OA Vision public surface.
Public Methods
Static Public Methods
Constructor & Destructor Documentation
Public Method Documentation
Explicit completion and release boundary for producer-owned images and mapped ring slots still referenced by GPU consumers.
Returns
StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
U64The declared return value.
No public source comment is attached to this declaration.
Returns
I32The declared return value.
No public source comment is attached to this declaration.
Returns
I32The declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
acquire and upload the newest available frame. Returns false when the camera has not produced another frame yet.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Parameters
frameVideoFrame &—
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
U64The declared return value.
release a frame after its final consumer. The no-token overload declares immediate reuse; pass the exact completion when GPU work remains live.
Parameters
frameconst VideoFrame &—
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Parameters
frameconst VideoFrame &—
consumedconst Event &—
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
I32The declared return value.
No public source comment is attached to this declaration.
Parameters
inEngineEngine &—
inConfigconst CameraCaptureConfig &Default: {}
Returns
Result<CameraCapture>The declared return value.