diff options
Diffstat (limited to 'services/camera/libcameraservice/device3/Camera3StreamInterface.h')
-rw-r--r-- | services/camera/libcameraservice/device3/Camera3StreamInterface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/device3/Camera3StreamInterface.h b/services/camera/libcameraservice/device3/Camera3StreamInterface.h index c93ae15..da989cd 100644 --- a/services/camera/libcameraservice/device3/Camera3StreamInterface.h +++ b/services/camera/libcameraservice/device3/Camera3StreamInterface.h @@ -82,6 +82,13 @@ class Camera3StreamInterface : public virtual RefBase { virtual status_t finishConfiguration(camera3_device *hal3Device) = 0; /** + * Cancels the stream configuration process. This returns the stream to the + * initial state, allowing it to be configured again later. + * This is done if the HAL rejects the proposed combined stream configuration + */ + virtual status_t cancelConfiguration() = 0; + + /** * Fill in the camera3_stream_buffer with the next valid buffer for this * stream, to hand over to the HAL. * |