Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

Move

Moves the contents of one vector to another vector.

Syntax

IppStatus ippsMove_8u(const Ipp8u*
pSrc
, Ipp8u*
pDst
, int
len
);
IppStatus ippsMove_16s(const Ipp16s*
pSrc
, Ipp16s*
pDst
, int
len
);
IppStatus ippsMove_32s(const Ipp32s*
pSrc
, Ipp32s*
pDst
, int
len
);
IppStatus ippsMove_32f(const Ipp32f*
pSrc
, Ipp32f*
pDst
, int
len
);
IppStatus ippsMove_64f(const Ipp64f*
pSrc
, Ipp64f*
pDst
, int
len
);
IppStatus ippsMove_64s(const Ipp64s*
pSrc
, Ipp64s*
pDst
, int
len
);
IppStatus ippsMove_16sc(const Ipp16sc*
pSrc
, Ipp16sc*
pDst
, int
len
);
IppStatus ippsMove_32sc(const Ipp32sc*
pSrc
, Ipp32sc*
pDst
, int
len
);
IppStatus ippsMove_32fc(const Ipp32fc*
pSrc
, Ipp32fc*
pDst
, int
len
);
IppStatus ippsMove_64sc(const Ipp64sc*
pSrc
, Ipp64sc*
pDst
, int
len
);
IppStatus ippsMove_64fc(const Ipp64fc*
pSrc
, Ipp64fc*
pDst
, int
len
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc
Pointer to the source vector used to initialize
pDst
.
pDst
Pointer to the destination vector to be initialized.
len
Number of elements to move.
Description
This function moves the first
len
elements from a source vector
pSrc
into the destination vector
pDst
. If some parts of the source and destination vectors are overlapping, then the function ensures that the original source bytes in the overlapping parts are moved (it means that they are copied before being overwritten) to the appropriate parts of the destination vector.
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 zero.

Example

Ipp8u pSrc[10] = { "123456789" }; Ipp8u pDst[6]; int len = 6; IppStatus status; status = ippsMove_8u ( pSrc, pDst, len ); if(ippStsNoErr != status) printf("Intel(R) IPP Error: %s",ippGetStatusString(status));
Result:
pSrc = 123456789 pDst = 123456

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804