android: CameraDevice: Add stop()
This adds CameraDevice::stop(), which cleans up the member variables of CameraDevice. It is called in CameraDevice::close() and CameraDevice::configureStreams(). Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
796109c8dc
commit
0b661d70ec
2 changed files with 14 additions and 7 deletions
|
@ -85,6 +85,8 @@ private:
|
|||
int androidFormat;
|
||||
};
|
||||
|
||||
void stop();
|
||||
|
||||
int initializeStreamConfigurations();
|
||||
std::vector<libcamera::Size>
|
||||
getYUVResolutions(libcamera::CameraConfiguration *cameraConfig,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue