adding extra buffer parameter
Fix uninitialized memory reads and memory leaks in StereoGC
ocl: Fix crash during destruction of gauss_w_lut object in hog.cpp

gauss_w_lut is a statically defined variable of type oclMat.  The oclMat
destructor calls openCLFree() which via getInitializationMutex() accesses
the __module variable which has been statically defined in cl_context.cpp

Since the destruction order of statically defined variables in different
compilation units is undefined, it is possible that __module will
be destructed before gauss_w_lut, which would result in a segfault when
getInitializationMutex() is called while destructing gauss_w_lut.

In order to avoid this issue, we need to make gauss_w_lut a private
member of the HOGDescriptors class so we know it will be destroyed
before __module.
attemp to fix dox warning
Merge pull request #3417 from ilya-lavrenov:dox_warn
Merge pull request #3418 from tstellarAMD:2.4-hog-crash-fix
Merge pull request #3414 from SpecLad:vg-stereogc
Merge pull request #3412 from StevenPuttemans:ieee1934_camera_set_params
NCV.cu: include <algorithm>

It's needed for std::max.
Merge pull request #3421 from SpecLad:ncv-algorithm
Merge branch '2.4' of https://github.com/Itseez/opencv into 2.4