mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
29 lines
677 B
C++
29 lines
677 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
|
|
|
|
#ifndef __IPP_HAL_UTILS_HPP__
|
|
#define __IPP_HAL_UTILS_HPP__
|
|
|
|
#include "ippversion.h"
|
|
#ifndef IPP_VERSION_UPDATE // prior to 7.1
|
|
#define IPP_VERSION_UPDATE 0
|
|
#endif
|
|
|
|
#define IPP_VERSION_X100 (IPP_VERSION_MAJOR * 100 + IPP_VERSION_MINOR*10 + IPP_VERSION_UPDATE)
|
|
|
|
#ifdef HAVE_IPP_ICV
|
|
# define ICV_BASE
|
|
#if IPP_VERSION_X100 >= 201700
|
|
# include "ippicv.h"
|
|
#else
|
|
# include "ipp.h"
|
|
#endif
|
|
#else
|
|
# include "ipp.h"
|
|
#endif
|
|
|
|
#define CV_INSTRUMENT_FUN_IPP(FUN, ...) ((FUN)(__VA_ARGS__))
|
|
|
|
#endif
|