libcamera/src
Kieran Bingham aa7d4ebf96 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>
2021-03-29 12:33:51 +01:00
..
android android: meson: Remove unneeded android_enabled check 2021-03-25 19:34:54 +02:00
cam meson: Summarize which applications and adaptation layers are built 2021-03-28 01:47:26 +02:00
gstreamer meson: Summarize which applications and adaptation layers are built 2021-03-28 01:47:26 +02:00
ipa ipa: raspberrrypi: Remove duplicate comment 2021-03-28 19:53:12 +03:00
libcamera libcamera: camera: Extend with a Stopping state 2021-03-29 12:33:51 +01:00
qcam meson: Summarize which applications and adaptation layers are built 2021-03-28 01:47:26 +02:00
v4l2 meson: Summarize which applications and adaptation layers are built 2021-03-28 01:47:26 +02:00
meson.build cros: Support the new cros camera API with set_up and tear_down 2021-03-03 19:05:12 +09:00