mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 22:00:25 +08:00
42b1bd56cc
Move some static functions into the FarnebackOpticalFlow class as well, so they can access these new class variables. oclMat objects cannot be declared statically, because their destructor depends on the statically defined __module variable from cl_context.cpp. Since statically defined variables in separate compilation units have an undefined destruction order there is always the possibility the __module will be destructed before an oclMat object, which results in a segfault. |
||
---|---|---|
.. | ||
doc | ||
include/opencv2/ocl | ||
perf | ||
src | ||
test | ||
CMakeLists.txt |