ipp_hal_imgproc.hpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html
  4. #ifndef __IPP_HAL_IMGPROC_HPP__
  5. #define __IPP_HAL_IMGPROC_HPP__
  6. #include <opencv2/core/base.hpp>
  7. #include "ipp_utils.hpp"
  8. #if IPP_VERSION_X100 >= 810
  9. #if defined(HAVE_IPP_IW)
  10. int ipp_hal_warpAffine(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width,
  11. int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4]);
  12. #undef cv_hal_warpAffine
  13. #define cv_hal_warpAffine ipp_hal_warpAffine
  14. #endif
  15. int ipp_hal_warpPerspective(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width,
  16. int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4]);
  17. #undef cv_hal_warpPerspective
  18. #define cv_hal_warpPerspective ipp_hal_warpPerspective
  19. int ipp_hal_remap32f(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height,
  20. uchar *dst_data, size_t dst_step, int dst_width, int dst_height,
  21. float* mapx, size_t mapx_step, float* mapy, size_t mapy_step,
  22. int interpolation, int border_type, const double border_value[4]);
  23. #undef cv_hal_remap32f
  24. #define cv_hal_remap32f ipp_hal_remap32f
  25. #endif //IPP_VERSION_X100 >= 810
  26. #endif //__IPP_HAL_IMGPROC_HPP__