• 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
..
androidcamera Loading commit data...
calib3d Loading commit data...
contrib Loading commit data...
core Loading commit data...
dynamicuda Loading commit data...
features2d Loading commit data...
flann Loading commit data...
gpu Loading commit data...
highgui Loading commit data...
imgproc Loading commit data...
java Loading commit data...
legacy Loading commit data...
ml Loading commit data...
nonfree Loading commit data...
objdetect Loading commit data...
ocl Loading commit data...
photo Loading commit data...
python Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...
refman.rst.in Loading commit data...