1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
5 // Copyright (C) 2018-2019 Intel Corporation
10 #include "opencv2/gapi/gpu/ggpukernel.hpp"
12 const cv::UMat& cv::GGPUContext::inMat(int input)
14 return (inArg<cv::UMat>(input));
17 cv::UMat& cv::GGPUContext::outMatR(int output)
19 return (*(util::get<cv::UMat*>(m_results.at(output))));
22 const cv::gapi::own::Scalar& cv::GGPUContext::inVal(int input)
24 return inArg<cv::gapi::own::Scalar>(input);
27 cv::gapi::own::Scalar& cv::GGPUContext::outValR(int output)
29 return *util::get<cv::gapi::own::Scalar*>(m_results.at(output));
32 cv::detail::VectorRef& cv::GGPUContext::outVecRef(int output)
34 return util::get<cv::detail::VectorRef>(m_results.at(output));
37 cv::GGPUKernel::GGPUKernel()
41 cv::GGPUKernel::GGPUKernel(const GGPUKernel::F &f)
46 void cv::GGPUKernel::apply(GGPUContext &ctx)