⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipp_list.inc

📁 Intel开发的IPP库的应用例程
💻 INC
字号:
/*
//
//               INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright(c) 1999-2006 Intel Corporation. All Rights Reserved.
//
*/

// ipp_list.inc file is the code fragment to be inserted into 
// ippslist.cpp, ippilist.cpp files. This fragment helps to generate 
// function list out of IPP header file 

#include <ippdefs.h>
#include "Func.h"

CArray<CFuncList*,CFuncList*>* pGlobalFuncList = NULL;

static BOOL regFunc(CFunc name, int idx)
{
   if (pGlobalFuncList == NULL) {
      pGlobalFuncList = new CArray<CFuncList*,CFuncList*>;
   }
   if (pGlobalFuncList->GetSize() <= idx) {
      CFuncList* pList = new CFuncList;
      pGlobalFuncList->SetAtGrow(idx, pList);
   }
   pGlobalFuncList->ElementAt(idx)->AddTail(name);
   return TRUE;
}

#if !defined (_OWN_BLDPCS)
#define _OWN_BLDPCS
#endif

#if !defined (_INC_WINDOWS)
#define _INC_WINDOWS
#endif

#if defined (IPPAPI)
#undef IPPAPI
#endif 

#define IPPAPI(Type,Name,Arg) \
BOOL reg_##Name = regFunc(#Name, LIB_IDX);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -