HilbertInitAlloc

Initializes the Hilbert transform structure.

Syntax

IppStatus ippsHilbertInitAlloc_32f32fc(IppsHilbertSpec_32f32fc** ppSpec, int len, IppHintAlgorithm hint);

IppStatus ippsHilbertInitAlloc_16s32fc(IppsHilbertSpec_16s32fc** ppSpec, int len, IppHintAlgorithm hint);

IppStatus ippsHilbertInitAlloc_16s16sc(IppsHilbertSpec_16s16sc** ppSpec, int len, IppHintAlgorithm hint);

Parameters

ppSpec

Double pointer to the Hilbert context structure being initialized.

len

Number of samples in the Hilbert transform.

hint

Suggests using specific code for calculation. The values for the hint argument are described in the section Flag and Hint Arguments.

Description

The function ippsHilbertInitAlloc is declared in the ipps.h file. This function creates and initializes the Hilbert specification structure pSpec with the following parameters: the length of the transform len, and the specific code indicator hint. Call this function before using the Hilbert transform function ippsHilbert.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSpec pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

ippStsMemAllocErr

Indicates an error when no memory is allocated.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.