Home
last modified time | relevance | path

Searched refs:polyN (Results 1 – 9 of 9) sorted by relevance

/external/opencv3/modules/video/test/ocl/
Dtest_optflow_farneback.cpp68 int polyN; in PARAM_TEST_CASE() local
78 polyN = GET_PARAM(1); in PARAM_TEST_CASE()
92 double polySigma = polyN <= 5 ? 1.1 : 1.5; in OCL_TEST_P()
97 …wFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)… in OCL_TEST_P()
101 …owFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)… in OCL_TEST_P()
102 …wFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)… in OCL_TEST_P()
/external/opencv3/modules/cudaoptflow/src/cuda/
Dfarneback.cu66 template <int polyN>
71 const int x = bx * (bdx - 2*polyN) + tx - polyN; in polynomialExpansion()
83 for (int k = 1; k <= polyN; ++k) in polynomialExpansion()
95 if (tx >= polyN && tx + polyN < bdx && x < width) in polynomialExpansion()
102 for (int k = 1; k <= polyN; ++k) in polynomialExpansion()
123 int polyN, const float *g, const float *xg, const float *xxg, in setPolynomialExpansionConsts() argument
126 cudaSafeCall(cudaMemcpyToSymbol(c_g, g, (polyN + 1) * sizeof(*g))); in setPolynomialExpansionConsts()
127 cudaSafeCall(cudaMemcpyToSymbol(c_xg, xg, (polyN + 1) * sizeof(*xg))); in setPolynomialExpansionConsts()
128 cudaSafeCall(cudaMemcpyToSymbol(c_xxg, xxg, (polyN + 1) * sizeof(*xxg))); in setPolynomialExpansionConsts()
136 … void polynomialExpansionGpu(const PtrStepSzf &src, int polyN, PtrStepSzf dst, cudaStream_t stream) in polynomialExpansionGpu() argument
[all …]
/external/opencv3/modules/video/perf/opencl/
Dperf_optflow_farneback.cpp88 const int polyN = get<0>(polyParams); variable
101 …arneback(uFrame0, uFrame1, uFlow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags);
106 …arneback(uFrame0, uFrame1, uFlow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags);
/external/opencv3/modules/cudaoptflow/src/
Dfarneback.cpp63 int polyN, const float *g, const float *xg, const float *xxg,
66 …void polynomialExpansionGpu(const PtrStepSzf &src, int polyN, PtrStepSzf dst, cudaStream_t stream);
100 int numIters, int polyN, double polySigma, int flags) : in FarnebackOpticalFlowImpl() argument
102 numIters_(numIters), polyN_(polyN), polySigma_(polySigma), flags_(flags) in FarnebackOpticalFlowImpl()
122 virtual void setPolyN(int polyN) { polyN_ = polyN; } in setPolyN() argument
463 … int numIters, int polyN, double polySigma, int flags) in create() argument
466 numIters, polyN, polySigma, flags); in create()
/external/opencv3/modules/cudaoptflow/include/opencv2/
Dcudaoptflow.hpp234 virtual void setPolyN(int polyN) = 0;
248 int polyN = 5,
/external/opencv3/modules/video/src/opencl/
Doptical_flow_farneback.cl55 #ifndef polyN
56 #define polyN 5
82 const int x = bx * (bdx - 2*polyN) + tx - polyN;
96 for (int k = 1; k <= polyN; ++k)
109 if (y < rows && y >= 0 && tx >= polyN && tx + polyN < bdx && x < cols)
117 for (int k = 1; k <= polyN; ++k)
/external/opencv3/modules/cudaoptflow/test/
Dtest_optflow.cpp275 int polyN; in PARAM_TEST_CASE() local
283 polyN = GET_PARAM(2); in PARAM_TEST_CASE()
299 double polySigma = polyN <= 5 ? 1.1 : 1.5; in CUDA_TEST_P()
304 farn->setPolyN(polyN); in CUDA_TEST_P()
/external/opencv3/modules/cudaoptflow/perf/
Dperf_optflow.cpp240 const int polyN = 5; variable
252 numIters, polyN, polySigma, flags);
269 …owFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags);
/external/opencv3/modules/video/src/
Doptflowgf.cpp598 polyN = 5; in FarnebackOpticalFlow()
608 int polyN; member in cv::FarnebackOpticalFlow
616 CV_Assert(polyN == 5 || polyN == 7); in operator ()()
656 setPolynomialExpansionConsts(polyN, polySigma); in operator ()()
900 size_t globalsize[2] = { DIVUP(src.cols, localsize[0] - 2*polyN) * localsize[0], src.rows}; in polynomialExpansionOcl()
906 … cv::String build_options = cv::format("-D polyN=%d -D USE_DOUBLE=%d", polyN, useDouble ? 1 : 0); in polynomialExpansionOcl()
908 cv::String build_options = cv::format("-D polyN=%d", polyN); in polynomialExpansionOcl()
1059 opticalFlow.polyN = poly_n; in ocl_calcOpticalFlowFarneback()