Performs the forward BWT transform with specified sort algorithm.
IppStatus ippsBWTFwd_SelectSort_8u(const Ipp8u* pSrc, Ipp8u* pDst, Ipp32u len, Ipp32u* pIndex, Ipp8u* pBuff, IppBWTSortAlgorithmHint sortAlgorithmHint);
pSrc |
Pointer to the source vector. |
pDst |
Pointer to the destination vector. |
len |
Number of elements in the source and destination vectors. |
pIndex |
Pointer to the index of first position for the forward BWT transform. |
pBuff |
Pointer to the additional buffer. |
sortAlgorithmHint |
Specifies what sort algorithm is used, possible values: |
ippBWTItohTanakaLimSort; ippBWTItohTanakaUnlimSort; ippBWTSuffixSort; ippBWTAutoSort. |
The function ippsBWTFwd_SelectSort is declared in the ippdc.h file. This function performs the forward BWT transform of len elements starting from pIndex element of the source vector pSrc and stores result in the vector pDst. The parameter sortAlgorithmHint specifies the desired algorithm of sorting. The function uses the external buffer pBuff. The size of this buffer must be computed by calling the function ippsBWTFwdGetBufSize_SelectSort beforehand.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error if len is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.