ippicv_2017u3_lnx_intel64_general_20170822.tar.gz


ippicv_2017u3_lnx_intel64_general_20170822.tar.gz extract and put the file into opencv build directory 3rdparty ippicv
资源截图
代码片段和文件信息
/* 
// Copyright 2016-2017 Intel Corporation All Rights Reserved.
// 
// The source code information and material (“Material“) contained herein is
// owned by Intel Corporation or its suppliers or licensors and title
// to such Material remains with Intel Corporation or its suppliers or
// licensors. The Material contains proprietary information of Intel
// or its suppliers and licensors. The Material is protected by worldwide
// copyright laws and treaty provisions. No part of the Material may be used
// copied reproduced modified published uploaded posted transmitted
// distributed or disclosed in any way without Intel‘s prior express written
// permission. No license under any patent copyright or other intellectual
// property rights in the Material is granted to or conferred upon you
// either expressly by implication inducement estoppel or otherwise.
// Any license under such intellectual property rights must be express and
// approved by Intel in writing.
// 
// Unless otherwise agreed by Intel in writing
// you may not remove or alter this notice or any other notice embedded in
// Materials by Intel or Intel‘s suppliers or licensors in any way.
// 
*/

#include “iw_own.h“
#include “iw/iw_image.h“

#if defined _WIN32
#include 
#include 
#else
#ifdef _OPENMP
#include “omp.h“ // Use OMP atomics
#else
#if (defined __clang__ && defined __has_include)
#if !__has_include(
#ifndef __STDC_NO_ATOMICS__
#define __STDC_NO_ATOMICS__
#endif
#endif
#elif (defined __GNUC__)
#define GCC_VERSION (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__)
#if (GCC_VERSION < 40900)
#ifndef __STDC_NO_ATOMICS__
#define __STDC_NO_ATOMICS__
#endif
#endif
#endif
#if !defined __STDC_NO_ATOMICS__
#include 
#ifndef __ATOMIC_ACQ_REL
#define __ATOMIC_ACQ_REL 4
#endif
#else
#pragma message(“Atomic operations are not supported by this compiler. Some features my not be thread-safe.“)
#endif
#endif
#ifndef __APPLE__
#include 
#endif
#endif

/* /////////////////////////////////////////////////////////////////////////////
//                   IW DLL entry points
///////////////////////////////////////////////////////////////////////////// */
#ifdef IW_BUILD_DLL
#if defined _WIN32
#include 
int WINAPI DllMain( HINSTANCE hinstDLL DWORD fdwReason LPVOID lpvReserved )
{
   switch( fdwReason )
   {
    case DLL_PROCESS_ATTACH:    break;
    case DLL_THREAD_ATTACH:     break;
    case DLL_THREAD_DETACH:     break;
    case DLL_PROCESS_DETACH:    break;
    default: break;
   }
   return 1;
   UNREFERENCED_PARAMETER(hinstDLL);
   UNREFERENCED_PARAMETER(lpvReserved);
}
#elif defined __unix__
int _init(void)
{
    return 1;
}

void _fini(void)
{
}
#elif defined __APPLE__
__attribute__((constructor)) void initializer( void )
{
    static int initialized = 0;
    if(!initialized)
    {
        initialized =

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)