add option to link to dynamic IPP libraries
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
Remove unnecessary local variable "size".

It should also be better for optimizing when compiling kernel.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
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)
Merge pull request #3517 from wangyan42164:ocl_denoising_2
update android.toolchain.cmake
Merge pull request #3528 from ilya-lavrenov:update_android_cmake
Merge pull request #3519 from fvgoto:patch-1
Merge pull request #3518 from wangyan42164:ocl_cascade_detect
Merge pull request #3516 from ana-GT:openni2_defaultMode
Merge pull request #3510 from boaz001:feature-4057
Merge pull request #3499 from StevenPuttemans:fix_2432