Merge pull request #19142 from rgarnov:rg/include_format_in_core

pull/19153/head
Alexander Alekhin 4 years ago
commit c4c21c2fa7
  1. 1
      modules/gapi/include/opencv2/gapi/core.hpp
  2. 7
      modules/gapi/include/opencv2/gapi/streaming/format.hpp

@ -17,6 +17,7 @@
#include <opencv2/gapi/gmat.hpp>
#include <opencv2/gapi/gscalar.hpp>
#include <opencv2/gapi/gkernel.hpp>
#include <opencv2/gapi/streaming/format.hpp>
/** \defgroup gapi_core G-API Core functionality
@{

@ -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

Loading…
Cancel
Save