From e06a497c7cc58175bbfb32e7bb3a8f32bfe31802 Mon Sep 17 00:00:00 2001 From: Ruslan Garnov Date: Wed, 16 Dec 2020 19:26:15 +0300 Subject: [PATCH] Added format.hpp include to core.hpp --- modules/gapi/include/opencv2/gapi/core.hpp | 1 + modules/gapi/include/opencv2/gapi/streaming/format.hpp | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/gapi/include/opencv2/gapi/core.hpp b/modules/gapi/include/opencv2/gapi/core.hpp index bd1507b14c..e3105bb827 100644 --- a/modules/gapi/include/opencv2/gapi/core.hpp +++ b/modules/gapi/include/opencv2/gapi/core.hpp @@ -17,6 +17,7 @@ #include #include #include +#include /** \defgroup gapi_core G-API Core functionality @{ diff --git a/modules/gapi/include/opencv2/gapi/streaming/format.hpp b/modules/gapi/include/opencv2/gapi/streaming/format.hpp index d450d56a59..2837f301d4 100644 --- a/modules/gapi/include/opencv2/gapi/streaming/format.hpp +++ b/modules/gapi/include/opencv2/gapi/streaming/format.hpp @@ -31,6 +31,8 @@ GAPI_EXPORTS cv::GMat BGR(const cv::GFrame& in); } // namespace streaming +//! @addtogroup gapi_transform +//! @{ /** @brief Makes a copy of the input image. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph's input needs to be passed directly to output, like in Streaming mode. @@ -40,7 +42,7 @@ e.g when graph's input needs to be passed directly to output, like in Streaming @param in Input image @return Copy of the input */ -GAPI_EXPORTS cv::GMat copy(const cv::GMat& in); +GAPI_EXPORTS GMat copy(const GMat& in); /** @brief Makes a copy of the input frame. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, @@ -51,7 +53,8 @@ e.g when graph's input needs to be passed directly to output, like in Streaming @param in Input frame @return Copy of the input */ -GAPI_EXPORTS cv::GFrame copy(const cv::GFrame& in); +GAPI_EXPORTS GFrame copy(const GFrame& in); +//! @} gapi_transform } // namespace gapi } // namespace cv