summaryrefslogtreecommitdiff
path: root/src/android/camera_metadata.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-03-24 10:44:12 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-03-29 12:33:51 +0100
commitaa7d4ebf96d1b339ad1e1221d1154db6b845a1e2 (patch)
treec080939b01a0564f19a704e043c908d5ef3a1f7d /src/android/camera_metadata.h
parent651e3fab6329498a7f46703ce5bb92c49cc37624 (diff)
libcamera: camera: Extend with a Stopping state
When the camera is being stop()ped, active requests will complete. These may trigger an application to re-queue those requests to the camera but that is not permitted, and is an error in the application. Extend the camera state to include a stopping state which is entered as soon as a call to stop() is made. At this point, any request queued will be rejected with a warning, while any pending requests are either successfully completed or cancelled. When the pipeline handler has finished stopping, the camera state will transition to the CameraConfigured state where it can begin to accept requests again, and be restarted. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/camera_metadata.h')
0 files changed, 0 insertions, 0 deletions