Lines Matching refs:flowx
612 bool operator ()(const UMat &frame0, const UMat &frame1, UMat &flowx, UMat &flowy)
624 flowx.create(size, CV_32F);
626 UMat flowx0 = flowx;
774 flowx = curFlowX;
957 bool updateFlowOcl(const UMat &M, UMat &flowx, UMat &flowy)
964 size_t globalsize[2] = { flowx.cols, flowx.rows};
973 flowx));
974 idxArg = kernel.set(idxArg, (int)(flowx.step / flowx.elemSize()));
981 bool updateMatricesOcl(const UMat &flowx, const UMat &flowy, const UMat &R0, const UMat &R1, UMat &M)
988 size_t globalsize[2] = { flowx.cols, flowx.rows};
995 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowx));
996 idxArg = kernel.set(idxArg, (int)(flowx.step / flowx.elemSize()));
999 idxArg = kernel.set(idxArg, (int)flowx.rows);
1000 idxArg = kernel.set(idxArg, (int)flowx.cols);
1011 const UMat& R0, const UMat& R1, UMat& flowx, UMat &flowy,
1017 if (!updateFlowOcl(M, flowx, flowy))
1020 if (!updateMatricesOcl(flowx, flowy, R0, R1, M))
1025 const UMat& R0, const UMat& R1, UMat& flowx, UMat& flowy,
1031 if (!updateFlowOcl(M, flowx, flowy))
1034 if (!updateMatricesOcl(flowx, flowy, R0, R1, M))