From 2e27b94092c442195815f35e591f46803c962ff9 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 2 Dec 2024 13:40:39 +0300 Subject: [PATCH] Warnings fix in FastCV module documentation. --- modules/fastcv/include/opencv2/fastcv.hpp | 10 +++++----- modules/fastcv/include/opencv2/fastcv/arithm.hpp | 1 + modules/fastcv/include/opencv2/fastcv/scale.hpp | 10 +++++----- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/modules/fastcv/include/opencv2/fastcv.hpp b/modules/fastcv/include/opencv2/fastcv.hpp index 4248a674076..fcf0bf132fb 100644 --- a/modules/fastcv/include/opencv2/fastcv.hpp +++ b/modules/fastcv/include/opencv2/fastcv.hpp @@ -8,10 +8,6 @@ #include -/** - * @defgroup fastcv Module-wrapper for FastCV hardware accelerated functions - */ - #include "opencv2/fastcv/arithm.hpp" #include "opencv2/fastcv/bilateralFilter.hpp" #include "opencv2/fastcv/cluster.hpp" @@ -27,6 +23,10 @@ #include "opencv2/fastcv/smooth.hpp" #include "opencv2/fastcv/thresh.hpp" -//! @} +/** + * @defgroup fastcv Module-wrapper for FastCV hardware accelerated functions + * @{ + * @} + */ #endif // OPENCV_FASTCV_ARITHM_HPP diff --git a/modules/fastcv/include/opencv2/fastcv/arithm.hpp b/modules/fastcv/include/opencv2/fastcv/arithm.hpp index e90079946be..e479d970b1d 100644 --- a/modules/fastcv/include/opencv2/fastcv/arithm.hpp +++ b/modules/fastcv/include/opencv2/fastcv/arithm.hpp @@ -22,6 +22,7 @@ namespace fastcv { * @param dst Resulting matrix of type CV_32S */ CV_EXPORTS_W void matmuls8s32(InputArray src1, InputArray src2, OutputArray dst); + //! @} } // fastcv:: diff --git a/modules/fastcv/include/opencv2/fastcv/scale.hpp b/modules/fastcv/include/opencv2/fastcv/scale.hpp index e499f6f3b7d..8d7d084ac24 100644 --- a/modules/fastcv/include/opencv2/fastcv/scale.hpp +++ b/modules/fastcv/include/opencv2/fastcv/scale.hpp @@ -16,15 +16,15 @@ namespace fastcv { /** * @brief Down-scale the image by averaging each 2x2 pixel block. - * @param src The first input image data, type CV_8UC1, src height must be a multiple of 2 - * @param dst The output image data, type CV_8UC1 + * @param _src The first input image data, type CV_8UC1, src height must be a multiple of 2 + * @param _dst The output image data, type CV_8UC1 */ CV_EXPORTS_W void resizeDownBy2(cv::InputArray _src, cv::OutputArray _dst); /** * @brief Down-scale the image by averaging each 4x4 pixel block. - * @param src The first input image data, type CV_8UC1, src height must be a multiple of 4 - * @param dst The output image data, type CV_8UC1 + * @param _src The first input image data, type CV_8UC1, src height must be a multiple of 4 + * @param _dst The output image data, type CV_8UC1 */ CV_EXPORTS_W void resizeDownBy4(cv::InputArray _src, cv::OutputArray _dst); @@ -33,4 +33,4 @@ CV_EXPORTS_W void resizeDownBy4(cv::InputArray _src, cv::OutputArray _dst); } // fastcv:: } // cv:: -#endif // OPENCV_FASTCV_SCALE_HPP \ No newline at end of file +#endif // OPENCV_FASTCV_SCALE_HPP