Developer Reference

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

MaxEvery
,
MinEvery

Computes maximum or minimum value for each pair of elements of two vectors.

Syntax

IppStatus ippsMaxEvery_8u(const Ipp8u*
pSrc1
, const Ipp8u*
pSrc2
, Ipp8u*
pDst
, Ipp32u
len
);
IppStatus ippsMaxEvery_16u(const Ipp16u*
pSrc1
, const Ipp16u*
pSrc2
, Ipp16u*
pDst
, Ipp32u
len
);
IppStatus ippsMaxEvery_32f(const Ipp32f*
pSrc1
, const Ipp32f*
pSrc2
, Ipp32f*
pDst
, Ipp32u
len
);
IppStatus ippsMaxEvery_64f(const Ipp64f*
pSrc1
, const Ipp64f*
pSrc2
, Ipp64f*
pDst
, Ipp32u
len
);
IppStatus ippsMinEvery_8u(const Ipp8u*
pSrc1
, const Ipp8u*
pSrc2
, Ipp8u*
pDst
, Ipp32u
len
);
IppStatus ippsMinEvery_16u(const Ipp16u*
pSrc1
, const Ipp16u*
pSrc2
, Ipp16u*
pDst
, Ipp32u
len
);
IppStatus ippsMinEvery_32f(const Ipp32f*
pSrc1
, const Ipp32f*
pSrc2
, Ipp32f*
pDst
, Ipp32u
len
);
IppStatus ippsMinEvery_64f(const Ipp64f*
pSrc1
, const Ipp64f*
pSrc2
, Ipp64f*
pDst
, Ipp32u
len
);
IppStatus ippsMaxEvery_8u_I(const Ipp8u*
pSrc
, Ipp8u*
pSrcDst
, int
len
);
IppStatus ippsMaxEvery_16u_I(const Ipp16u*
pSrc
, Ipp16u*
pSrcDst
, int
len
);
IppStatus ippsMaxEvery_16s_I(const Ipp16s*
pSrc
, Ipp16s*
pSrcDst
, int
len
);
IppStatus ippsMaxEvery_32s_I(const Ipp32s*
pSrc
, Ipp32s*
pSrcDst
, int
len
);
IppStatus ippsMaxEvery_32f_I(const Ipp32f*
pSrc
, Ipp32f*
pSrcDst
, int
len
);
IppStatus ippsMaxEvery_64f_I(const Ipp64f*
pSrc
, Ipp64f*
pSrcDst
, Ipp32u
len
);
IppStatus ippsMinEvery_8u_I(const Ipp8u*
pSrc
, Ipp8u*
pSrcDst
, int
len
);
IppStatus ippsMinEvery_16u_I(const Ipp16u*
pSrc
, Ipp16u*
pSrcDst
, int
len
);
IppStatus ippsMinEvery_16s_I(const Ipp16s*
pSrc
, Ipp16s*
pSrcDst
, int
len
);
IppStatus ippsMinEvery_32s_I(const Ipp32s*
pSrc
, Ipp32s*
pSrcDst
, int
len
);
IppStatus ippsMinEvery_32f_I(const Ipp32f*
pSrc
, Ipp32f*
pSrcDst
, int
len
);
IppStatus ippsMinEvery_64f_I(const Ipp64f*
pSrc
, Ipp64f*
pSrcDst
, Ipp32u
len
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc
,
pSrc1
,
pSrc2
Pointer to the input vector.
pSrcDst
,
pDst
Pointer to the vector which stores the result.
len
Number of elements in the vector.
Description
This function computes the maximum between each pair of corresponding elements of two input vectors and stores the result in
pSrcDst
.
This function computes minimum values likewise.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when the
pSrc
or
pSrcDst
pointer 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