Android camera qcom HAL doesn't like it when no consumer usage bits are set. Set a usage bit for preview BufferQueue.
Fix resource leak with iOS camera due to failure to remove AVCaptureSession input/outputs on stop (Bug #3389)
add NEON realization for StereoBM(findCorrespondence, prefilterXSobel)
Changes to support Intel AVX/AVX2 in cvResize().
Add CV_Assert (ndisp % 8 == 0) to NEON version
Modifications to support dynamic vector dispatch.
Fixed bug which caused crash of GPU version of feature matcher in stitcher

The bug caused crash of GPU version of feature matcher in stitcher when
we use ORB features.
Added a TODO comment about changes which should be done in GpuMatcher::match
fixing bug 3777
Merge pull request #2985 from StevenPuttemans:fix_3777_redo
Enable Intel AVX/AVX2 compilation on Windows.
Bugfix for bug #3767
Fixed a memory leak in cap_dshow.cpp in videoInput::setVideoSettingCamera(). The leak was caused by not releasing an IBaseFilter object created in a call to getDevice(). Tho object is now properly released.
Deb package build fix for CUDA 6.5 and newer.

(cherry picked from commit e650d87e470b2e6a8f87ad4dd81977748a136aee)
(cherry picked from commit ca9c52ac9778d01eba933a786b4303c79d0162be)
More accurate deb package build fix for CUDA 6.5 and newer.

(cherry picked from commit b2790973a32eb662c165a921afe03dbfd2c65269)
(cherry picked from commit f8758da289c092fcce10baa4723d6388c4e41cb3)
Merge pull request #3001 from asmorkalov:cuda_6.5_support
Merge pull request #2997 from mojoritty:bugfix_3767
Merge pull request #2836 from s98felix:2.4
Merge pull request #2816 from ehren:avcapturesession_leak
hopefully fixed Python tests
Merge pull request #3014 from vpisarev:fix_python_tests