mirror of
https://github.com/opencv/opencv.git
synced 2025-06-22 03:13:17 +08:00

Extract all HALs from 3rdparty to dedicated folder. #27252 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [ ] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
43 lines
922 B
C++
43 lines
922 B
C++
// 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.
|
|
|
|
/*
|
|
C++ wrappers over OpenVX 1.x C API ("openvx-debug" module)
|
|
Details: TBD
|
|
*/
|
|
|
|
#pragma once
|
|
#ifndef IVX_LIB_DEBUG_HPP
|
|
#define IVX_LIB_DEBUG_HPP
|
|
|
|
#include "ivx.hpp"
|
|
|
|
namespace ivx
|
|
{
|
|
namespace debug
|
|
{
|
|
/*
|
|
* "openvx-debug" module
|
|
*/
|
|
|
|
//
|
|
void fReadImage(vx_context c, const std::string& path, vx_image img)
|
|
{
|
|
IVX_CHECK_STATUS( vxuFReadImage(c, (vx_char*)path.c_str(), img) );
|
|
}
|
|
|
|
//
|
|
void fWriteImage(vx_context c, vx_image img, const std::string& path)
|
|
{
|
|
IVX_CHECK_STATUS( vxuFWriteImage(c, img, (vx_char*)path.c_str()) );
|
|
}
|
|
|
|
} // namespace debug
|
|
} // namespace ivx
|
|
|
|
#endif //IVX_LIB_DEBUG_HPP
|