Lines Matching refs:flowy
612 bool operator ()(const UMat &frame0, const UMat &frame1, UMat &flowx, UMat &flowy)
625 flowy.create(size, CV_32F);
627 UMat flowy0 = flowy;
775 flowy = curFlowY;
957 bool updateFlowOcl(const UMat &M, UMat &flowx, UMat &flowy)
975 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowy));
976 idxArg = kernel.set(idxArg, (int)(flowy.step / flowy.elemSize()));
977 idxArg = kernel.set(idxArg, (int)flowy.rows);
978 kernel.set(idxArg, (int)flowy.cols);
981 bool updateMatricesOcl(const UMat &flowx, const UMat &flowy, const UMat &R0, const UMat &R1, UMat &M)
997 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowy));
998 idxArg = kernel.set(idxArg, (int)(flowy.step / flowy.elemSize()));
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))