libcamera: camera: Rename configureStreams() and streamConfiguration()

Rename the configureStreams() and streamConfiguration() methods to
configure() and generateConfiguration() respectively in order to clarify
the API. Both methods deal with CameraConfiguration objects, and are
thus not limited to streams, even if a CameraConfiguration currently
contains streams only.

While at it, remove the qcam MainWindow::configureStreams() method that
is declared but never defined or used.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart
2019-05-23 00:27:10 +03:00
parent d8de003a04
commit 2ca2d65870
16 changed files with 87 additions and 90 deletions
+2 -3
View File
@@ -218,9 +218,8 @@ Stream::Stream()
* \brief The stream configuration
*
* The configuration for the stream is set by any successful call to
* Camera::configureStreams() that includes the stream, and remains valid until
* the next call to Camera::configureStreams() regardless of if it includes the
* stream.
* Camera::configure() that includes the stream, and remains valid until the
* next call to Camera::configure() regardless of if it includes the stream.
*/
} /* namespace libcamera */