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

📄 ippsprocess.cpp

📁 Intel开发的IPP库的应用例程
💻 CPP
📖 第 1 页 / 共 2 页
字号:
/*
//
//               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.
//
*/

// ippsProcess.cpp: implementation of the CippsProcess
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ippsDemo.h"
#include "ippsProcess.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif


///////////////////////////////////////////////////////////////////////
// CippsProcess class implementation
// class CippsProcess provides classification for ippSP library.
///////////////////////////////////////////////////////////////////////

CippsProcess::CippsProcess() : CProcess()
{
   if (LIB_SP  < LIB_NUM) InitSP();
   if (LIB_CH  < LIB_NUM) InitCH();
}

/////////////////////////////////////////////////////////////////////////////
// Implementation

//---------------------------------------------------------------------------
// ippSP initialization
//---------------------------------------------------------------------------


void CippsProcess::InitSP()
{
   CBook* pBook = NULL;
   CChapter* pChapter = NULL;

   pBook = Add("Vector Initialization");
   pChapter = pBook->Add("Copy, Move"); 
      pChapter->AddBase("Copy");
      pChapter->AddBase("Move");
   pChapter = pBook->Add("Set, Zero"); 
      pChapter->AddBase("Set");
      pChapter->AddBase("Zero");
   pChapter = pBook->Add("Tone, Triangle"); 
      pChapter->AddBase("Tone_Direct");
      pChapter->AddBase("Triangle_Direct");
      pChapter->AddBase("ToneQ15");
      pChapter->AddBase("TriangleQ15");
      pChapter->AddBase("ToneQ15_Direct");
      pChapter->AddBase("TriangleQ15_Direct");
   pChapter = pBook->Add("Random"); 
      pChapter->AddBase("RandUniform_Direct");
      pChapter->AddBase("RandUniform");
      pChapter->AddBase("RandGauss_Direct");
      pChapter->AddBase("RandGauss");
   pChapter = pBook->Add("Jaehne"); 
      pChapter->AddBase("VectorJaehne");
   pChapter = pBook->Add("Ramp"); 
      pChapter->AddBase("VectorRamp");

   pBook = Add("Logical and Shift Functions");
   pChapter = pBook->Add("And"); 
      pChapter->AddBase("And");
      pChapter->AddBase("AndC");
   pChapter = pBook->Add("Or"); 
      pChapter->AddBase("Or");
      pChapter->AddBase("OrC");
   pChapter = pBook->Add("Xor"); 
      pChapter->AddBase("Xor");
      pChapter->AddBase("XorC");
   pChapter = pBook->Add("Not"); 
      pChapter->AddBase("Not");
   pChapter = pBook->Add("Shift"); 
      pChapter->AddBase("LShiftC");
      pChapter->AddBase("RShiftC");

   pBook = Add("Arithmetic Functions");
   pChapter = pBook->Add("Add"); 
      pChapter->AddBase("Add");
      pChapter->AddBase("AddC");
      pChapter->AddBase("AddProduct");
      pChapter->AddBase("AddProductC");
   pChapter = pBook->Add("Multiply"); 
      pChapter->AddBase("Mul");
      pChapter->AddBase("MulC");
      pChapter->AddBase("MulC_Low");
   pChapter = pBook->Add("Subtract"); 
      pChapter->AddBase("Sub");
      pChapter->AddBase("SubC");
      pChapter->AddBase("SubCRev");
   pChapter = pBook->Add("Divide"); 
      pChapter->AddBase("Div");
      pChapter->AddBase("DivC");
      pChapter->AddBase("DivCRev");
   pChapter = pBook->Add("Abs"); 
      pChapter->AddBase("Abs");
   pChapter = pBook->Add("Square"); 
      pChapter->AddBase("Sqr");
   pChapter = pBook->Add("Square && Cube Root"); 
      pChapter->AddBase("Sqrt");
      pChapter->AddBase("Cubrt");
   pChapter = pBook->Add("Exponent"); 
      pChapter->AddBase("Exp");
   pChapter = pBook->Add("Logarithm"); 
      pChapter->AddBase("Ln");
      pChapter->AddBase("10Log10");
   pChapter = pBook->Add("Sum Logarithm"); 
      pChapter->AddBase("SumLn");
   pChapter = pBook->Add("Normalize");          
      pChapter->AddBase("Normalize");

   pBook = Add("Conversion Functions");
   pChapter = pBook->Add("Sort"); 
      pChapter->AddBase("SortAscend");
      pChapter->AddBase("SortDescend");
   pChapter = pBook->Add("Swap"); 
      pChapter->AddBase("SwapBytes");
   pChapter = pBook->Add("Convert"); 
      pChapter->AddBase("Convert");
   pChapter = pBook->Add("Join && Split"); 
      pChapter->AddBase("Join");
      pChapter->AddBase("Split");
      pChapter->AddBase("JoinScaled");
      pChapter->AddBase("SplitScaled");
   pChapter = pBook->Add("Conjugation"); 
      pChapter->AddBase("Conj");
      pChapter->AddBase("ConjFlip");
      pChapter->AddBase("ConjCcs");
      pChapter->AddBase("ConjPack");
      pChapter->AddBase("ConjPerm");
   pChapter = pBook->Add("Real to Complex"); 
      pChapter->AddBase("RealToCplx");
   pChapter = pBook->Add("Complex to Real"); 
      pChapter->AddBase("CplxToReal");
      pChapter->AddBase("Real");
      pChapter->AddBase("Imag");
   pChapter = pBook->Add("Threshold"); 
      pChapter->AddBase("Threshold");
      pChapter->AddBase("Threshold_LT");
      pChapter->AddBase("Threshold_GT");
      pChapter->AddBase("Threshold_LTAbs");
      pChapter->AddBase("Threshold_GTAbs");
      pChapter->AddBase("Threshold_LTInv");
   pChapter = pBook->Add("Threshold with Value"); 
      pChapter->AddBase("Threshold_LTVal");
      pChapter->AddBase("Threshold_GTVal");
      pChapter->AddBase("Threshold_LTValGTVal");
   pChapter = pBook->Add("Find"); 
      pChapter->AddBase("FindNearest");
      pChapter->AddBase("FindNearestOne");
   pChapter = pBook->Add("Cartesian<->Polar"); 
      pChapter->AddBase("CartToPolar");
      pChapter->AddBase("Magnitude");
      pChapter->AddBase("MagSquared");      
      pChapter->AddBase("Phase");
      pChapter->AddBase("Arctan");
      pChapter->AddBase("PolarToCart");
   pChapter = pBook->Add("Power Spectr"); 
      pChapter->AddBase("PowerSpectr");
   pChapter = pBook->Add("Preemphasize"); 
      pChapter->AddBase("Preemphasize");
   pChapter = pBook->Add("Flip"); 
      pChapter->AddBase("Flip");

   pBook = Add("Companding Functions");
   pChapter = pBook->Add("ALaw and Lin"); 
      pChapter->AddBase("ALawToLin");
      pChapter->AddBase("LinToALaw");
   pChapter = pBook->Add("MuLaw and Lin"); 
      pChapter->AddBase("MuLawToLin");
      pChapter->AddBase("LinToMuLaw");
   pChapter = pBook->Add("ALaw and MuLaw"); 
      pChapter->AddBase("ALawToMuLaw");
      pChapter->AddBase("MuLawToALaw");

   pBook = Add("Windowing Functions");
   pChapter = pBook->Add("Bartlett"); 
      pChapter->AddBase("WinBartlett");
   pChapter = pBook->Add("Blackman"); 
      pChapter->AddBase("WinBlackman");
      pChapter->AddBase("WinBlackmanQ15");
      pChapter->AddBase("WinBlackmanStd");
      pChapter->AddBase("WinBlackmanOpt");
   pChapter = pBook->Add("Hamming"); 
      pChapter->AddBase("WinHamming");
   pChapter = pBook->Add("Hann"); 
      pChapter->AddBase("WinHann");
   pChapter = pBook->Add("Kaiser"); 
      pChapter->AddBase("WinKaiser");
      pChapter->AddBase("WinKaiserQ15");

   pBook = Add("Statistical Functions");
   pChapter = pBook->Add("Min, Max"); 
      pChapter->AddBase("Max");
      pChapter->AddBase("Min");
      pChapter->AddBase("MaxIndx");
      pChapter->AddBase("MinIndx");
      pChapter->AddBase("MaxAbs");
      pChapter->AddBase("MinAbs");
      pChapter->AddBase("MaxAbsIndx");
      pChapter->AddBase("MinAbsIndx");
      pChapter->AddBase("MaxOrder");
   pChapter = pBook->Add("MinMax"); 
      pChapter->AddBase("MinMax");
      pChapter->AddBase("MinMaxIndx");
   pChapter = pBook->Add("Sum, Mean, StdDev"); 
      pChapter->AddBase("Sum");
      pChapter->AddBase("Mean");
      pChapter->AddBase("StdDev");
   pChapter = pBook->Add("Min/Max Every"); 
      pChapter->AddBase("MaxEvery");
      pChapter->AddBase("MinEvery");
   pChapter = pBook->Add("Norm"); 
      pChapter->AddBase("Norm_Inf");
      pChapter->AddBase("Norm_L1");
      pChapter->AddBase("Norm_L2");                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
      pChapter->AddBase("Norm_L2Sqr");                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
      pChapter->AddBase("NormDiff_Inf");
      pChapter->AddBase("NormDiff_L1");
      pChapter->AddBase("NormDiff_L2");                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
      pChapter->AddBase("NormDiff_L2Sqr");                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
   pChapter = pBook->Add("Dot Product"); 
      pChapter->AddBase("DotProd");

   pBook = Add("Sampling  Functions");
   pChapter = pBook->Add("Up Sampling"); 
      pChapter->AddBase("SampleUp");
   pChapter = pBook->Add("Down Sampling"); 

⌨️ 快捷键说明

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