opencv/modules/objdetect/src/opencl
Yan Wang 433c3da7cf Optimize the performance of cascade OpenCL kernel.
1. Use built-in mad() instead of += and *.
2. For stump stages, if weight.z == 0, avoid unnecessary calculation
because some features only have 2 rectangles..

It could improve
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/*
about 10% mean values.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
2015-03-23 17:47:40 +08:00
..
cascadedetect.cl Optimize the performance of cascade OpenCL kernel. 2015-03-23 17:47:40 +08:00
objdetect_hog.cl Use hypot to do vector calculation. 2014-12-30 14:12:28 +08:00