Make Integral sum support cv_32f, sqsum support cv_64f.
fix warning.
Replaced the image used in the Highgui_Video.ffmpeg_image test.

Our prebuilt FFmpeg Windows binaries don't have PNG support enabled
(because that requires zlib), so that makes a PNG image a bad choice
for this test.

When FFmpeg doesn't support PNG, VideoCapture falls back to the
"image sequence" implementation, which doesn't work for single images.
fix some bug about haar and match_template.
fix haar
fix linux warning.
In the image sequence capture, only search for the ordinal in the file name.

Searching in directory names can yield confusing results; e.g. if
the input is "jpeg2000/image1.jp2", it will infer the pattern
"jpeg%04d/image1.jp2", which is likely not what the user intended.

If the user really desires for the variable part to be in the
directory name, it can always use an explicit pattern.
minX1 should be max(-maxD,0) not max(maxD,0), avoid black band at left
Reworked documentation building to work with extra modules.

The main problem with extra modules is that they're located outside
of the OpenCV root, while Sphinx requires that all documents are
within the documentation root. To circumvent this, we create a
"fake root" and copy all documentation (as well as all files that
it depends on) there. It's a bit messy, but what can you do.

As a bonus, this eliminates the need to generate modules/refman.rst
inside the source tree.
fix match_template and haar
fix haar
added eps to ocl::buildWarpPerspectiveMaps perf test
refactored some functions from ocl arithm
perf tests: allow to skip performance tests
ocl: perf tests: skip tests if we fail check for maxMemoryAllocSize
fixes http://code.opencv.org/issues/3367
Merge pull request #1784 from SpecLad:ffmpeg-no-png
Merge pull request #1779 from perping:integral_2.4
Merge pull request #1786 from SpecLad:cap-images-file-pattern
added RGB[A] -> HSV[FULL] conversion