• Tom Stellard's avatar
    ocl: Move static oclMat variables into FarnebackOpticalFlow class · 42b1bd56
    Tom Stellard authored
    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.
    42b1bd56
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
index.rst Loading commit data...