summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline_handler.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-08 16:43:50 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-10 15:27:59 +0200
commit93a037efff7b8afd04aad76f6b6a4514acb6f670 (patch)
tree6608b056c53e07baacee78e5ed8bf772a5026afc /src/libcamera/pipeline_handler.cpp
parentafcec99b99c3313805deaededa3158e4ad089b6e (diff)
libcamera: Document missing parameters and return values
Several functions are missing documentation for some of them parameters and/or for their return value. Fix this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/libcamera/pipeline_handler.cpp')
-rw-r--r--src/libcamera/pipeline_handler.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index 093821d4..ee769487 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -36,11 +36,13 @@ namespace libcamera {
/**
* \fn PipelineHandler::match(DeviceEnumerator *enumerator)
* \brief Match media devices and create camera instances
+ * \param enumerator The enumerator providing all media devices found in the
+ * system
*
* This function is the main entry point of the pipeline handler. It is called
- * by the device enumerator with the enumerator passed as an argument. It shall
- * acquire from the enumerator all the media devices it needs for a single
- * pipeline and create one or multiple Camera instances.
+ * by the device enumerator with the \a enumerator passed as an argument. It
+ * shall acquire from the \a enumerator all the media devices it needs for a
+ * single pipeline and create one or multiple Camera instances.
*
* If all media devices needed by the pipeline handler are found, they must all
* be acquired by a call to MediaDevice::acquire(). This function shall then