MDCTFwdFree, MDCTInvFree

Closes modified discrete cosine transform specification structure.

Syntax

IppStatus ippsMDCTFwdFree_32f(IppsMDCTFwdSpec_32f* pMDCTSpec);

IppStatus ippsMDCTFwdFree_16s(IppsMDCTFwdSpec_16s* pMDCTSpec);

IppStatus ippsMDCTInvFree_32f(IppsMDCTInvSpec_32f* pMDCTSpec);

Parameters

pMDCTSpec

Pointer to the MDCT specification structure to be closed.

Description

These functions are declared in the ippac.h header file. The functions ippsMDCTFwdFree and ippsMDCTInvFree close the MDCT structure pMDCTSpec by freeing all memory associated with the specification created by ippsMDCTFwdInitAlloc or ippsMDCTInvInitAlloc functions.

Call either ippsMDCTFwdFree or ippsMDCTInvFree after the transform is completed.

The function ippsMDCTFwdFree closes the forward MDCT specification structure.

The function ippsMDCTInvFree closes the inverse MDCT specification structure.

ippsMDCTFwdFree_32f is used in the float-point versions of AAC decoder, AAC and MP3 encoders, ippsMDCTFwdFree_16s is used in the fixed-point version of AAC encoder, ippsMDCTInvFree_32f is used in the float-point versions of AC3, AAC, and MP3 decoders included into IPP Samples. See introduction to this section.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pMDCTSpec pointer is NULL.

ippStsContextMatchErr

Indicates an error when the specification identifier pMDCTSpec is incorrect.

Submit feedback on this help topic

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