Developer Reference

  • 2021
  • 01/15/2021
  • Public Content
Contents

BWTFwd_SelectSort

Performs the forward BWT transform with specified sort algorithm.

Syntax

IppStatus ippsBWTFwd_SelectSort_8u(const Ipp8u*
pSrc
, Ipp8u*
pDst
, Ipp32u
len
, Ipp32u*
index
, Ipp8u*
pBWTFwdBuf
, IppBWTSortAlgorithmHint
sortAlgorithmHint
);
Include Files
ippdc.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
pSrc
Pointer to the source vector.
pDst
Pointer to the destination vector.
len
Number of elements in the source and destination vectors.
index
Index of the first position for the forward BWT transform.
pBWTFwdBuf
Pointer to the additional buffer.
sortAlgorithmHint
Specifies the sort algorithm used. Possible values are:
  • ippBWTItohTanakaLimSort
  • ippBWTItohTanakaUnlimSort
  • ippBWTSuffixSort
  • ippBWTAutoSort
Description
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 BWTFwdGetBufSize_SelectSort beforehand.
Return Values
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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.