Path: blob/master/3rdparty/openvx/include/ivx_lib_debug.hpp
16354 views
// This file is part of OpenCV project.1// It is subject to the license terms in the LICENSE file found in the top-level directory2// of this distribution and at http://opencv.org/license.html.34// Copyright (C) 2016, Intel Corporation, all rights reserved.5// Third party copyrights are property of their respective owners.67/*8C++ wrappers over OpenVX 1.x C API ("openvx-debug" module)9Details: TBD10*/1112#pragma once13#ifndef IVX_LIB_DEBUG_HPP14#define IVX_LIB_DEBUG_HPP1516#include "ivx.hpp"1718namespace ivx19{20namespace debug21{22/*23* "openvx-debug" module24*/2526//27void fReadImage(vx_context c, const std::string& path, vx_image img)28{29IVX_CHECK_STATUS( vxuFReadImage(c, (vx_char*)path.c_str(), img) );30}3132//33void fWriteImage(vx_context c, vx_image img, const std::string& path)34{35IVX_CHECK_STATUS( vxuFWriteImage(c, img, (vx_char*)path.c_str()) );36}3738} // namespace debug39} // namespace ivx4041#endif //IVX_LIB_DEBUG_HPP424344