softcascade: remove device dependency on gpu
remove generic version of GPU channel computer.
implement integral
Fix build of ffmpeg wrapper with some versions of avutil
implemented Malvar, He, and Cutler Bayer Demosaicing on gpu
fixed compilation with latest master changes
refactored cuda error handling; remove optional dependancies in soft cascade training app
calib3d model superscript should be subscript
Merge pull request #631 from bitwangyaoyao:2.4_stereo
Merge pull request #632 from pengx17:2.4
Merge pull request #648 from cuda-geek:move-gpu-soft-cascade-to-softcascade-module
Extract common base header for C and C++ APIs
Fix for encoding errors when building Java source

The generated OpenCV Java source can contain characters outside of ASCII on some systems – this patch allows the ant task to compile them.
Merge pull request #644 from jet47:gpu-debayer-mht
Unified handling of InputOutputArrays in Python wrapper generator

This makes arguments of type InputOutputArray required in python unless they
have a default value in C++.

As result following python functions changes signatures in non-trivial way:

* calcOpticalFlowFarneback
* calcOpticalFlowPyrLK
* calibrateCamera
* findContours
* findTransformECC
* floodFill
* kmeans
* PCACompute
* stereoCalibrate

And the following functions become return their modified inputs as a return
value:

* accumulate
* accumulateProduct
* accumulateSquare
* accumulateWeighted
* circle
* completeSymm
* cornerSubPix
* drawChessboardCorners
* drawContours
* drawDataMatrixCodes
* ellipse
* fillConvexPoly
* fillPoly
* filterSpeckles
* grabCut
* insertChannel
* line
* patchNaNs
* polylines
* randn
* randShuffle
* randu
* rectangle
* setIdentity
* updateMotionHistory
* validateDisparity
* watershed
Merge pull request #647 from taka-no-me:fix_ffmpeg_wrapper
rewrite five-point coeff matrix.
updated doc
fix cuda
fixed compilation for vs2008