ovx.hpp 759 B

12345678910111213141516171819202122232425262728
  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. // Copyright (C) 2016, Intel Corporation, all rights reserved.
  5. // Third party copyrights are property of their respective owners.
  6. // OpenVX related definitions and declarations
  7. #pragma once
  8. #ifndef OPENCV_OVX_HPP
  9. #define OPENCV_OVX_HPP
  10. #include "cvdef.h"
  11. namespace cv
  12. {
  13. /// Check if use of OpenVX is possible
  14. CV_EXPORTS_W bool haveOpenVX();
  15. /// Check if use of OpenVX is enabled
  16. CV_EXPORTS_W bool useOpenVX();
  17. /// Enable/disable use of OpenVX
  18. CV_EXPORTS_W void setUseOpenVX(bool flag);
  19. } // namespace cv
  20. #endif // OPENCV_OVX_HPP