node-native-win-utils 1.4.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -82
- package/binding.gyp +2 -0
- package/dist/dirnameLocal.cjs +4 -0
- package/dist/dirnameLocal.d.cts +1 -0
- package/dist/dirnameLocal.d.mts +1 -0
- package/dist/dirnameLocal.mjs +2 -0
- package/dist/{index.js → index.cjs} +83 -16
- package/dist/{index.d.ts → index.d.cts} +68 -17
- package/dist/index.d.mts +230 -0
- package/dist/index.mjs +212 -0
- package/dist/keyCodes.d.mts +101 -0
- package/dist/keyCodes.mjs +201 -0
- package/node22.json +16 -0
- package/package.json +19 -9
- package/prebuilds/win32-x64/node-native-win-utils.node +0 -0
- package/src/cpp/keyboard.cpp +141 -140
- package/src/cpp/main.cpp +9 -3
- package/src/cpp/{capturewindow.cpp → screenshot.cpp} +174 -2
- package/src/dirnameLocal.mts +3 -0
- package/src/index.mts +455 -0
- package/src/keyCodes.mts +203 -0
- package/dllCopy.js +0 -14
- package/include/opencv2/core/affine.hpp +0 -678
- package/include/opencv2/core/async.hpp +0 -105
- package/include/opencv2/core/base.hpp +0 -664
- package/include/opencv2/core/bindings_utils.hpp +0 -325
- package/include/opencv2/core/bufferpool.hpp +0 -40
- package/include/opencv2/core/check.hpp +0 -170
- package/include/opencv2/core/core.hpp +0 -48
- package/include/opencv2/core/core_c.h +0 -3128
- package/include/opencv2/core/cuda/block.hpp +0 -211
- package/include/opencv2/core/cuda/border_interpolate.hpp +0 -722
- package/include/opencv2/core/cuda/color.hpp +0 -309
- package/include/opencv2/core/cuda/common.hpp +0 -131
- package/include/opencv2/core/cuda/datamov_utils.hpp +0 -113
- package/include/opencv2/core/cuda/detail/color_detail.hpp +0 -2018
- package/include/opencv2/core/cuda/detail/reduce.hpp +0 -365
- package/include/opencv2/core/cuda/detail/reduce_key_val.hpp +0 -502
- package/include/opencv2/core/cuda/detail/transform_detail.hpp +0 -392
- package/include/opencv2/core/cuda/detail/type_traits_detail.hpp +0 -191
- package/include/opencv2/core/cuda/detail/vec_distance_detail.hpp +0 -121
- package/include/opencv2/core/cuda/dynamic_smem.hpp +0 -88
- package/include/opencv2/core/cuda/emulation.hpp +0 -269
- package/include/opencv2/core/cuda/filters.hpp +0 -293
- package/include/opencv2/core/cuda/funcattrib.hpp +0 -79
- package/include/opencv2/core/cuda/functional.hpp +0 -805
- package/include/opencv2/core/cuda/limits.hpp +0 -128
- package/include/opencv2/core/cuda/reduce.hpp +0 -209
- package/include/opencv2/core/cuda/saturate_cast.hpp +0 -292
- package/include/opencv2/core/cuda/scan.hpp +0 -258
- package/include/opencv2/core/cuda/simd_functions.hpp +0 -869
- package/include/opencv2/core/cuda/transform.hpp +0 -75
- package/include/opencv2/core/cuda/type_traits.hpp +0 -90
- package/include/opencv2/core/cuda/utility.hpp +0 -230
- package/include/opencv2/core/cuda/vec_distance.hpp +0 -232
- package/include/opencv2/core/cuda/vec_math.hpp +0 -923
- package/include/opencv2/core/cuda/vec_traits.hpp +0 -288
- package/include/opencv2/core/cuda/warp.hpp +0 -139
- package/include/opencv2/core/cuda/warp_reduce.hpp +0 -76
- package/include/opencv2/core/cuda/warp_shuffle.hpp +0 -162
- package/include/opencv2/core/cuda.hpp +0 -1279
- package/include/opencv2/core/cuda.inl.hpp +0 -763
- package/include/opencv2/core/cuda_stream_accessor.hpp +0 -86
- package/include/opencv2/core/cuda_types.hpp +0 -144
- package/include/opencv2/core/cv_cpu_dispatch.h +0 -381
- package/include/opencv2/core/cv_cpu_helper.h +0 -550
- package/include/opencv2/core/cvdef.h +0 -973
- package/include/opencv2/core/cvstd.hpp +0 -190
- package/include/opencv2/core/cvstd.inl.hpp +0 -197
- package/include/opencv2/core/cvstd_wrapper.hpp +0 -154
- package/include/opencv2/core/detail/async_promise.hpp +0 -71
- package/include/opencv2/core/detail/dispatch_helper.impl.hpp +0 -49
- package/include/opencv2/core/detail/exception_ptr.hpp +0 -27
- package/include/opencv2/core/directx.hpp +0 -184
- package/include/opencv2/core/dualquaternion.hpp +0 -979
- package/include/opencv2/core/dualquaternion.inl.hpp +0 -487
- package/include/opencv2/core/eigen.hpp +0 -402
- package/include/opencv2/core/fast_math.hpp +0 -433
- package/include/opencv2/core/hal/hal.hpp +0 -256
- package/include/opencv2/core/hal/interface.h +0 -190
- package/include/opencv2/core/hal/intrin.hpp +0 -939
- package/include/opencv2/core/hal/intrin_avx.hpp +0 -3177
- package/include/opencv2/core/hal/intrin_avx512.hpp +0 -3090
- package/include/opencv2/core/hal/intrin_cpp.hpp +0 -3321
- package/include/opencv2/core/hal/intrin_forward.hpp +0 -191
- package/include/opencv2/core/hal/intrin_lasx.hpp +0 -3236
- package/include/opencv2/core/hal/intrin_msa.hpp +0 -1887
- package/include/opencv2/core/hal/intrin_neon.hpp +0 -2610
- package/include/opencv2/core/hal/intrin_rvv.hpp +0 -3320
- package/include/opencv2/core/hal/intrin_rvv071.hpp +0 -2545
- package/include/opencv2/core/hal/intrin_rvv_scalable.hpp +0 -2080
- package/include/opencv2/core/hal/intrin_sse.hpp +0 -3467
- package/include/opencv2/core/hal/intrin_sse_em.hpp +0 -180
- package/include/opencv2/core/hal/intrin_vsx.hpp +0 -1608
- package/include/opencv2/core/hal/intrin_wasm.hpp +0 -2782
- package/include/opencv2/core/hal/msa_macros.h +0 -1558
- package/include/opencv2/core/hal/simd_utils.impl.hpp +0 -186
- package/include/opencv2/core/llapi/llapi.h +0 -102
- package/include/opencv2/core/mat.hpp +0 -3775
- package/include/opencv2/core/mat.inl.hpp +0 -3422
- package/include/opencv2/core/matx.hpp +0 -1536
- package/include/opencv2/core/neon_utils.hpp +0 -128
- package/include/opencv2/core/ocl.hpp +0 -917
- package/include/opencv2/core/ocl_genbase.hpp +0 -69
- package/include/opencv2/core/opencl/ocl_defs.hpp +0 -82
- package/include/opencv2/core/opencl/opencl_info.hpp +0 -212
- package/include/opencv2/core/opencl/opencl_svm.hpp +0 -81
- package/include/opencv2/core/opencl/runtime/autogenerated/opencl_clblas.hpp +0 -602
- package/include/opencv2/core/opencl/runtime/autogenerated/opencl_clfft.hpp +0 -146
- package/include/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp +0 -371
- package/include/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp +0 -272
- package/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp +0 -62
- package/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp +0 -42
- package/include/opencv2/core/opencl/runtime/opencl_clblas.hpp +0 -53
- package/include/opencv2/core/opencl/runtime/opencl_clfft.hpp +0 -53
- package/include/opencv2/core/opencl/runtime/opencl_core.hpp +0 -84
- package/include/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp +0 -47
- package/include/opencv2/core/opencl/runtime/opencl_gl.hpp +0 -53
- package/include/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp +0 -47
- package/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp +0 -48
- package/include/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp +0 -42
- package/include/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp +0 -166
- package/include/opencv2/core/opengl.hpp +0 -733
- package/include/opencv2/core/openvx/ovx_defs.hpp +0 -48
- package/include/opencv2/core/operations.hpp +0 -610
- package/include/opencv2/core/optim.hpp +0 -302
- package/include/opencv2/core/ovx.hpp +0 -28
- package/include/opencv2/core/parallel/backend/parallel_for.openmp.hpp +0 -72
- package/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp +0 -153
- package/include/opencv2/core/parallel/parallel_backend.hpp +0 -90
- package/include/opencv2/core/persistence.hpp +0 -1350
- package/include/opencv2/core/private/cv_cpu_include_simd_declarations.hpp +0 -30
- package/include/opencv2/core/private.cuda.hpp +0 -169
- package/include/opencv2/core/private.hpp +0 -896
- package/include/opencv2/core/quaternion.hpp +0 -1696
- package/include/opencv2/core/quaternion.inl.hpp +0 -1063
- package/include/opencv2/core/saturate.hpp +0 -180
- package/include/opencv2/core/simd_intrinsics.hpp +0 -87
- package/include/opencv2/core/softfloat.hpp +0 -514
- package/include/opencv2/core/sse_utils.hpp +0 -652
- package/include/opencv2/core/traits.hpp +0 -417
- package/include/opencv2/core/types.hpp +0 -2457
- package/include/opencv2/core/types_c.h +0 -2126
- package/include/opencv2/core/utility.hpp +0 -1229
- package/include/opencv2/core/utils/allocator_stats.hpp +0 -29
- package/include/opencv2/core/utils/allocator_stats.impl.hpp +0 -158
- package/include/opencv2/core/utils/buffer_area.private.hpp +0 -136
- package/include/opencv2/core/utils/configuration.private.hpp +0 -22
- package/include/opencv2/core/utils/filesystem.hpp +0 -82
- package/include/opencv2/core/utils/filesystem.private.hpp +0 -66
- package/include/opencv2/core/utils/fp_control.private.hpp +0 -29
- package/include/opencv2/core/utils/fp_control_utils.hpp +0 -69
- package/include/opencv2/core/utils/instrumentation.hpp +0 -125
- package/include/opencv2/core/utils/lock.private.hpp +0 -119
- package/include/opencv2/core/utils/logger.defines.hpp +0 -42
- package/include/opencv2/core/utils/logger.hpp +0 -218
- package/include/opencv2/core/utils/logtag.hpp +0 -28
- package/include/opencv2/core/utils/plugin_loader.private.hpp +0 -165
- package/include/opencv2/core/utils/tls.hpp +0 -235
- package/include/opencv2/core/utils/trace.hpp +0 -252
- package/include/opencv2/core/utils/trace.private.hpp +0 -421
- package/include/opencv2/core/va_intel.hpp +0 -75
- package/include/opencv2/core/version.hpp +0 -26
- package/include/opencv2/core/vsx_utils.hpp +0 -1047
- package/include/opencv2/core.hpp +0 -3365
- package/include/opencv2/imgcodecs/imgcodecs.hpp +0 -48
- package/include/opencv2/imgcodecs/imgcodecs_c.h +0 -1
- package/include/opencv2/imgcodecs/ios.h +0 -59
- package/include/opencv2/imgcodecs/legacy/constants_c.h +0 -54
- package/include/opencv2/imgcodecs/macosx.h +0 -20
- package/include/opencv2/imgcodecs.hpp +0 -407
- package/include/opencv2/imgproc/bindings.hpp +0 -34
- package/include/opencv2/imgproc/detail/gcgraph.hpp +0 -395
- package/include/opencv2/imgproc/hal/hal.hpp +0 -246
- package/include/opencv2/imgproc/hal/interface.h +0 -46
- package/include/opencv2/imgproc/imgproc.hpp +0 -48
- package/include/opencv2/imgproc/imgproc_c.h +0 -1177
- package/include/opencv2/imgproc/segmentation.hpp +0 -141
- package/include/opencv2/imgproc/types_c.h +0 -659
- package/include/opencv2/imgproc.hpp +0 -5035
- package/include/opencv2/opencv_modules.hpp +0 -17
- package/include/tesseract/baseapi.h +0 -820
- package/include/tesseract/capi.h +0 -485
- package/include/tesseract/export.h +0 -37
- package/include/tesseract/ltrresultiterator.h +0 -235
- package/include/tesseract/ocrclass.h +0 -158
- package/include/tesseract/osdetect.h +0 -139
- package/include/tesseract/pageiterator.h +0 -364
- package/include/tesseract/publictypes.h +0 -281
- package/include/tesseract/renderer.h +0 -334
- package/include/tesseract/resultiterator.h +0 -250
- package/include/tesseract/tesseract.h +0 -40
- package/include/tesseract/unichar.h +0 -174
- package/include/tesseract/version.h +0 -34
- package/include/tesseract/version.h.in +0 -34
- package/libs/libjpeg-turbo.lib +0 -0
- package/libs/libpng.lib +0 -0
- package/libs/opencv_core470.lib +0 -0
- package/libs/opencv_imgcodecs470.lib +0 -0
- package/libs/opencv_imgproc470.lib +0 -0
- package/libs/tesseract.lib +0 -0
- package/libs/zlib.lib +0 -0
- /package/dist/{keyCodes.js → keyCodes.cjs} +0 -0
- /package/dist/{keyCodes.d.ts → keyCodes.d.cts} +0 -0
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/*M///////////////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
//
|
|
3
|
-
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
|
|
4
|
-
//
|
|
5
|
-
// By downloading, copying, installing or using the software you agree to this license.
|
|
6
|
-
// If you do not agree to this license, do not download, install,
|
|
7
|
-
// copy or use the software.
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
// License Agreement
|
|
11
|
-
// For Open Source Computer Vision Library
|
|
12
|
-
//
|
|
13
|
-
// Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
|
|
14
|
-
// Copyright (C) 2009, Willow Garage Inc., all rights reserved.
|
|
15
|
-
// Third party copyrights are property of their respective owners.
|
|
16
|
-
//
|
|
17
|
-
// Redistribution and use in source and binary forms, with or without modification,
|
|
18
|
-
// are permitted provided that the following conditions are met:
|
|
19
|
-
//
|
|
20
|
-
// * Redistribution's of source code must retain the above copyright notice,
|
|
21
|
-
// this list of conditions and the following disclaimer.
|
|
22
|
-
//
|
|
23
|
-
// * Redistribution's in binary form must reproduce the above copyright notice,
|
|
24
|
-
// this list of conditions and the following disclaimer in the documentation
|
|
25
|
-
// and/or other materials provided with the distribution.
|
|
26
|
-
//
|
|
27
|
-
// * The name of the copyright holders may not be used to endorse or promote products
|
|
28
|
-
// derived from this software without specific prior written permission.
|
|
29
|
-
//
|
|
30
|
-
// This software is provided by the copyright holders and contributors "as is" and
|
|
31
|
-
// any express or implied warranties, including, but not limited to, the implied
|
|
32
|
-
// warranties of merchantability and fitness for a particular purpose are disclaimed.
|
|
33
|
-
// In no event shall the Intel Corporation or contributors be liable for any direct,
|
|
34
|
-
// indirect, incidental, special, exemplary, or consequential damages
|
|
35
|
-
// (including, but not limited to, procurement of substitute goods or services;
|
|
36
|
-
// loss of use, data, or profits; or business interruption) however caused
|
|
37
|
-
// and on any theory of liability, whether in contract, strict liability,
|
|
38
|
-
// or tort (including negligence or otherwise) arising in any way out of
|
|
39
|
-
// the use of this software, even if advised of the possibility of such damage.
|
|
40
|
-
//
|
|
41
|
-
//M*/
|
|
42
|
-
|
|
43
|
-
#ifndef OPENCV_CORE_CUDA_STREAM_ACCESSOR_HPP
|
|
44
|
-
#define OPENCV_CORE_CUDA_STREAM_ACCESSOR_HPP
|
|
45
|
-
|
|
46
|
-
#ifndef __cplusplus
|
|
47
|
-
# error cuda_stream_accessor.hpp header must be compiled as C++
|
|
48
|
-
#endif
|
|
49
|
-
|
|
50
|
-
/** @file cuda_stream_accessor.hpp
|
|
51
|
-
* This is only header file that depends on CUDA Runtime API. All other headers are independent.
|
|
52
|
-
*/
|
|
53
|
-
|
|
54
|
-
#include <cuda_runtime.h>
|
|
55
|
-
#include "opencv2/core/cuda.hpp"
|
|
56
|
-
|
|
57
|
-
namespace cv
|
|
58
|
-
{
|
|
59
|
-
namespace cuda
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
//! @addtogroup cudacore_struct
|
|
63
|
-
//! @{
|
|
64
|
-
|
|
65
|
-
/** @brief Class that enables getting cudaStream_t from cuda::Stream
|
|
66
|
-
*/
|
|
67
|
-
struct StreamAccessor
|
|
68
|
-
{
|
|
69
|
-
CV_EXPORTS static cudaStream_t getStream(const Stream& stream);
|
|
70
|
-
CV_EXPORTS static Stream wrapStream(cudaStream_t stream);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
/** @brief Class that enables getting cudaEvent_t from cuda::Event
|
|
74
|
-
*/
|
|
75
|
-
struct EventAccessor
|
|
76
|
-
{
|
|
77
|
-
CV_EXPORTS static cudaEvent_t getEvent(const Event& event);
|
|
78
|
-
CV_EXPORTS static Event wrapEvent(cudaEvent_t event);
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
//! @}
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
#endif /* OPENCV_CORE_CUDA_STREAM_ACCESSOR_HPP */
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
/*M///////////////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
//
|
|
3
|
-
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
|
|
4
|
-
//
|
|
5
|
-
// By downloading, copying, installing or using the software you agree to this license.
|
|
6
|
-
// If you do not agree to this license, do not download, install,
|
|
7
|
-
// copy or use the software.
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
// License Agreement
|
|
11
|
-
// For Open Source Computer Vision Library
|
|
12
|
-
//
|
|
13
|
-
// Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
|
|
14
|
-
// Copyright (C) 2009, Willow Garage Inc., all rights reserved.
|
|
15
|
-
// Third party copyrights are property of their respective owners.
|
|
16
|
-
//
|
|
17
|
-
// Redistribution and use in source and binary forms, with or without modification,
|
|
18
|
-
// are permitted provided that the following conditions are met:
|
|
19
|
-
//
|
|
20
|
-
// * Redistribution's of source code must retain the above copyright notice,
|
|
21
|
-
// this list of conditions and the following disclaimer.
|
|
22
|
-
//
|
|
23
|
-
// * Redistribution's in binary form must reproduce the above copyright notice,
|
|
24
|
-
// this list of conditions and the following disclaimer in the documentation
|
|
25
|
-
// and/or other materials provided with the distribution.
|
|
26
|
-
//
|
|
27
|
-
// * The name of the copyright holders may not be used to endorse or promote products
|
|
28
|
-
// derived from this software without specific prior written permission.
|
|
29
|
-
//
|
|
30
|
-
// This software is provided by the copyright holders and contributors "as is" and
|
|
31
|
-
// any express or implied warranties, including, but not limited to, the implied
|
|
32
|
-
// warranties of merchantability and fitness for a particular purpose are disclaimed.
|
|
33
|
-
// In no event shall the Intel Corporation or contributors be liable for any direct,
|
|
34
|
-
// indirect, incidental, special, exemplary, or consequential damages
|
|
35
|
-
// (including, but not limited to, procurement of substitute goods or services;
|
|
36
|
-
// loss of use, data, or profits; or business interruption) however caused
|
|
37
|
-
// and on any theory of liability, whether in contract, strict liability,
|
|
38
|
-
// or tort (including negligence or otherwise) arising in any way out of
|
|
39
|
-
// the use of this software, even if advised of the possibility of such damage.
|
|
40
|
-
//
|
|
41
|
-
//M*/
|
|
42
|
-
|
|
43
|
-
#ifndef OPENCV_CORE_CUDA_TYPES_HPP
|
|
44
|
-
#define OPENCV_CORE_CUDA_TYPES_HPP
|
|
45
|
-
|
|
46
|
-
#ifndef __cplusplus
|
|
47
|
-
# error cuda_types.hpp header must be compiled as C++
|
|
48
|
-
#endif
|
|
49
|
-
|
|
50
|
-
#if defined(__OPENCV_BUILD) && defined(__clang__)
|
|
51
|
-
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
|
|
52
|
-
#endif
|
|
53
|
-
#if defined(__OPENCV_BUILD) && defined(__GNUC__) && __GNUC__ >= 5
|
|
54
|
-
#pragma GCC diagnostic ignored "-Wsuggest-override"
|
|
55
|
-
#endif
|
|
56
|
-
|
|
57
|
-
/** @file
|
|
58
|
-
* @deprecated Use @ref cudev instead.
|
|
59
|
-
*/
|
|
60
|
-
|
|
61
|
-
//! @cond IGNORED
|
|
62
|
-
|
|
63
|
-
#ifdef __CUDACC__
|
|
64
|
-
#define __CV_CUDA_HOST_DEVICE__ __host__ __device__ __forceinline__
|
|
65
|
-
#else
|
|
66
|
-
#define __CV_CUDA_HOST_DEVICE__
|
|
67
|
-
#endif
|
|
68
|
-
|
|
69
|
-
namespace cv
|
|
70
|
-
{
|
|
71
|
-
namespace cuda
|
|
72
|
-
{
|
|
73
|
-
|
|
74
|
-
// Simple lightweight structures that encapsulates information about an image on device.
|
|
75
|
-
// It is intended to pass to nvcc-compiled code. GpuMat depends on headers that nvcc can't compile
|
|
76
|
-
|
|
77
|
-
template <typename T> struct DevPtr
|
|
78
|
-
{
|
|
79
|
-
typedef T elem_type;
|
|
80
|
-
typedef int index_type;
|
|
81
|
-
|
|
82
|
-
enum { elem_size = sizeof(elem_type) };
|
|
83
|
-
|
|
84
|
-
T* data;
|
|
85
|
-
|
|
86
|
-
__CV_CUDA_HOST_DEVICE__ DevPtr() : data(0) {}
|
|
87
|
-
__CV_CUDA_HOST_DEVICE__ DevPtr(T* data_) : data(data_) {}
|
|
88
|
-
|
|
89
|
-
__CV_CUDA_HOST_DEVICE__ size_t elemSize() const { return elem_size; }
|
|
90
|
-
__CV_CUDA_HOST_DEVICE__ operator T*() { return data; }
|
|
91
|
-
__CV_CUDA_HOST_DEVICE__ operator const T*() const { return data; }
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
template <typename T> struct PtrSz : public DevPtr<T>
|
|
95
|
-
{
|
|
96
|
-
__CV_CUDA_HOST_DEVICE__ PtrSz() : size(0) {}
|
|
97
|
-
__CV_CUDA_HOST_DEVICE__ PtrSz(T* data_, size_t size_) : DevPtr<T>(data_), size(size_) {}
|
|
98
|
-
|
|
99
|
-
size_t size;
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
template <typename T> struct PtrStep : public DevPtr<T>
|
|
103
|
-
{
|
|
104
|
-
__CV_CUDA_HOST_DEVICE__ PtrStep() : step(0) {}
|
|
105
|
-
__CV_CUDA_HOST_DEVICE__ PtrStep(T* data_, size_t step_) : DevPtr<T>(data_), step(step_) {}
|
|
106
|
-
|
|
107
|
-
size_t step;
|
|
108
|
-
|
|
109
|
-
__CV_CUDA_HOST_DEVICE__ T* ptr(int y = 0) { return ( T*)( ( char*)(((DevPtr<T>*)this)->data) + y * step); }
|
|
110
|
-
__CV_CUDA_HOST_DEVICE__ const T* ptr(int y = 0) const { return (const T*)( (const char*)(((DevPtr<T>*)this)->data) + y * step); }
|
|
111
|
-
|
|
112
|
-
__CV_CUDA_HOST_DEVICE__ T& operator ()(int y, int x) { return ptr(y)[x]; }
|
|
113
|
-
__CV_CUDA_HOST_DEVICE__ const T& operator ()(int y, int x) const { return ptr(y)[x]; }
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
template <typename T> struct PtrStepSz : public PtrStep<T>
|
|
117
|
-
{
|
|
118
|
-
__CV_CUDA_HOST_DEVICE__ PtrStepSz() : cols(0), rows(0) {}
|
|
119
|
-
__CV_CUDA_HOST_DEVICE__ PtrStepSz(int rows_, int cols_, T* data_, size_t step_)
|
|
120
|
-
: PtrStep<T>(data_, step_), cols(cols_), rows(rows_) {}
|
|
121
|
-
|
|
122
|
-
template <typename U>
|
|
123
|
-
explicit PtrStepSz(const PtrStepSz<U>& d) : PtrStep<T>((T*)d.data, d.step), cols(d.cols), rows(d.rows){}
|
|
124
|
-
|
|
125
|
-
int cols;
|
|
126
|
-
int rows;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
typedef PtrStepSz<unsigned char> PtrStepSzb;
|
|
130
|
-
typedef PtrStepSz<unsigned short> PtrStepSzus;
|
|
131
|
-
typedef PtrStepSz<float> PtrStepSzf;
|
|
132
|
-
typedef PtrStepSz<int> PtrStepSzi;
|
|
133
|
-
|
|
134
|
-
typedef PtrStep<unsigned char> PtrStepb;
|
|
135
|
-
typedef PtrStep<unsigned short> PtrStepus;
|
|
136
|
-
typedef PtrStep<float> PtrStepf;
|
|
137
|
-
typedef PtrStep<int> PtrStepi;
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
//! @endcond
|
|
143
|
-
|
|
144
|
-
#endif /* OPENCV_CORE_CUDA_TYPES_HPP */
|
|
@@ -1,381 +0,0 @@
|
|
|
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.
|
|
4
|
-
|
|
5
|
-
#if defined __OPENCV_BUILD \
|
|
6
|
-
|
|
7
|
-
#include "cv_cpu_config.h"
|
|
8
|
-
#include "cv_cpu_helper.h"
|
|
9
|
-
|
|
10
|
-
#ifdef CV_CPU_DISPATCH_MODE
|
|
11
|
-
#define CV_CPU_OPTIMIZATION_NAMESPACE __CV_CAT(opt_, CV_CPU_DISPATCH_MODE)
|
|
12
|
-
#define CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN namespace __CV_CAT(opt_, CV_CPU_DISPATCH_MODE) {
|
|
13
|
-
#define CV_CPU_OPTIMIZATION_NAMESPACE_END }
|
|
14
|
-
#else
|
|
15
|
-
#define CV_CPU_OPTIMIZATION_NAMESPACE cpu_baseline
|
|
16
|
-
#define CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN namespace cpu_baseline {
|
|
17
|
-
#define CV_CPU_OPTIMIZATION_NAMESPACE_END }
|
|
18
|
-
#define CV_CPU_BASELINE_MODE 1
|
|
19
|
-
#endif
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
#define __CV_CPU_DISPATCH_CHAIN_END(fn, args, mode, ...) /* done */
|
|
23
|
-
#define __CV_CPU_DISPATCH(fn, args, mode, ...) __CV_EXPAND(__CV_CPU_DISPATCH_CHAIN_ ## mode(fn, args, __VA_ARGS__))
|
|
24
|
-
#define __CV_CPU_DISPATCH_EXPAND(fn, args, ...) __CV_EXPAND(__CV_CPU_DISPATCH(fn, args, __VA_ARGS__))
|
|
25
|
-
#define CV_CPU_DISPATCH(fn, args, ...) __CV_CPU_DISPATCH_EXPAND(fn, args, __VA_ARGS__, END) // expand macros
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
#if defined CV_ENABLE_INTRINSICS \
|
|
29
|
-
&& !defined CV_DISABLE_OPTIMIZATION \
|
|
30
|
-
&& !defined __CUDACC__ /* do not include SSE/AVX/NEON headers for NVCC compiler */ \
|
|
31
|
-
|
|
32
|
-
#ifdef CV_CPU_COMPILE_SSE2
|
|
33
|
-
# include <emmintrin.h>
|
|
34
|
-
# define CV_MMX 1
|
|
35
|
-
# define CV_SSE 1
|
|
36
|
-
# define CV_SSE2 1
|
|
37
|
-
#endif
|
|
38
|
-
#ifdef CV_CPU_COMPILE_SSE3
|
|
39
|
-
# include <pmmintrin.h>
|
|
40
|
-
# define CV_SSE3 1
|
|
41
|
-
#endif
|
|
42
|
-
#ifdef CV_CPU_COMPILE_SSSE3
|
|
43
|
-
# include <tmmintrin.h>
|
|
44
|
-
# define CV_SSSE3 1
|
|
45
|
-
#endif
|
|
46
|
-
#ifdef CV_CPU_COMPILE_SSE4_1
|
|
47
|
-
# include <smmintrin.h>
|
|
48
|
-
# define CV_SSE4_1 1
|
|
49
|
-
#endif
|
|
50
|
-
#ifdef CV_CPU_COMPILE_SSE4_2
|
|
51
|
-
# include <nmmintrin.h>
|
|
52
|
-
# define CV_SSE4_2 1
|
|
53
|
-
#endif
|
|
54
|
-
#ifdef CV_CPU_COMPILE_POPCNT
|
|
55
|
-
# ifdef _MSC_VER
|
|
56
|
-
# include <nmmintrin.h>
|
|
57
|
-
# if defined(_M_X64)
|
|
58
|
-
# define CV_POPCNT_U64 (int)_mm_popcnt_u64
|
|
59
|
-
# endif
|
|
60
|
-
# define CV_POPCNT_U32 _mm_popcnt_u32
|
|
61
|
-
# else
|
|
62
|
-
# include <popcntintrin.h>
|
|
63
|
-
# if defined(__x86_64__)
|
|
64
|
-
# define CV_POPCNT_U64 __builtin_popcountll
|
|
65
|
-
# endif
|
|
66
|
-
# define CV_POPCNT_U32 __builtin_popcount
|
|
67
|
-
# endif
|
|
68
|
-
# define CV_POPCNT 1
|
|
69
|
-
#endif
|
|
70
|
-
#ifdef CV_CPU_COMPILE_AVX
|
|
71
|
-
# include <immintrin.h>
|
|
72
|
-
# define CV_AVX 1
|
|
73
|
-
#endif
|
|
74
|
-
#ifdef CV_CPU_COMPILE_FP16
|
|
75
|
-
# if defined(__arm__) || defined(__aarch64__) || defined(_M_ARM) || defined(_M_ARM64)
|
|
76
|
-
# include <arm_neon.h>
|
|
77
|
-
# else
|
|
78
|
-
# include <immintrin.h>
|
|
79
|
-
# endif
|
|
80
|
-
# define CV_FP16 1
|
|
81
|
-
#endif
|
|
82
|
-
#ifdef CV_CPU_COMPILE_NEON_DOTPROD
|
|
83
|
-
# include <arm_neon.h>
|
|
84
|
-
# define CV_NEON_DOT 1
|
|
85
|
-
#endif
|
|
86
|
-
#ifdef CV_CPU_COMPILE_AVX2
|
|
87
|
-
# include <immintrin.h>
|
|
88
|
-
# define CV_AVX2 1
|
|
89
|
-
#endif
|
|
90
|
-
#ifdef CV_CPU_COMPILE_AVX_512F
|
|
91
|
-
# include <immintrin.h>
|
|
92
|
-
# define CV_AVX_512F 1
|
|
93
|
-
#endif
|
|
94
|
-
#ifdef CV_CPU_COMPILE_AVX512_COMMON
|
|
95
|
-
# define CV_AVX512_COMMON 1
|
|
96
|
-
# define CV_AVX_512CD 1
|
|
97
|
-
#endif
|
|
98
|
-
#ifdef CV_CPU_COMPILE_AVX512_KNL
|
|
99
|
-
# define CV_AVX512_KNL 1
|
|
100
|
-
# define CV_AVX_512ER 1
|
|
101
|
-
# define CV_AVX_512PF 1
|
|
102
|
-
#endif
|
|
103
|
-
#ifdef CV_CPU_COMPILE_AVX512_KNM
|
|
104
|
-
# define CV_AVX512_KNM 1
|
|
105
|
-
# define CV_AVX_5124FMAPS 1
|
|
106
|
-
# define CV_AVX_5124VNNIW 1
|
|
107
|
-
# define CV_AVX_512VPOPCNTDQ 1
|
|
108
|
-
#endif
|
|
109
|
-
#ifdef CV_CPU_COMPILE_AVX512_SKX
|
|
110
|
-
# define CV_AVX512_SKX 1
|
|
111
|
-
# define CV_AVX_512VL 1
|
|
112
|
-
# define CV_AVX_512BW 1
|
|
113
|
-
# define CV_AVX_512DQ 1
|
|
114
|
-
#endif
|
|
115
|
-
#ifdef CV_CPU_COMPILE_AVX512_CNL
|
|
116
|
-
# define CV_AVX512_CNL 1
|
|
117
|
-
# define CV_AVX_512IFMA 1
|
|
118
|
-
# define CV_AVX_512VBMI 1
|
|
119
|
-
#endif
|
|
120
|
-
#ifdef CV_CPU_COMPILE_AVX512_CLX
|
|
121
|
-
# define CV_AVX512_CLX 1
|
|
122
|
-
# define CV_AVX_512VNNI 1
|
|
123
|
-
#endif
|
|
124
|
-
#ifdef CV_CPU_COMPILE_AVX512_ICL
|
|
125
|
-
# define CV_AVX512_ICL 1
|
|
126
|
-
# undef CV_AVX_512IFMA
|
|
127
|
-
# define CV_AVX_512IFMA 1
|
|
128
|
-
# undef CV_AVX_512VBMI
|
|
129
|
-
# define CV_AVX_512VBMI 1
|
|
130
|
-
# undef CV_AVX_512VNNI
|
|
131
|
-
# define CV_AVX_512VNNI 1
|
|
132
|
-
# define CV_AVX_512VBMI2 1
|
|
133
|
-
# define CV_AVX_512BITALG 1
|
|
134
|
-
# define CV_AVX_512VPOPCNTDQ 1
|
|
135
|
-
#endif
|
|
136
|
-
#ifdef CV_CPU_COMPILE_FMA3
|
|
137
|
-
# define CV_FMA3 1
|
|
138
|
-
#endif
|
|
139
|
-
|
|
140
|
-
#if defined _WIN32 && (defined(_M_ARM) || defined(_M_ARM64)) && (defined(CV_CPU_COMPILE_NEON) || !defined(_MSC_VER))
|
|
141
|
-
# include <Intrin.h>
|
|
142
|
-
# include <arm_neon.h>
|
|
143
|
-
# define CV_NEON 1
|
|
144
|
-
#elif defined(__ARM_NEON__) || (defined (__ARM_NEON) && defined(__aarch64__))
|
|
145
|
-
# include <arm_neon.h>
|
|
146
|
-
# define CV_NEON 1
|
|
147
|
-
#endif
|
|
148
|
-
|
|
149
|
-
#if defined(__riscv) && defined(__riscv_vector) && defined(__riscv_vector_071)
|
|
150
|
-
# include<riscv-vector.h>
|
|
151
|
-
# define CV_RVV071 1
|
|
152
|
-
#endif
|
|
153
|
-
|
|
154
|
-
#if defined(__ARM_NEON__) || defined(__aarch64__)
|
|
155
|
-
# include <arm_neon.h>
|
|
156
|
-
#endif
|
|
157
|
-
|
|
158
|
-
#ifdef CV_CPU_COMPILE_VSX
|
|
159
|
-
# include <altivec.h>
|
|
160
|
-
# undef vector
|
|
161
|
-
# undef pixel
|
|
162
|
-
# undef bool
|
|
163
|
-
# define CV_VSX 1
|
|
164
|
-
#endif
|
|
165
|
-
|
|
166
|
-
#ifdef CV_CPU_COMPILE_VSX3
|
|
167
|
-
# define CV_VSX3 1
|
|
168
|
-
#endif
|
|
169
|
-
|
|
170
|
-
#ifdef CV_CPU_COMPILE_MSA
|
|
171
|
-
# include "hal/msa_macros.h"
|
|
172
|
-
# define CV_MSA 1
|
|
173
|
-
#endif
|
|
174
|
-
|
|
175
|
-
#ifdef CV_CPU_COMPILE_LASX
|
|
176
|
-
# include <lasxintrin.h>
|
|
177
|
-
# define CV_LASX 1
|
|
178
|
-
#endif
|
|
179
|
-
|
|
180
|
-
#ifdef __EMSCRIPTEN__
|
|
181
|
-
# define CV_WASM_SIMD 1
|
|
182
|
-
# include <wasm_simd128.h>
|
|
183
|
-
#endif
|
|
184
|
-
|
|
185
|
-
#if defined CV_CPU_COMPILE_RVV
|
|
186
|
-
# define CV_RVV 1
|
|
187
|
-
# include <riscv_vector.h>
|
|
188
|
-
#endif
|
|
189
|
-
|
|
190
|
-
#endif // CV_ENABLE_INTRINSICS && !CV_DISABLE_OPTIMIZATION && !__CUDACC__
|
|
191
|
-
|
|
192
|
-
#if defined CV_CPU_COMPILE_AVX && !defined CV_CPU_BASELINE_COMPILE_AVX
|
|
193
|
-
struct VZeroUpperGuard {
|
|
194
|
-
#ifdef __GNUC__
|
|
195
|
-
__attribute__((always_inline))
|
|
196
|
-
#endif
|
|
197
|
-
inline VZeroUpperGuard() { _mm256_zeroupper(); }
|
|
198
|
-
#ifdef __GNUC__
|
|
199
|
-
__attribute__((always_inline))
|
|
200
|
-
#endif
|
|
201
|
-
inline ~VZeroUpperGuard() { _mm256_zeroupper(); }
|
|
202
|
-
};
|
|
203
|
-
#define __CV_AVX_GUARD VZeroUpperGuard __vzeroupper_guard; CV_UNUSED(__vzeroupper_guard);
|
|
204
|
-
#endif
|
|
205
|
-
|
|
206
|
-
#ifdef __CV_AVX_GUARD
|
|
207
|
-
#define CV_AVX_GUARD __CV_AVX_GUARD
|
|
208
|
-
#else
|
|
209
|
-
#define CV_AVX_GUARD
|
|
210
|
-
#endif
|
|
211
|
-
|
|
212
|
-
#endif // __OPENCV_BUILD
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
#if !defined __OPENCV_BUILD /* Compatibility code */ \
|
|
217
|
-
&& !defined __CUDACC__ /* do not include SSE/AVX/NEON headers for NVCC compiler */
|
|
218
|
-
#if defined __SSE2__ || defined _M_X64 || (defined _M_IX86_FP && _M_IX86_FP >= 2)
|
|
219
|
-
# include <emmintrin.h>
|
|
220
|
-
# define CV_MMX 1
|
|
221
|
-
# define CV_SSE 1
|
|
222
|
-
# define CV_SSE2 1
|
|
223
|
-
#elif defined _WIN32 && (defined(_M_ARM) || defined(_M_ARM64)) && (defined(CV_CPU_COMPILE_NEON) || !defined(_MSC_VER))
|
|
224
|
-
# include <Intrin.h>
|
|
225
|
-
# include <arm_neon.h>
|
|
226
|
-
# define CV_NEON 1
|
|
227
|
-
#elif defined(__ARM_NEON__) || (defined (__ARM_NEON) && defined(__aarch64__))
|
|
228
|
-
# include <arm_neon.h>
|
|
229
|
-
# define CV_NEON 1
|
|
230
|
-
#elif defined(__VSX__) && defined(__PPC64__) && defined(__LITTLE_ENDIAN__)
|
|
231
|
-
# include <altivec.h>
|
|
232
|
-
# undef vector
|
|
233
|
-
# undef pixel
|
|
234
|
-
# undef bool
|
|
235
|
-
# define CV_VSX 1
|
|
236
|
-
#endif
|
|
237
|
-
|
|
238
|
-
#ifdef __F16C__
|
|
239
|
-
# include <immintrin.h>
|
|
240
|
-
# define CV_FP16 1
|
|
241
|
-
#endif
|
|
242
|
-
|
|
243
|
-
#endif // !__OPENCV_BUILD && !__CUDACC (Compatibility code)
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
#ifndef CV_MMX
|
|
248
|
-
# define CV_MMX 0
|
|
249
|
-
#endif
|
|
250
|
-
#ifndef CV_SSE
|
|
251
|
-
# define CV_SSE 0
|
|
252
|
-
#endif
|
|
253
|
-
#ifndef CV_SSE2
|
|
254
|
-
# define CV_SSE2 0
|
|
255
|
-
#endif
|
|
256
|
-
#ifndef CV_SSE3
|
|
257
|
-
# define CV_SSE3 0
|
|
258
|
-
#endif
|
|
259
|
-
#ifndef CV_SSSE3
|
|
260
|
-
# define CV_SSSE3 0
|
|
261
|
-
#endif
|
|
262
|
-
#ifndef CV_SSE4_1
|
|
263
|
-
# define CV_SSE4_1 0
|
|
264
|
-
#endif
|
|
265
|
-
#ifndef CV_SSE4_2
|
|
266
|
-
# define CV_SSE4_2 0
|
|
267
|
-
#endif
|
|
268
|
-
#ifndef CV_POPCNT
|
|
269
|
-
# define CV_POPCNT 0
|
|
270
|
-
#endif
|
|
271
|
-
#ifndef CV_AVX
|
|
272
|
-
# define CV_AVX 0
|
|
273
|
-
#endif
|
|
274
|
-
#ifndef CV_FP16
|
|
275
|
-
# define CV_FP16 0
|
|
276
|
-
#endif
|
|
277
|
-
#ifndef CV_AVX2
|
|
278
|
-
# define CV_AVX2 0
|
|
279
|
-
#endif
|
|
280
|
-
#ifndef CV_FMA3
|
|
281
|
-
# define CV_FMA3 0
|
|
282
|
-
#endif
|
|
283
|
-
#ifndef CV_AVX_512F
|
|
284
|
-
# define CV_AVX_512F 0
|
|
285
|
-
#endif
|
|
286
|
-
#ifndef CV_AVX_512BW
|
|
287
|
-
# define CV_AVX_512BW 0
|
|
288
|
-
#endif
|
|
289
|
-
#ifndef CV_AVX_512CD
|
|
290
|
-
# define CV_AVX_512CD 0
|
|
291
|
-
#endif
|
|
292
|
-
#ifndef CV_AVX_512DQ
|
|
293
|
-
# define CV_AVX_512DQ 0
|
|
294
|
-
#endif
|
|
295
|
-
#ifndef CV_AVX_512ER
|
|
296
|
-
# define CV_AVX_512ER 0
|
|
297
|
-
#endif
|
|
298
|
-
#ifndef CV_AVX_512IFMA
|
|
299
|
-
# define CV_AVX_512IFMA 0
|
|
300
|
-
#endif
|
|
301
|
-
#define CV_AVX_512IFMA512 CV_AVX_512IFMA // deprecated
|
|
302
|
-
#ifndef CV_AVX_512PF
|
|
303
|
-
# define CV_AVX_512PF 0
|
|
304
|
-
#endif
|
|
305
|
-
#ifndef CV_AVX_512VBMI
|
|
306
|
-
# define CV_AVX_512VBMI 0
|
|
307
|
-
#endif
|
|
308
|
-
#ifndef CV_AVX_512VL
|
|
309
|
-
# define CV_AVX_512VL 0
|
|
310
|
-
#endif
|
|
311
|
-
#ifndef CV_AVX_5124FMAPS
|
|
312
|
-
# define CV_AVX_5124FMAPS 0
|
|
313
|
-
#endif
|
|
314
|
-
#ifndef CV_AVX_5124VNNIW
|
|
315
|
-
# define CV_AVX_5124VNNIW 0
|
|
316
|
-
#endif
|
|
317
|
-
#ifndef CV_AVX_512VPOPCNTDQ
|
|
318
|
-
# define CV_AVX_512VPOPCNTDQ 0
|
|
319
|
-
#endif
|
|
320
|
-
#ifndef CV_AVX_512VNNI
|
|
321
|
-
# define CV_AVX_512VNNI 0
|
|
322
|
-
#endif
|
|
323
|
-
#ifndef CV_AVX_512VBMI2
|
|
324
|
-
# define CV_AVX_512VBMI2 0
|
|
325
|
-
#endif
|
|
326
|
-
#ifndef CV_AVX_512BITALG
|
|
327
|
-
# define CV_AVX_512BITALG 0
|
|
328
|
-
#endif
|
|
329
|
-
#ifndef CV_AVX512_COMMON
|
|
330
|
-
# define CV_AVX512_COMMON 0
|
|
331
|
-
#endif
|
|
332
|
-
#ifndef CV_AVX512_KNL
|
|
333
|
-
# define CV_AVX512_KNL 0
|
|
334
|
-
#endif
|
|
335
|
-
#ifndef CV_AVX512_KNM
|
|
336
|
-
# define CV_AVX512_KNM 0
|
|
337
|
-
#endif
|
|
338
|
-
#ifndef CV_AVX512_SKX
|
|
339
|
-
# define CV_AVX512_SKX 0
|
|
340
|
-
#endif
|
|
341
|
-
#ifndef CV_AVX512_CNL
|
|
342
|
-
# define CV_AVX512_CNL 0
|
|
343
|
-
#endif
|
|
344
|
-
#ifndef CV_AVX512_CLX
|
|
345
|
-
# define CV_AVX512_CLX 0
|
|
346
|
-
#endif
|
|
347
|
-
#ifndef CV_AVX512_ICL
|
|
348
|
-
# define CV_AVX512_ICL 0
|
|
349
|
-
#endif
|
|
350
|
-
|
|
351
|
-
#ifndef CV_NEON
|
|
352
|
-
# define CV_NEON 0
|
|
353
|
-
#endif
|
|
354
|
-
|
|
355
|
-
#ifndef CV_RVV071
|
|
356
|
-
# define CV_RVV071 0
|
|
357
|
-
#endif
|
|
358
|
-
|
|
359
|
-
#ifndef CV_VSX
|
|
360
|
-
# define CV_VSX 0
|
|
361
|
-
#endif
|
|
362
|
-
|
|
363
|
-
#ifndef CV_VSX3
|
|
364
|
-
# define CV_VSX3 0
|
|
365
|
-
#endif
|
|
366
|
-
|
|
367
|
-
#ifndef CV_MSA
|
|
368
|
-
# define CV_MSA 0
|
|
369
|
-
#endif
|
|
370
|
-
|
|
371
|
-
#ifndef CV_WASM_SIMD
|
|
372
|
-
# define CV_WASM_SIMD 0
|
|
373
|
-
#endif
|
|
374
|
-
|
|
375
|
-
#ifndef CV_RVV
|
|
376
|
-
# define CV_RVV 0
|
|
377
|
-
#endif
|
|
378
|
-
|
|
379
|
-
#ifndef CV_LASX
|
|
380
|
-
# define CV_LASX 0
|
|
381
|
-
#endif
|