Update segmentation.cpp

Added detailed comments to watershed()
Fix SymmColumnSmallVec_32s16s SSE code
Specifically, in general antisymmetric case src[-1] (S0) should be
subtracted from from src[1] (S2), and not the opposite.
Update segmentation.cpp

removed trailing whitespaces
add option to link to dynamic IPP libraries
Added better OpenNI2 support to the Asus Xtion and Occipital Structure
sensors which do not have image generators.
fix documentation bug 2432
Changed CV_DbgAssert to CV_Assert when setting video modes for OpenNI2. Otherwise, in release mode the default modes never get set
Use preprocessor for constant values in OpenCL kernel instead of
the parameter variable.

It could improve the performance of
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/*.
Especially,
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/15
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/16
could be improved about 2% in Intel platform.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
fix obvious copy+paste typo in computeDistance()

(with this else-branch, argument contour2 would not be used at all)
Implement VideoCapture::get, CvCapture::getProperty, IVideoCapture::getProperty as constant methods.
Allow BGR, RGB, or gray capture via libv4l
For Java compatibility, avoiding explicit pseudonym in enum
update android.toolchain.cmake
remove opencv_testing.sh installation to /etc/profile.d/

opencv_run_all_tests_unix.sh already exports OPENCV_TEST_DATA_PATH
Included c-headers for better 2.4 compatibility
SymmRowSmallVec_8u32s [1, 2, 1]
NEON speedup: 4.1
Auto-vect speedup: 2.25
SymmRowSmallVec_8u32s 1x3 general
NEON speedup: 2.56x
Auto-vect speedup: 1.26x

Test kernel: [1, 3, 1]
SymmRowSmallVec_8u32s 1x5 general
NEON speedup: 3.86x
Auto-vect speedup: 1.67x

Test kernel: [0.0708, 0.2445, 0.3694, 0.2445, 0.0708]
SymmRowSmallVec_8u32s [-1, 0, 1]
NEON speedup: 1.84x
Auto-vect speedup: 1.2x
SymmRowSmallVec_8u32s 1x3 asymmetric
NEON speedup: 1.95x
Auto-vect speedup: 1.17x

Test kernel: [-2, 0, 2]