mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Merge pull request #18622 from TolyaTalamanov:at/fix-namespace
This commit is contained in:
@@ -443,7 +443,7 @@ struct OCVStCallHelper<Impl, std::tuple<Ins...>, std::tuple<Outs...>> :
|
|||||||
template<class Impl, class K>
|
template<class Impl, class K>
|
||||||
class GCPUKernelImpl: public cv::detail::KernelTag
|
class GCPUKernelImpl: public cv::detail::KernelTag
|
||||||
{
|
{
|
||||||
using CallHelper = detail::OCVCallHelper<Impl, typename K::InArgs, typename K::OutArgs>;
|
using CallHelper = cv::detail::OCVCallHelper<Impl, typename K::InArgs, typename K::OutArgs>;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using API = K;
|
using API = K;
|
||||||
@@ -497,7 +497,7 @@ private:
|
|||||||
template<typename K, typename Callable>
|
template<typename K, typename Callable>
|
||||||
gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(Callable& c)
|
gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(Callable& c)
|
||||||
{
|
{
|
||||||
using P = detail::OCVCallHelper<Callable, typename K::InArgs, typename K::OutArgs>;
|
using P = cv::detail::OCVCallHelper<Callable, typename K::InArgs, typename K::OutArgs>;
|
||||||
return GOCVFunctor{ K::id()
|
return GOCVFunctor{ K::id()
|
||||||
, &K::getOutMeta
|
, &K::getOutMeta
|
||||||
, std::bind(&P::callFunctor, std::placeholders::_1, std::ref(c))
|
, std::bind(&P::callFunctor, std::placeholders::_1, std::ref(c))
|
||||||
@@ -507,7 +507,7 @@ gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(Callable& c)
|
|||||||
template<typename K, typename Callable>
|
template<typename K, typename Callable>
|
||||||
gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(const Callable& c)
|
gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(const Callable& c)
|
||||||
{
|
{
|
||||||
using P = detail::OCVCallHelper<Callable, typename K::InArgs, typename K::OutArgs>;
|
using P = cv::detail::OCVCallHelper<Callable, typename K::InArgs, typename K::OutArgs>;
|
||||||
return GOCVFunctor{ K::id()
|
return GOCVFunctor{ K::id()
|
||||||
, &K::getOutMeta
|
, &K::getOutMeta
|
||||||
, std::bind(&P::callFunctor, std::placeholders::_1, c)
|
, std::bind(&P::callFunctor, std::placeholders::_1, c)
|
||||||
|
|||||||
Reference in New Issue
Block a user