summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-14 01:54:30 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-14 02:14:54 +0200
commit744fabcbb938d60cdbc0dfadc625bbd6798c2485 (patch)
treea5a56cf14e66fe6465092b6d4522729f8f966dd5 /src
parenta84742e36ad3b4d7a05a134bfaf03706aefe8d2d (diff)
libcamera: ipa_interface: Fix doxygen warning
Doxygen generates the following warning: src/libcamera/ipa_interface.cpp:262: warning: explicit link request to 'dup()' could not be resolved Fix it by disabling link generation by prefixing the function name with a %. Fixes: 4b9bd6c3ad94 ("libcamera: ipa_interface: Document the ownership of dmabufs passed to map_buffers()") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/ipa_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/ipa_interface.cpp b/src/libcamera/ipa_interface.cpp
index 90015449..5959e7de 100644
--- a/src/libcamera/ipa_interface.cpp
+++ b/src/libcamera/ipa_interface.cpp
@@ -261,7 +261,7 @@
* The dmabuf file descriptors provided in \a buffers are borrowed from the
* caller and are only guaranteed to be valid during the map_buffers() call.
* Should the callee need to store a copy of the file descriptors, it shall
- * duplicate them first with ::dup().
+ * duplicate them first with ::%dup().
*
* \sa libcamera::IPAInterface::mapBuffers()
*/
nfo *info); void setCallbacks(const camera_module_callbacks_t *callbacks); private: LIBCAMERA_DISABLE_COPY_AND_MOVE(CameraHalManager) using Mutex = std::mutex; using MutexLocker = std::unique_lock<std::mutex>; static constexpr unsigned int firstExternalCameraId_ = 1000; CameraHalManager(); static int32_t cameraLocation(const libcamera::Camera *cam); void cameraAdded(std::shared_ptr<libcamera::Camera> cam); void cameraRemoved(std::shared_ptr<libcamera::Camera> cam); CameraDevice *cameraDeviceFromHalId(unsigned int id); std::unique_ptr<libcamera::CameraManager> cameraManager_; CameraHalConfig halConfig_; const camera_module_callbacks_t *callbacks_; std::vector<std::unique_ptr<CameraDevice>> cameras_; std::map<std::string, unsigned int> cameraIdsMap_; Mutex mutex_; unsigned int numInternalCameras_; unsigned int nextExternalCameraId_; }; #endif /* __ANDROID_CAMERA_MANAGER_H__ */