diff --git a/generated/opencl_kernels_imgproc.hpp b/generated/opencl_kernels_imgproc.hpp new file mode 100644 index 0000000..d8c1c0e --- /dev/null +++ b/generated/opencl_kernels_imgproc.hpp @@ -0,0 +1,84 @@ +// This file is auto-generated. Do not edit! + +#include "opencv2/core/ocl.hpp" +#include "opencv2/core/ocl_genbase.hpp" +#include "opencv2/core/opencl/ocl_defs.hpp" + +#ifdef HAVE_OPENCL + +namespace cv +{ +namespace ocl +{ +namespace imgproc +{ + +extern const struct ProgramEntry accumulate; +extern ProgramSource accumulate_oclsrc; +extern const struct ProgramEntry bilateral; +extern ProgramSource bilateral_oclsrc; +extern const struct ProgramEntry blend_linear; +extern ProgramSource blend_linear_oclsrc; +extern const struct ProgramEntry boxFilter; +extern ProgramSource boxFilter_oclsrc; +extern const struct ProgramEntry calc_back_project; +extern ProgramSource calc_back_project_oclsrc; +extern const struct ProgramEntry canny; +extern ProgramSource canny_oclsrc; +extern const struct ProgramEntry clahe; +extern ProgramSource clahe_oclsrc; +extern const struct ProgramEntry corner; +extern ProgramSource corner_oclsrc; +extern const struct ProgramEntry covardata; +extern ProgramSource covardata_oclsrc; +extern const struct ProgramEntry cvtcolor; +extern ProgramSource cvtcolor_oclsrc; +extern const struct ProgramEntry filter2D; +extern ProgramSource filter2D_oclsrc; +extern const struct ProgramEntry filter2DSmall; +extern ProgramSource filter2DSmall_oclsrc; +extern const struct ProgramEntry filterSepCol; +extern ProgramSource filterSepCol_oclsrc; +extern const struct ProgramEntry filterSepRow; +extern ProgramSource filterSepRow_oclsrc; +extern const struct ProgramEntry filterSep_singlePass; +extern ProgramSource filterSep_singlePass_oclsrc; +extern const struct ProgramEntry filterSmall; +extern ProgramSource filterSmall_oclsrc; +extern const struct ProgramEntry gftt; +extern ProgramSource gftt_oclsrc; +extern const struct ProgramEntry histogram; +extern ProgramSource histogram_oclsrc; +extern const struct ProgramEntry hough_lines; +extern ProgramSource hough_lines_oclsrc; +extern const struct ProgramEntry integral_sum; +extern ProgramSource integral_sum_oclsrc; +extern const struct ProgramEntry laplacian5; +extern ProgramSource laplacian5_oclsrc; +extern const struct ProgramEntry match_template; +extern ProgramSource match_template_oclsrc; +extern const struct ProgramEntry medianFilter; +extern ProgramSource medianFilter_oclsrc; +extern const struct ProgramEntry moments; +extern ProgramSource moments_oclsrc; +extern const struct ProgramEntry morph; +extern ProgramSource morph_oclsrc; +extern const struct ProgramEntry precornerdetect; +extern ProgramSource precornerdetect_oclsrc; +extern const struct ProgramEntry pyr_down; +extern ProgramSource pyr_down_oclsrc; +extern const struct ProgramEntry pyr_up; +extern ProgramSource pyr_up_oclsrc; +extern const struct ProgramEntry remap; +extern ProgramSource remap_oclsrc; +extern const struct ProgramEntry resize; +extern ProgramSource resize_oclsrc; +extern const struct ProgramEntry threshold; +extern ProgramSource threshold_oclsrc; +extern const struct ProgramEntry warp_affine; +extern ProgramSource warp_affine_oclsrc; +extern const struct ProgramEntry warp_perspective; +extern ProgramSource warp_perspective_oclsrc; +} +}} +#endif diff --git a/lutin_opencv-core.py b/lutin_opencv-core.py index 8614f81..c0d27eb 100644 --- a/lutin_opencv-core.py +++ b/lutin_opencv-core.py @@ -116,7 +116,10 @@ def create(target, module_name): 'cxx', ]) my_module.compile_version("C++", 2003) - my_module.add_path(os.path.join(tools.get_current_path(__file__), "generated")) + my_module.add_header_file([ + 'generated/*' + ], + destination_path="") # generate dynamic file generate_config_file(my_module) return my_module