Home
last modified time | relevance | path

Searched refs:scalar_type (Results 1 – 10 of 10) sorted by relevance

/external/opencv3/modules/cudaarithm/src/cuda/
Dnormalize.cu66 typedef typename LargerType<larger_type2, float>::type scalar_type; typedef
68 scalar_type dmin, dmax;
73 const scalar_type smin = minMaxVals[0]; in operator ()()
74 const scalar_type smax = minMaxVals[1]; in operator ()()
76 …const scalar_type scale = (dmax - dmin) * (smax - smin > numeric_limits<scalar_type>::epsilon() ? … in operator ()()
77 const scalar_type shift = dmin - smin * scale; in operator ()()
122 typedef typename LargerType<larger_type2, float>::type scalar_type; typedef
124 scalar_type a;
129 sqrt_func<scalar_type> sqrt; in operator ()()
131 scalar_type scale = normL2 ? sqrt(*normVal) : *normVal; in operator ()()
[all …]
Dadd_weighted.cu88 typedef typename LargerType<larger_type2, float>::type scalar_type; in addWeightedImpl() typedef
90 AddWeightedOp<T1, T2, D, scalar_type> op; in addWeightedImpl()
91 op.alpha = static_cast<scalar_type>(alpha); in addWeightedImpl()
92 op.beta = static_cast<scalar_type>(beta); in addWeightedImpl()
93 op.gamma = static_cast<scalar_type>(gamma); in addWeightedImpl()
95 …gridTransformBinary_< TransformPolicy<scalar_type> >(globPtr<T1>(src1), globPtr<T2>(src2), globPtr… in addWeightedImpl()
/external/eigen/unsupported/Eigen/src/FFT/
Dei_fftw_impl.h53 typedef float scalar_type;
70 void fwd(complex_type * dst,scalar_type * src,int nfft) {
75 void inv(scalar_type * dst,complex_type * src,int nfft) {
96 typedef double scalar_type;
113 void fwd(complex_type * dst,scalar_type * src,int nfft) {
118 void inv(scalar_type * dst,complex_type * src,int nfft) {
137 typedef long double scalar_type;
154 void fwd(complex_type * dst,scalar_type * src,int nfft) {
159 void inv(scalar_type * dst,complex_type * src,int nfft) {
/external/opencv/cv/src/
Dcvkdtree.cpp58 typedef __scalartype scalar_type; typedef
65 scalar_type operator() (int i, int j) const { in operator ()()
66 return *((scalar_type*)(mat->data.ptr + i * mat->step) + j); in operator ()()
97 typename __treetype::scalar_type* dj = (typename __treetype::scalar_type*) dptr; in find_nn()
123 find_ortho_range((typename __treetype::scalar_type*)bounds_min->data.ptr, in find_ortho_range()
124 (typename __treetype::scalar_type*)bounds_max->data.ptr, in find_ortho_range()
D_cvkdtree.hpp64 typedef typename __deref::scalar_type scalar_type; typedef in CvKDTree
72 scalar_type boundary; // left if deref(value,dim)<=boundary, otherwise right
328 void pq_alternate(int alt_n, bbf_pqueue & pq, scalar_type dist) const { in pq_alternate()
429 void find_ortho_range(int i, scalar_type * bounds_min, in find_ortho_range()
430 scalar_type * bounds_max, in find_ortho_range()
448 int find_ortho_range(scalar_type * bounds_min, in find_ortho_range()
449 scalar_type * bounds_max, in find_ortho_range()
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dvec_math.hpp537 #define CV_CUDEV_IMPLEMENT_SCALAR_BINARY_OP(op, input_type, scalar_type, output_type) \ argument
538 …__device__ __forceinline__ output_type ## 1 operator op(const input_type ## 1 & a, scalar_type s) \
542 …__device__ __forceinline__ output_type ## 1 operator op(scalar_type s, const input_type ## 1 & b) \
546 …__device__ __forceinline__ output_type ## 2 operator op(const input_type ## 2 & a, scalar_type s) \
550 …__device__ __forceinline__ output_type ## 2 operator op(scalar_type s, const input_type ## 2 & b) \
554 …__device__ __forceinline__ output_type ## 3 operator op(const input_type ## 3 & a, scalar_type s) \
558 …__device__ __forceinline__ output_type ## 3 operator op(scalar_type s, const input_type ## 3 & b) \
562 …__device__ __forceinline__ output_type ## 4 operator op(const input_type ## 4 & a, scalar_type s) \
566 …__device__ __forceinline__ output_type ## 4 operator op(scalar_type s, const input_type ## 4 & b) \
814 #define CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(func_name, func, input_type, scalar_type, output_type… argument
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dvec_math.hpp548 #define CV_CUDEV_IMPLEMENT_SCALAR_BINARY_OP(op, input_type, scalar_type, output_type) \ argument
549 …__device__ __forceinline__ output_type ## 1 operator op(const input_type ## 1 & a, scalar_type s) \
553 …__device__ __forceinline__ output_type ## 1 operator op(scalar_type s, const input_type ## 1 & b) \
557 …__device__ __forceinline__ output_type ## 2 operator op(const input_type ## 2 & a, scalar_type s) \
561 …__device__ __forceinline__ output_type ## 2 operator op(scalar_type s, const input_type ## 2 & b) \
565 …__device__ __forceinline__ output_type ## 3 operator op(const input_type ## 3 & a, scalar_type s) \
569 …__device__ __forceinline__ output_type ## 3 operator op(scalar_type s, const input_type ## 3 & b) \
573 …__device__ __forceinline__ output_type ## 4 operator op(const input_type ## 4 & a, scalar_type s) \
577 …__device__ __forceinline__ output_type ## 4 operator op(scalar_type s, const input_type ## 4 & b) \
825 #define CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(func_name, func, input_type, scalar_type, output_type… argument
[all …]
/external/opencv3/modules/core/src/cuda/
Dgpu_mat.cu438 typedef typename LargerType<float, dst_elem_type>::type scalar_type; in convertToNoScale() typedef
440 …gridTransformUnary_< ConvertToPolicy<scalar_type> >(globPtr<T>(src), globPtr<D>(dst), saturate_cas… in convertToNoScale()
460 typedef typename LargerType<float, dst_elem_type>::type scalar_type; in convertToScale() typedef
462 Convertor<T, D, scalar_type> op; in convertToScale()
463 op.alpha = cv::saturate_cast<scalar_type>(alpha); in convertToScale()
464 op.beta = cv::saturate_cast<scalar_type>(beta); in convertToScale()
466 … gridTransformUnary_< ConvertToPolicy<scalar_type> >(globPtr<T>(src), globPtr<D>(dst), op, stream); in convertToScale()
/external/skia/bench/
Dbench_util.py168 scalar_type = None
173 scalar_type = components[components.index('scalar') + 1]
179 settings['scalar'] = scalar_type
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_logic.c621 LLVMTypeRef scalar_type; in lp_build_any_true_range() local
628 scalar_type = LLVMIntTypeInContext(bld->gallivm->context, in lp_build_any_true_range()
630 val = LLVMBuildBitCast(builder, val, scalar_type, ""); in lp_build_any_true_range()