QMFInit_RTA

Initializes the QMF filter state memory.

Syntax

IppStatus ippsQMFInit_RTA_32f(IppQMFState_RTA_32f* pQMFMem, int nTaps);

Parameters

pQMFMem

Pointer to the QMF filter state structure.

nTaps

Number of taps, possible values are: 24, 48.

Description

The function ippsQMFInit_RTA is declared in the ippsc.h file.

This function sets the number of filter taps nTaps and initializes Quadrature Mirror Filter (QMF) state memory pQMFMem that is used by the functions ippsQMFEncode_RTA and ippsQMFDecode_RTA. The size of the memory must be calculated by calling the function ippsQMFGetStateSize_RTA beforehand.

Return Values

ippStsNoErr

Indicates no error.

IppStsNullPtrErr

Indicates an error when pQMFMem pointer is NULL.

IppStsRangeErr

Indicates an error when nTaps is not equal to 24 or 48.

Submit feedback on this help topic

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