Skip to content

Commit c4c21c2

Browse files
committed
Merge pull request opencv#19142 from rgarnov:rg/include_format_in_core
2 parents f7cab12 + e06a497 commit c4c21c2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

modules/gapi/include/opencv2/gapi/core.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <opencv2/gapi/gmat.hpp>
1818
#include <opencv2/gapi/gscalar.hpp>
1919
#include <opencv2/gapi/gkernel.hpp>
20+
#include <opencv2/gapi/streaming/format.hpp>
2021

2122
/** \defgroup gapi_core G-API Core functionality
2223
@{

modules/gapi/include/opencv2/gapi/streaming/format.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ GAPI_EXPORTS cv::GMat BGR(const cv::GFrame& in);
3131

3232
} // namespace streaming
3333

34+
//! @addtogroup gapi_transform
35+
//! @{
3436
/** @brief Makes a copy of the input image. Note that this copy may be not real
3537
(no actual data copied). Use this function to maintain graph contracts,
3638
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
4042
@param in Input image
4143
@return Copy of the input
4244
*/
43-
GAPI_EXPORTS cv::GMat copy(const cv::GMat& in);
45+
GAPI_EXPORTS GMat copy(const GMat& in);
4446

4547
/** @brief Makes a copy of the input frame. Note that this copy may be not real
4648
(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
5153
@param in Input frame
5254
@return Copy of the input
5355
*/
54-
GAPI_EXPORTS cv::GFrame copy(const cv::GFrame& in);
56+
GAPI_EXPORTS GFrame copy(const GFrame& in);
57+
//! @} gapi_transform
5558

5659
} // namespace gapi
5760
} // namespace cv

0 commit comments

Comments
 (0)