a few fixes of ocl::perf test cases
Fix ocl::pyrup kernel build on Mac.
Fix ocl::filter2D.
In current implementation, this function only works when anchor point is
in the kernel center and kernel size supported is either 3x3 or 5x5.
Adjust perf_filters, as this function only supports 3x3 kernel
fix a crash on Linux
Update ocl::surf_matcher sample.
The new sample adjust some parameters thus it should always be able to
calculate valid homography matrix when input is box.png and
box_in_scene.png.
Pure cpp surf and bfmatcher implementation is also added to show the user
its accuracy and performance.
Initialize OpenCL context at the end of getDevice call.
Added for better compatibility with the current samples/test cases.
User now will be able to initialize OpenCL context explicitly with
ocl::getDevice api.
This may be obsoleted in future releases.
Fix build error
change a test image of pyrlk
Fix a bug of gfft.
When user provided corners buffer is big enough to be copied to from
tmpCorners_, we allow the buffer to be reused other than allocate a new
cl_mem object.
Merge pull request #939 from pengx17:2.4_getDevice
Merge pull request #938 from pengx17:2.4_surf_sample
Merge pull request #937 from bitwangyaoyao:2.4_fixPyrLK
Merge pull request #936 from bitwangyaoyao:2.4_perf
Merge pull request #935 from pengx17:2.4_filter2d_fix
Merge pull request #933 from pengx17:2.4_macfix_cont