Developer Reference for Intel® Integrated Performance Primitives
DEPRECATED. Removes a specified number of elements from the string.
IppStatus ippsRemove_8u(const Ipp8u* pSrc, int srcLen, Ipp8u* pDst, int startIndex, int len);
IppStatus ippsRemove_8u_I(Ipp8u* pSrcDst, int* pSrcDstLen, int startIndex, int len);
ippch.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pSrc |
Pointer to the source string. |
srcLen |
Number of elements in the source string. |
pDst |
Pointer to the destination string. |
pSrcDst |
Pointer to the source and destination string for in-place operation. |
pSrcDstLen |
Pointer to the number of elements in the source and destination string for in-place operation. |
startIndex |
Index of the starting point. |
len |
Number of elements to be removed. |
This function removes the len elements from a source string pSrc of length srcLen. Starting position is specified by startIndex. The result is stored in the pDst.
The in-place flavors of ippsRemove remove the len elements from the source string pSrcDst and store the result in the destination string pSrcDst.
Code example shows how to use the function ippsRemove_8u_I.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if at least one of the specified pointers is NULL. |
ippStsLengthErr |
Indicates an error condition if one of the srcLen, len, pSrcSdtLen, startIndex is negative, or (startIndex+len) is greater than srcLen or pSrcDstLen. |