Pow43

Raises a vector to the power of 4/3.

Syntax

IppStatus ippsPow43_16s32f(const Ipp16s* pSrc, Ipp32f* pDst, int len);

Parameters

pSrc

Pointer to the input data vector [len].

pDst

Pointer to the output data vector [len].

len

Number of elements in the input and output vectors.

Description

This function is declared in the ippac.h header file. The function ippsPow43 performs the calculation for each element of pSrc by the formula

pDst[i] = sign(pSrc) * |pSrc[i]|4/3, 0i < len,

and stores the result in pDst.

The function ippsPow43 is used in the float-point versions of 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 pSrc or pDst pointer is NULL.

ippStsSizeErr

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

ippStsMisalignedBuf

Indicates misaligned data. Supply aligned data for better performance.

Note iconNote

The input values in the pSrc array can not be greater than 8206. The function does not check if the input values meet this requirement in order not to cause performance slowdown. If the input values in the array exceed the limit, the function may operate incorrectly. No error code is returned in this case.


Submit feedback on this help topic

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