Searched refs:relForwardMotions (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/superres/src/ |
D | btv_l1_cuda.cpp | 82 …std::vector<std::pair<GpuMat, GpuMat> >& relForwardMotions, std::vector<std::pair<GpuMat, GpuMat> … in calcRelativeMotions() 87 relForwardMotions.resize(count); in calcRelativeMotions() 88 relForwardMotions[baseIdx].first.create(size, CV_32FC1); in calcRelativeMotions() 89 relForwardMotions[baseIdx].first.setTo(Scalar::all(0)); in calcRelativeMotions() 90 relForwardMotions[baseIdx].second.create(size, CV_32FC1); in calcRelativeMotions() 91 relForwardMotions[baseIdx].second.setTo(Scalar::all(0)); in calcRelativeMotions() 101 … cuda::add(relForwardMotions[i + 1].first, forwardMotions[i].first, relForwardMotions[i].first); in calcRelativeMotions() 102 … cuda::add(relForwardMotions[i + 1].second, forwardMotions[i].second, relForwardMotions[i].second); in calcRelativeMotions() 110 … cuda::add(relForwardMotions[i - 1].first, backwardMotions[i].first, relForwardMotions[i].first); in calcRelativeMotions() 111 …cuda::add(relForwardMotions[i - 1].second, backwardMotions[i].second, relForwardMotions[i].second); in calcRelativeMotions()
|
D | btv_l1.cpp | 63 & relForwardMotions = *(std::vector<UMat> *)_relForwardMotions.getObj(), in ocl_calcRelativeMotions() local 68 relForwardMotions.resize(count); in ocl_calcRelativeMotions() 69 relForwardMotions[baseIdx].create(size, CV_32FC2); in ocl_calcRelativeMotions() 70 relForwardMotions[baseIdx].setTo(Scalar::all(0)); in ocl_calcRelativeMotions() 78 add(relForwardMotions[i + 1], forwardMotions[i], relForwardMotions[i]); in ocl_calcRelativeMotions() 84 add(relForwardMotions[i - 1], backwardMotions[i], relForwardMotions[i]); in ocl_calcRelativeMotions() 104 & relForwardMotions = *(std::vector<Mat> *)_relForwardMotions.getObj(), in calcRelativeMotions() 109 relForwardMotions.resize(count); in calcRelativeMotions() 110 relForwardMotions[baseIdx].create(size, CV_32FC2); in calcRelativeMotions() 111 relForwardMotions[baseIdx].setTo(Scalar::all(0)); in calcRelativeMotions() [all …]
|