OpenCV
4.10.0-dev
Open Source Computer Vision
|
#include <functional>
#include <iostream>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <opencv2/gapi/gcommon.hpp>
#include <opencv2/gapi/util/util.hpp>
#include <opencv2/gapi/gcall.hpp>
#include <opencv2/gapi/garg.hpp>
#include <opencv2/gapi/gmetaarg.hpp>
#include <opencv2/gapi/gtype_traits.hpp>
#include <opencv2/gapi/util/compiler_hints.hpp>
#include <opencv2/gapi/gtransform.hpp>
Namespaces | |
namespace | cv |
namespace | cv::detail |
namespace | cv::gapi |
namespace | std |
STL namespace. | |
Macros | |
#define | __WRAP_VAARGS(x) x |
#define | COMBINE_SIGNATURE(...) __VA_ARGS__ |
#define | G_API_OP G_TYPED_KERNEL |
#define | G_API_OP_M G_API_OP |
#define | G_TYPED_KERNEL(Class, ...) |
#define | G_TYPED_KERNEL_HELPER(Class, API, Id) |
#define | G_TYPED_KERNEL_HELPER_10(Class, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10), Id) |
#define | G_TYPED_KERNEL_HELPER_2(Class, _1, _2, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2), Id) |
#define | G_TYPED_KERNEL_HELPER_3(Class, _1, _2, _3, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3), Id) |
#define | G_TYPED_KERNEL_HELPER_4(Class, _1, _2, _3, _4, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4), Id) |
#define | G_TYPED_KERNEL_HELPER_5(Class, _1, _2, _3, _4, _5, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5), Id) |
#define | G_TYPED_KERNEL_HELPER_6(Class, _1, _2, _3, _4, _5, _6, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6), Id) |
#define | G_TYPED_KERNEL_HELPER_7(Class, _1, _2, _3, _4, _5, _6, _7, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7), Id) |
#define | G_TYPED_KERNEL_HELPER_8(Class, _1, _2, _3, _4, _5, _6, _7, _8, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8), Id) |
#define | G_TYPED_KERNEL_HELPER_9(Class, _1, _2, _3, _4, _5, _6, _7, _8, _9, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9), Id) |
#define | G_TYPED_KERNEL_M G_TYPED_KERNEL |
#define | GET_G_TYPED_KERNEL(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, NAME, ...) NAME |
Typedefs | |
using | cv::GCtors = std::vector< detail::HostCtor > |
using | cv::gapi::GKernelPackage = cv::GKernelPackage |
using | cv::GKinds = std::vector< cv::detail::OpaqueKind > |
using | cv::GShapes = std::vector< GShape > |
template<typename T > | |
using | cv::detail::is_nongapi_type = std::is_same< T, typename MetaType< T >::type > |
Functions | |
template<typename... Ps> | |
cv::GKernelPackage | cv::gapi::combine (const cv::GKernelPackage &a, const cv::GKernelPackage &b, Ps &&... rest) |
Combines multiple G-API kernel packages into one. | |
cv::GKernelPackage | cv::gapi::combine (const cv::GKernelPackage &lhs, const cv::GKernelPackage &rhs) |
template<typename T > | |
std::enable_if< is_nongapi_type< T >::value, T >::type | cv::detail::get_in_meta (const GMetaArgs &, const GArgs &in_args, int idx) |
template<typename T > | |
std::enable_if<!is_nongapi_type< T >::value, typenameMetaType< T >::type >::type | cv::detail::get_in_meta (const GMetaArgs &in_meta, const GArgs &, int idx) |
template<typename... KK> | |
GKernelPackage | cv::gapi::kernels () |
Create a kernel package object containing kernels and transformations specified in variadic template argument. | |
template<typename... FF> | |
GKernelPackage | cv::gapi::kernels (FF &... functors) |
bool | cv::gapi::operator!= (const GBackend &lhs, const GBackend &rhs) |
Variables | |
class GAPI_EXPORTS_W_SIMPLE | cv::GKernelPackage |
#define __WRAP_VAARGS | ( | x | ) | x |
#define COMBINE_SIGNATURE | ( | ... | ) | __VA_ARGS__ |
#define G_API_OP G_TYPED_KERNEL |
#define G_API_OP_M G_API_OP |
#define G_TYPED_KERNEL | ( | Class, | |
... | |||
) |
Declares a new G-API Operation. See Kernel API for more details.
Class | type name for this operation. |
#define G_TYPED_KERNEL_HELPER | ( | Class, | |
API, | |||
Id | |||
) |
Helper for G_TYPED_KERNEL declares a new G-API Operation. See Kernel API for more details.
Class | type name for this operation. |
API | an std::function<> -like signature for the operation; return type is a single value or a tuple of multiple values. |
Id | string identifier for the operation. Must be unique. |
#define G_TYPED_KERNEL_HELPER_10 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
_10, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10), Id) |
#define G_TYPED_KERNEL_HELPER_2 | ( | Class, | |
_1, | |||
_2, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2), Id) |
#define G_TYPED_KERNEL_HELPER_3 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3), Id) |
#define G_TYPED_KERNEL_HELPER_4 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4), Id) |
#define G_TYPED_KERNEL_HELPER_5 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5), Id) |
#define G_TYPED_KERNEL_HELPER_6 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6), Id) |
#define G_TYPED_KERNEL_HELPER_7 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7), Id) |
#define G_TYPED_KERNEL_HELPER_8 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8), Id) |
#define G_TYPED_KERNEL_HELPER_9 | ( | Class, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9), Id) |
#define G_TYPED_KERNEL_M G_TYPED_KERNEL |
Declares a new G-API Operation. See Kernel API for more details.
G_TYPED_KERNEL
that is used for declaring any G-API Operation.Class | type name for this operation. |
#define GET_G_TYPED_KERNEL | ( | _1, | |
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
_10, | |||
_11, | |||
NAME, | |||
... | |||
) | NAME |