Lines Matching refs:_flow2
88 …ticalFlow::ocl_calc(InputArray _frame0, InputArray _frame1, OutputArray _flow1, OutputArray _flow2) in ocl_calc() argument
99 if (!_flow2.needed()) in ocl_calc()
107 if (!_flow2.needed()) in ocl_calc()
114 arrCopy(uflows_[1], _flow2); in ocl_calc()
120 …puOpticalFlow::calc(InputArray _frame0, InputArray _frame1, OutputArray _flow1, OutputArray _flow2) in calc() argument
122 CV_OCL_RUN(_flow1.isUMat() && (_flow2.isUMat() || !_flow2.needed()), in calc()
123 ocl_calc(_frame0, _frame1, _flow1, _flow2)) in calc()
134 if (!_flow2.needed() && _flow1.kind() < _InputArray::OPENGL_BUFFER) in calc()
142 if (!_flow2.needed()) in calc()
149 arrCopy(flows_[1], _flow2); in calc()
435 …puOpticalFlow::calc(InputArray _frame0, InputArray _frame1, OutputArray _flow1, OutputArray _flow2) in calc() argument
446 …if (_flow2.needed() && _flow1.kind() == _InputArray::CUDA_GPU_MAT && _flow2.kind() == _InputArray:… in calc()
448 impl(input0, input1, _flow1.getGpuMatRef(), _flow2.getGpuMatRef()); in calc()
454 if (_flow2.needed()) in calc()
457 arrCopy(v_, _flow2); in calc()