Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

Flip

Reverses the order of elements in a vector.

Syntax

IppStatus ippsFlip_8u(const Ipp8u*
pSrc
, Ipp8u*
pDst
, int
len
);
IppStatus ippsFlip_16u(const Ipp16u*
pSrc
, Ipp16u*
pDst
, int
len
);
IppStatus ippsFlip_32f(const Ipp32f*
pSrc
, Ipp32f*
pDst
, int
len
);
IppStatus ippsFlip_64f(const Ipp64f*
pSrc
, Ipp64f*
pDst
, int
len
);
IppStatus ippsFlip_32fc(const Ipp32fc*
pSrc
, Ipp32fc*
pDst
, int
len
);
IppStatus ippsFlip_64fc(const Ipp64fc*
pSrc
, Ipp64fc*
pDst
, int
len
);
IppStatus ippsFlip_16u_I(Ipp16u*
pSrcDst
, int
len
);
IppStatus ippsFlip_8u_I(Ipp8u*
pSrcDst
, int
len
);
IppStatus ippsFlip_32f_I(Ipp32f*
pSrcDst
, int
len
);
IppStatus ippsFlip_64f_I(Ipp64f*
pSrcDst
, int
len
);
IppStatus ippsFlip_32fc_I(Ipp32fc*
pSrcDst
, int
len
);
IppStatus ippsFlip_64fc_I(Ipp64fc*
pSrcDst
, 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.
pDst
Pointer to the destination vector.
pSrcDst
Pointer to the source and destination vector for the in-place operation.
len
Number of elements in the vector.
Description
This function stores the elements of a source vector
pSrc
to a destination vector
pDst
in reverse order according to the following formula:
pDst
[n] =
pSrc
[
len
- n-1], n = 0 ..
len
-1
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when at least one of the specified pointers is
NULL
.
ippStsSizeErr
Indicates an error when
len
is less than or equal to 0.

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