Itseez/opencv — pull request #3518 by wangyan42164 (2014-12-16 08:25:57+00:00)
Title: OCL: [Cascade_Detect] 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