// PyramidLayerDown [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidGetSize")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidGetSize(int* pPyramidStructSize, int* pBufferSize, int level, Size roiSize, float rate); [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidInit")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidInit(IppiPyramid** pPyramidStruct, int level, Size roiSize, float rate, byte* pPyramidBuffer, byte* pBuffer); [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidLayerDownGetSize_32f_C1R")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidLayerDownGetSize_32f_C1R(Size roiSize, float rate, int kernelSize, int* pStateSize, int* pBufferSize); [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidLayerDownGetSize_8u_C1R")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidLayerDownGetSize_8u_C1R(Size roiSize, float rate, int kernelSize, int* pStateSize, int* pBufferSize); [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidLayerDownInit_32f_C1R")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidLayerDownInit_32f_C1R(IppiPyramid** pStateSize, Size dstRoiSize, float rate, float* pKernel, int kernelSize, IppiInterpolationMode interpolationMode, byte* pStateBuffer, byte* pPyrBuffer); [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidLayerDownInit_8u_C1R")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidLayerDownInit_8u_C1R(IppiPyramid** pStateSize, Size dstRoiSize, float rate, short* pKernel, int kernelSize, IppiInterpolationMode interpolationMode, byte* pStateBuffer, byte* pPyrBuffer); [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidLayerDown_32f_C1R")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidLayerDown_32f_C1R(byte* pScrRoi, int scrStep, Size scrRoiSize, byte* pDstRoi, int dstStep, Size dstRoiSize, float* pState); [DllImport(IPPCVDLL, EntryPoint = "ippiPyramidLayerDown_8u_C1R")] // [Added by krt: 09-06-2016] private static extern short ippiPyramidLayerDown_8u_C1R(byte* pScrRoi, int scrStep, Size scrRoiSize, byte* pDstRoi, int dstStep, Size dstRoiSize, float* pState); [DllImport(IPPIDLL, EntryPoint = "ippiFree")] // [Added by krt: 09-06-2016] private static extern void ippiFree(void* ptr); [StructLayout(LayoutKind.Sequential)] private struct IppiPyramid // [Added by krt: 09-06-2016] { public byte** pImage; public Size* pRoi; public double* pRate; public int* pStep; public byte* pState; public int level; }