Tool/software: Linux
Hi expert ,
My customer now optimizing the OpenCV function of ocl_goodFeaturesToTrack() using the method of http://processors.wiki.ti.com/index.php/OpenCV#OpenCL_kernel_dispatch_from_OpenCV_application.2C_using_standard_OpenCL_dispatch_with_access_to_OpenCV_data_objects
They find that there are differece in args between ocl_goodFeaturesToTrack() and the functions in gftt.cl.
In ocl_goodFeaturesToTrack(), the args of maxEigenVal is
k.args(eigarg, eig.cols, (int)eig.total(), dbarg);
but in maxEigenVal() in gftt.cl, the arg is
(__global const uchar * srcptr, int src_step, int src_offset, int cols,int total, __global uchar * dstptr)
So what is the relationship of eigarg and global const uchar * srcptr, int src_step, int src_offset,
Thanks!