mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Canny via OpenVX, Node wrapper extended (query/set attribute), some naming fixes
This commit is contained in:
@@ -262,11 +262,13 @@ struct CoreTLSData
|
||||
device(0), useOpenCL(-1),
|
||||
//#endif
|
||||
useIPP(-1)
|
||||
{
|
||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||
useTegra = -1;
|
||||
,useTegra(-1)
|
||||
#endif
|
||||
}
|
||||
#ifdef HAVE_OPENVX
|
||||
,useOpenVX(-1)
|
||||
#endif
|
||||
{}
|
||||
|
||||
RNG rng;
|
||||
//#ifdef HAVE_OPENCL
|
||||
@@ -278,6 +280,9 @@ struct CoreTLSData
|
||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||
int useTegra; // 1 - use, 0 - do not use, -1 - auto/not initialized
|
||||
#endif
|
||||
#ifdef HAVE_OPENVX
|
||||
int useOpenVX; // 1 - use, 0 - do not use, -1 - auto/not initialized
|
||||
#endif
|
||||
};
|
||||
|
||||
TLSData<CoreTLSData>& getCoreTlsData();
|
||||
|
||||
Reference in New Issue
Block a user