Home
last modified time | relevance | path

Searched refs:_src2 (Results 1 – 17 of 17) sorted by relevance

/external/opencv3/modules/cudaarithm/src/cuda/
Dnorm.cu61 void normDiffInf(const GpuMat& _src1, const GpuMat& _src2, GpuMat& _dst, Stream& stream) in normDiffInf() argument
64 const GpuMat_<uchar>& src2 = (const GpuMat_<uchar>&) _src2; in normDiffInf()
70 void normDiffL1(const GpuMat& _src1, const GpuMat& _src2, GpuMat& _dst, Stream& stream) in normDiffL1() argument
73 const GpuMat_<uchar>& src2 = (const GpuMat_<uchar>&) _src2; in normDiffL1()
79 void normDiffL2(const GpuMat& _src1, const GpuMat& _src2, GpuMat& _dst, Stream& stream) in normDiffL2() argument
82 const GpuMat_<uchar>& src2 = (const GpuMat_<uchar>&) _src2; in normDiffL2()
93 void cv::cuda::calcNormDiff(InputArray _src1, InputArray _src2, OutputArray _dst, int normType, Str… in calcNormDiff() argument
95 typedef void (*func_t)(const GpuMat& _src1, const GpuMat& _src2, GpuMat& _dst, Stream& stream); in calcNormDiff()
102 GpuMat src2 = getInputMat(_src2, stream); in calcNormDiff()
116 double cv::cuda::norm(InputArray _src1, InputArray _src2, int normType) in norm() argument
[all …]
Dmul_spectrums.cu122 void cv::cuda::mulSpectrums(InputArray _src1, InputArray _src2, OutputArray _dst, int flags, bool c… in mulSpectrums() argument
127 GpuMat src2 = getInputMat(_src2, stream); in mulSpectrums()
142 void cv::cuda::mulAndScaleSpectrums(InputArray _src1, InputArray _src2, OutputArray _dst, int flags… in mulAndScaleSpectrums() argument
147 GpuMat src2 = getInputMat(_src2, stream); in mulAndScaleSpectrums()
Dadd_weighted.cu99 void cv::cuda::addWeighted(InputArray _src1, double alpha, InputArray _src2, double beta, double ga… in addWeighted() argument
562 GpuMat src2 = getInputMat(_src2, stream); in addWeighted()
/external/opencv3/modules/imgproc/src/
Dblend.cpp56 BlendLinearInvoker(const Mat & _src1, const Mat & _src2, const Mat & _weights1, in BlendLinearInvoker() argument
58 src1(&_src1), src2(&_src2), weights1(&_weights1), weights2(&_weights2), dst(&_dst) in BlendLinearInvoker()
96 static bool ocl_blendLinear( InputArray _src1, InputArray _src2, InputArray _weights1, InputArray _… in ocl_blendLinear() argument
107 UMat src1 = _src1.getUMat(), src2 = _src2.getUMat(), weights1 = _weights1.getUMat(), in ocl_blendLinear()
122 void cv::blendLinear( InputArray _src1, InputArray _src2, InputArray _weights1, InputArray _weights… in blendLinear() argument
128 CV_Assert(size == _src2.size() && size == _weights1.size() && size == _weights2.size()); in blendLinear()
129 CV_Assert(type == _src2.type() && _weights1.type() == CV_32FC1 && _weights2.type() == CV_32FC1); in blendLinear()
134 ocl_blendLinear(_src1, _src2, _weights1, _weights2, _dst)) in blendLinear()
136 Mat src1 = _src1.getMat(), src2 = _src2.getMat(), weights1 = _weights1.getMat(), in blendLinear()
Daccum.cpp790 static bool ocl_accumulate( InputArray _src, InputArray _src2, InputOutputArray _dst, double alpha, in ocl_accumulate() argument
799 …int kercn = haveMask ? cn : ocl::predictOptimalVectorWidthMax(_src, _src2, _dst), rowsPerWI = dev.… in ocl_accumulate()
817 UMat src = _src.getUMat(), src2 = _src2.getUMat(), dst = _dst.getUMat(), mask = _mask.getUMat(); in ocl_accumulate()
1014 void cv::accumulateProduct( InputArray _src1, InputArray _src2, in accumulateProduct() argument
1020 CV_Assert( _src1.sameSize(_src2) && stype == _src2.type() ); in accumulateProduct()
1025 ocl_accumulate(_src1, _src2, _dst, 0.0, _mask, ACCUMULATE_PRODUCT)) in accumulateProduct()
1027 Mat src1 = _src1.getMat(), src2 = _src2.getMat(), dst = _dst.getMat(), mask = _mask.getMat(); in accumulateProduct()
Dphasecorr.cpp491 cv::Point2d cv::phaseCorrelate(InputArray _src1, InputArray _src2, InputArray _window, double* resp… in phaseCorrelate() argument
494 Mat src2 = _src2.getMat(); in phaseCorrelate()
/external/opencv3/modules/cudaarithm/src/
Delement_operations.cpp98 …void arithm_op(InputArray _src1, InputArray _src2, OutputArray _dst, InputArray _mask, double scal… in arithm_op() argument
102 const int kind2 = _src2.kind(); in arithm_op()
114 src2 = getInputMat(_src2, stream); in arithm_op()
120 scalar = _src2.getMat(); in arithm_op()
196 void cv::cuda::multiply(InputArray _src1, InputArray _src2, OutputArray _dst, double scale, int dty… in multiply() argument
198 if (_src1.type() == CV_8UC4 && _src2.type() == CV_32FC1) in multiply()
201 GpuMat src2 = getInputMat(_src2, stream); in multiply()
211 else if (_src1.type() == CV_16SC4 && _src2.type() == CV_32FC1) in multiply()
214 GpuMat src2 = getInputMat(_src2, stream); in multiply()
226 arithm_op(_src1, _src2, _dst, GpuMat(), scale, dtype, stream, mulMat, mulScalar); in multiply()
[all …]
Darithm.cpp157 void cv::cuda::gemm(InputArray _src1, InputArray _src2, double alpha, InputArray _src3, double beta… in gemm() argument
161 (void) _src2; in gemm()
173 GpuMat src2 = getInputMat(_src2, stream); in gemm()
/external/libvpx/libvpx/vpx_dsp/
Dfastssim.c136 int _s1ystride, const unsigned char *_src2, in fs_downsample_level0() argument
161 dst2[j * w + i] = _src2[j0 * _s2ystride + i0] in fs_downsample_level0()
162 + _src2[j0 * _s2ystride + i1] + _src2[j1 * _s2ystride + i0] in fs_downsample_level0()
163 + _src2[j1 * _s2ystride + i1]; in fs_downsample_level0()
/external/opencv3/modules/core/src/
Dstat.cpp1049 … InputArray _src2 = noArray(), bool calc2 = false, const Scalar & res2 = Scalar() ) in ocl_sum() argument
1056 haveSrc2 = _src2.kind() != _InputArray::NONE; in ocl_sum()
1058 kercn = cn == 1 && !haveMask ? ocl::predictOptimalVectorWidth(_src, _src2) : 1, in ocl_sum()
1060 CV_Assert(!haveSrc2 || _src2.type() == type); in ocl_sum()
1092 haveSrc2 && _src2.isContinuous() ? " -D HAVE_SRC2_CONT" : "", in ocl_sum()
1099 UMat src = _src.getUMat(), src2 = _src2.getUMat(), in ocl_sum()
2049 … int ddepth = -1, bool absValues = false, InputArray _src2 = noArray(), double * maxVal2 = NULL) in ocl_minMaxIdx() argument
2059 haveSrc2 = _src2.kind() != _InputArray::NONE; in ocl_minMaxIdx()
2061 kercn = haveMask ? cn : std::min(4, ocl::predictOptimalVectorWidth(_src, _src2)); in ocl_minMaxIdx()
2073 CV_Assert(!haveSrc2 || _src2.type() == type); in ocl_minMaxIdx()
[all …]
Darithm.cpp1437 static bool ocl_binary_op(InputArray _src1, InputArray _src2, OutputArray _dst, in ocl_binary_op() argument
1452 int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); in ocl_binary_op()
1485 Mat src2sc = _src2.getMat(); in ocl_binary_op()
1498 src2 = _src2.getUMat(); in ocl_binary_op()
1513 static void binary_op( InputArray _src1, InputArray _src2, OutputArray _dst, in binary_op() argument
1517 const _InputArray *psrc1 = &_src1, *psrc2 = &_src2; in binary_op()
1805 static bool ocl_arithm_op(InputArray _src1, InputArray _src2, OutputArray _dst, in ocl_arithm_op() argument
1823 int type2 = haveScalar ? wtype : _src2.type(), depth2 = CV_MAT_DEPTH(type2); in ocl_arithm_op()
1827 int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); in ocl_arithm_op()
1877 Mat src2sc = _src2.getMat(); in ocl_arithm_op()
[all …]
Dlapack.cpp1053 Mat src = _src.getMat(), _src2 = _src2arg.getMat(); in solve() local
1057 CV_Assert( type == _src2.type() && (type == CV_32F || type == CV_64F) ); in solve()
1065 src.rows <= 3 && src.rows == src.cols && _src2.cols == 1 ) in solve()
1067 _dst.create( src.cols, _src2.cols, src.type() ); in solve()
1074 const uchar* bdata = _src2.ptr(); in solve()
1077 size_t src2step = _src2.step; in solve()
1199 int m = src.rows, m_ = m, n = src.cols, nb = _src2.cols; in solve()
1205 Mat src2 = _src2; in solve()
Dmathfuncs.cpp64 static bool ocl_math_op(InputArray _src1, InputArray _src2, OutputArray _dst, int oclop) in ocl_math_op() argument
68 oclop == OCL_OP_PHASE_RADIANS ? 1 : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); in ocl_math_op()
77 … format("-D %s -D %s -D dstT=%s -D rowsPerWI=%d%s", _src2.empty() ? "UNARY_OP" : "BINARY_OP", in ocl_math_op()
83 UMat src1 = _src1.getUMat(), src2 = _src2.getUMat(); in ocl_math_op()
299 static bool ocl_cartToPolar( InputArray _src1, InputArray _src2, in ocl_cartToPolar() argument
307 if ( !(_src1.dims() <= 2 && _src2.dims() <= 2 && in ocl_cartToPolar()
308 (depth == CV_32F || depth == CV_64F) && type == _src2.type()) || in ocl_cartToPolar()
320 UMat src1 = _src1.getUMat(), src2 = _src2.getUMat(); in ocl_cartToPolar()
Dumatrix.cpp855 static bool ocl_dot( InputArray _src1, InputArray _src2, double & res ) in ocl_dot() argument
857 UMat src1 = _src1.getUMat().reshape(1), src2 = _src2.getUMat().reshape(1); in ocl_dot()
884 _src2.isContinuous() ? " -D HAVE_SRC2_CONT" : "", kercn)); in ocl_dot()
Dmatmul.cpp2267 static bool ocl_scaleAdd( InputArray _src1, double alpha, InputArray _src2, OutputArray _dst, int t… in ocl_scaleAdd() argument
2274 if ( (!doubleSupport && depth == CV_64F) || size != _src2.size() ) in ocl_scaleAdd()
2279 int kercn = ocl::predictOptimalVectorWidthMax(_src1, _src2, _dst), in ocl_scaleAdd()
2296 UMat src1 = _src1.getUMat(), src2 = _src2.getUMat(), dst = _dst.getUMat(); in ocl_scaleAdd()
2315 void cv::scaleAdd( InputArray _src1, double alpha, InputArray _src2, OutputArray _dst ) in scaleAdd() argument
2318 CV_Assert( type == _src2.type() ); in scaleAdd()
2320 CV_OCL_RUN(_src1.dims() <= 2 && _src2.dims() <= 2 && _dst.isUMat(), in scaleAdd()
2321 ocl_scaleAdd(_src1, alpha, _src2, _dst, type)) in scaleAdd()
2325 addWeighted(_src1, alpha, _src2, 1, 0, _dst, depth); in scaleAdd()
2329 Mat src1 = _src1.getMat(), src2 = _src2.getMat(); in scaleAdd()
/external/opencv3/modules/superres/src/
Dbtv_l1.cpp304 static bool ocl_diffSign(InputArray _src1, OutputArray _src2, OutputArray _dst) in ocl_diffSign() argument
310 UMat src1 = _src1.getUMat(), src2 = _src2.getUMat(); in ocl_diffSign()
325 void diffSign(InputArray _src1, OutputArray _src2, OutputArray _dst) in diffSign() argument
328 ocl_diffSign(_src1, _src2, _dst)) in diffSign()
330 Mat src1 = _src1.getMat(), src2 = _src2.getMat(); in diffSign()
/external/opencv3/modules/ts/src/
Dts_func.cpp1321 double norm(InputArray _src1, InputArray _src2, int normType, InputArray _mask) in norm() argument
1323 Mat src1 = _src1.getMat(), src2 = _src2.getMat(), mask = _mask.getMat(); in norm()
1402 double PSNR(InputArray _src1, InputArray _src2) in PSNR() argument
1405 … double diff = std::sqrt(cvtest::norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); in PSNR()