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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user