Gets the size of MDCT work buffer.
IppStatus ippsMDCTFwdGetBufSize_32f(const IppsMDCTFwdSpec_32f* pMDCTSpec, int* pSize);
IppStatus ippsMDCTFwdGetBufSize_16s(const IppsMDCTFwdSpec_16s* pMDCTSpec, int* pSize);
IppStatus ippsMDCTInvGetBufSize_32f(const IppsMDCTInvSpec_32f* pMDCTSpec, int* pSize);
pMDCTSpec |
Pointer to the MDCT specification structure. |
pSize |
Address of the MDCT work buffer size value in bytes. |
These functions are declared in the ippac.h header file. The functions ippsMDCTFwdGetBufSize and ippsMDCTInvGetBufSize get the work buffer size of the MDCT described by the specification structure pMDCTSpec and store the result in pSize.
The function ippsMDCTFwdGetBufSize gets the size of the work buffer for the forward MDCT.
The function ippsMDCTInvGetBufSize gets the size of the work buffer for the inverse MDCT.
ippsMDCTGetBufSize_32f is used in the float-point versions of AAC decoder, AAC and MP3 encoders, ippsMDCTFwdGetBufSize_16s is used in the fixed-point version of AAC encoder, ippsMDCTInvGetBufSize_32f is used in the float-point versions of AC3, AAC, and MP3 decoders included into IPP Samples. See introduction to this section.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pMDCTSpec pointer or pSize value is NULL. |
ippStsContextMatchErr |
Indicates an error when the specification structure pMDCTSpec is invalid. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.