libcamera: media_device: Fix \sa tags for MediaDevice::link
doxygen didn't create proper links to the overloads of
MediaDevice::link because the signatures didn't match due to an
additional 'const'
While at it remove the unnecessary `MediaDevice::` and wrap the lines
Fixes: b65feafe32
("libcamera: media_device: Add functions to get a MediaLink")
Signed-off-by: Marvin Schmidt <marvin.schmidt1987@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
4baaecb4ff
commit
18764a15c7
1 changed files with 10 additions and 6 deletions
|
@ -352,8 +352,9 @@ MediaEntity *MediaDevice::getEntityByName(const std::string &name) const
|
||||||
* entity with name \a sourceName, to the pad at index \a sinkIdx of the
|
* entity with name \a sourceName, to the pad at index \a sinkIdx of the
|
||||||
* sink entity with name \a sinkName, if any.
|
* sink entity with name \a sinkName, if any.
|
||||||
*
|
*
|
||||||
* \sa MediaDevice::link(const MediaEntity *source, unsigned int sourceIdx, const MediaEntity *sink, unsigned int sinkIdx) const
|
* \sa link(const MediaEntity *source, unsigned int sourceIdx,
|
||||||
* \sa MediaDevice::link(const MediaPad *source, const MediaPad *sink) const
|
* const MediaEntity *sink, unsigned int sinkIdx)
|
||||||
|
* \sa link(const MediaPad *source, const MediaPad *sink)
|
||||||
*
|
*
|
||||||
* \return The link that connects the two pads, or nullptr if no such a link
|
* \return The link that connects the two pads, or nullptr if no such a link
|
||||||
* exists
|
* exists
|
||||||
|
@ -381,8 +382,9 @@ MediaLink *MediaDevice::link(const std::string &sourceName, unsigned int sourceI
|
||||||
* entity \a source, to the pad at index \a sinkIdx of the sink entity \a
|
* entity \a source, to the pad at index \a sinkIdx of the sink entity \a
|
||||||
* sink, if any.
|
* sink, if any.
|
||||||
*
|
*
|
||||||
* \sa MediaDevice::link(const std::string &sourceName, unsigned int sourceIdx, const std::string &sinkName, unsigned int sinkIdx) const
|
* \sa link(const std::string &sourceName, unsigned int sourceIdx,
|
||||||
* \sa MediaDevice::link(const MediaPad *source, const MediaPad *sink) const
|
* const std::string &sinkName, unsigned int sinkIdx)
|
||||||
|
* \sa link(const MediaPad *source, const MediaPad *sink)
|
||||||
*
|
*
|
||||||
* \return The link that connects the two pads, or nullptr if no such a link
|
* \return The link that connects the two pads, or nullptr if no such a link
|
||||||
* exists
|
* exists
|
||||||
|
@ -404,8 +406,10 @@ MediaLink *MediaDevice::link(const MediaEntity *source, unsigned int sourceIdx,
|
||||||
* \param[in] source The source pad
|
* \param[in] source The source pad
|
||||||
* \param[in] sink The sink pad
|
* \param[in] sink The sink pad
|
||||||
*
|
*
|
||||||
* \sa MediaDevice::link(const std::string &sourceName, unsigned int sourceIdx, const std::string &sinkName, unsigned int sinkIdx) const
|
* \sa link(const std::string &sourceName, unsigned int sourceIdx,
|
||||||
* \sa MediaDevice::link(const MediaEntity *source, unsigned int sourceIdx, const MediaEntity *sink, unsigned int sinkIdx) const
|
* const std::string &sinkName, unsigned int sinkIdx)
|
||||||
|
* \sa link(const MediaEntity *source, unsigned int sourceIdx,
|
||||||
|
* const MediaEntity *sink, unsigned int sinkIdx)
|
||||||
*
|
*
|
||||||
* \return The link that connects the two pads, or nullptr if no such a link
|
* \return The link that connects the two pads, or nullptr if no such a link
|
||||||
* exists
|
* exists
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue