forked from opencv/opencv
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Canny via OpenVX, Node wrapper extended (query/set attribute), some n…
…aming fixes
- Loading branch information
Showing
8 changed files
with
387 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// This file is part of OpenCV project. | ||
// It is subject to the license terms in the LICENSE file found in the top-level directory | ||
// of this distribution and at http://opencv.org/license.html. | ||
|
||
// Copyright (C) 2016, Intel Corporation, all rights reserved. | ||
// Third party copyrights are property of their respective owners. | ||
|
||
// OpenVX related definitions and declarations | ||
|
||
#pragma once | ||
#ifndef OPENCV_OVX_DEFS_HPP | ||
#define OPENCV_OVX_DEFS_HPP | ||
|
||
#include "cvconfig.h" | ||
|
||
// utility macro for running OpenVX-based implementations | ||
#ifdef HAVE_OPENVX | ||
|
||
#define IVX_HIDE_INFO_WARNINGS | ||
#define IVX_USE_OPENCV | ||
#include "ivx.hpp" | ||
|
||
#define CV_OVX_RUN(condition, func, ...) \ | ||
if (cv::useOpenVX() && (condition) && func) \ | ||
{ \ | ||
return __VA_ARGS__; \ | ||
} | ||
|
||
#else | ||
#define CV_OVX_RUN(condition, func, ...) | ||
#endif // HAVE_OPENVX | ||
|
||
#endif // OPENCV_OVX_DEFS_HPP |
Oops, something went wrong.