fixing cap_pvpapi interface and making sure both AVT Manta and Proscilla
series are supported. Testing this with both cams for Windows and Linux
exhaustively.

Optimizing memory footprint by removing unused calls.

Adapted with the input of Shai

Added small example that illustrates how it should work.
Merge pull request #3322 from StevenPuttemans:fix_pvpapi_interface
Suppress a bogus -Warray-bounds in modules/superres/src/optical_flow.cpp

This is actually the same warning that the suppression at the bottom
suppresses, but that one doesn't suppress it when using a native compiler
(go figure).

I remove the forced inclusion of precompiled headers into all sources,
since otherwise this workaround doesn't work - the header with the warning
is included before I can use a pragma.
Merge pull request #3401 from SpecLad:optflow-bogus-Warray-bounds
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
C++ sample code to detect facial features
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
ocl: Move static oclMat variables into FarnebackOpticalFlow class

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.
added extra BUFFERSIZE doc and getter
Merge pull request #3427 from tstellarAMD:2.4-farneback-crash-fix
Merge pull request #3425 from StevenPuttemans:fix_firewire_buffersize
Merge pull request #3419 from samyak-268:2.4