示例#1
0
 public void FftInverse(Complex[] data)
 {
     fixed(Complex *pData = data)
     {
         IppWrapper.ippsFFTInv_CToC_64fc_I(pData, ippState, null);
     }
 }
示例#2
0
 public void Init(double[] tabsVals, int noTabsVals)
 {
     fixed(double *pTabs = tabsVals)
     {
         IppWrapper.ippsFIRInitAlloc_64f(ref ippState, pTabs, noTabsVals, null);
     }
 }
示例#3
0
 public void FftForward(Complex[] data)
 {
     fixed(Complex *pData = data)
     {
         IppWrapper.ippsFFTFwd_CToC_64fc_I(pData, ippState, null);
     }
 }
示例#4
0
 public void Fir(double[] inData, double[] outData, int length)
 {
     fixed(double *pSrc = inData)
     {
         fixed(double *pDest = outData)
         {
             IppWrapper.ippsFIR_64f(pSrc, pDest, length, ippState);
         }
     }
 }
示例#5
0
 public void Iir(double[] inData, double[] outData)
 {
     fixed(double *pSrc = inData)
     {
         fixed(double *pDest = outData)
         {
             IppWrapper.ippsIIR_64f(pSrc, pDest, inData.Length, ippState);
         }
     }
 }
示例#6
0
        public void Init(BiQuad[] biQuads, int noBiQuads)
        {
            double[,] tabVals = new double[biQuads.Length, 6];

            for (int i = 0; i < biQuads.Length; i++)
            {
                tabVals[i, 0] = biQuads[i].b0;
                tabVals[i, 1] = biQuads[i].b1;
                tabVals[i, 2] = biQuads[i].b2;
                tabVals[i, 3] = biQuads[i].a0;
                tabVals[i, 4] = biQuads[i].a1;
                tabVals[i, 5] = biQuads[i].a2;
            }

            fixed(double *pTabVals = tabVals)
            {
                IppWrapper.ippsIIRInitAlloc_BiQuad_64f(ref ippState, pTabVals, noBiQuads, null);
            }
        }
示例#7
0
 public void Free()
 {
     IppWrapper.ippsFIRFree_64f(ippState);
 }
示例#8
0
 public void Free()
 {
     IppWrapper.ippsFFTFree_C_64fc(ippState);
 }
示例#9
0
 public void Init(int order, FFTFactor factor)
 {
     IppWrapper.ippsFFTInitAlloc_C_64fc(ref ippState, order, factor, IppHintAlgorithm.ippAlgHintNone);
 }