Developer Reference

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

Or

Computes the bitwise OR of two vectors.

Syntax

IppStatus ippsOr_8u(const Ipp8u*
pSrc1
, const Ipp8u*
pSrc2
, Ipp8u*
pDst
, int
len
);
IppStatus ippsOr_16u(const Ipp16u*
pSrc1
, const Ipp16u*
pSrc2
, Ipp16u*
pDst
, int
len
);
IppStatus ippsOr_32u(const Ipp32u*
pSrc1
, const Ipp32u*
pSrc2
, Ipp32u*
pDst
, int
len
);
IppStatus ippsOr_8u_I(const Ipp8u*
pSrc
, Ipp8u*
pSrcDst
, int
len
);
IppStatus ippsOr_16u_I(const Ipp16u*
pSrc
, Ipp16u*
pSrcDst
, int
len
);
IppStatus ippsOr_32u_I(const Ipp32u*
pSrc
, Ipp32u*
pSrcDst
, int
len
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc1
,
pSrc2
Pointers to the two source vectors.
pDst
Pointer to the destination vector.
pSrc
Pointer to the source vector for the in-place operation.
pSrcDst
Pointer to the source and destination vector for the in-place operation.
len
Number of elements in the vector.
Description
This function computes the bitwise OR of the corresponding elements of the vectors
pSrc1
and
pSrc2
, and stores the result in the vector
pDst
.
The in-place flavors of
ippsOr
compute the bitwise OR of the corresponding elements of the vectors
pSrc
and
pSrcDst
and store the result in the vector
pSrcDst
.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when any 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