Switched insertion of connected components in filterSpecklesImpl
Merge branch '2.4' of https://github.com/Itseez/opencv into Itseez-2.4
Merge branch 'Itseez-2.4' into Feature_3692_2.4
Bugfix #3705: params.setRecordingHint(true) breaks camera preview on Samsung Galaxy S2
Fixed typos in comments
fixed two models, adding xml identifier to correct position
Double precision for solvePnPRansac()

solvePnPRansac() and pnpTask() now accept object or image points with double precision.
Added cast and removed formatting error
Fixed C++11 compatibility warning
cap_libv4l.cpp depends on both libv4l 1 and 2, so search for both

How this worked before, I do not know.
bug fix 3696
Update facedetect.cpp

Somebody forgot to add curly brackets
Added publication reference
added extra warning about the automatic parameter loading for traincascade application when the param.xml file already exists
Fixed bug in cv::detail::waveCorrect

The function makes wave correction of a stitched panorama.
Earlier it gave wrong results for panorama made from 1 frame.
improving face-rec sample:
* CSV can contain dir-s and wildcards
* save trained model
Doc: fix definition of macro CV_MAKETYPE

At least this is how it's defined in core/types_c.h
Merge pull request #2955 from SpecLad:find-libv4l2
Build fixes for CUDA 6.5
Merge pull request #2975 from asmorkalov:ocv_cuda_6.5_fix