Added v4l2 support for getting capture property CV_CAP_PROP_POS_MSEC
make the sparse method give correct results on CPU ocl
Add CL_CPU to supportsFeature check
simplify the logic of pyrlk
fix hog on some CPU device running ocl
fix some mismatch on cpu device running OCL
move the "cpu device checking" from supportsFeatures() to queryDeviceInfo()
Fix the problem of device selection on hybrid video systems.
Catch exceptions when large allocations fail
Add HoughTransform examples python2

houghlines.py for HoughLinesP() and HoughLines()
houghcircles.py for HoughCircles()
remove the C3 kernels in arithm, as the oclMat will never store 3 channels data
Fix bug #2590

replaced wrong check to correct check
merge add and sub into one set of kernels
Merge pull request #780 from sivapvarma:2.4
Merge pull request #779 from sivapvarma:master
ocl: Add dft based convolve implementation.

Match template in ocl module now can be utilized with dft based
convolve. Note this feature needs OpenCV to be built with clAmdFft
library.
Fix bitness detection for target platform
Fix some compilation errors and warnings.
Add some documentation on ocl::convolve
fixed compilation with CUDA
fix build without gpu module with cuda
Merge pull request #784 from jet47:fix-gpu-build