Developer Reference

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

ZeroCrossing

Computes specific zero crossing measure.

Syntax

IppStatus ippsZeroCrossing_16s32f(const Ipp16s*
pSrc
, Ipp32u
len
, Ipp32f*
pValZCR
, IppsZCType
zcType
);
IppStatus ippsZeroCrossing_32f(const Ipp32f*
pSrc
, Ipp32u
len
, Ipp32f*
pValZCR
, IppsZCType
zcType
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc
Pointer to the source vector.
len
Number of elements in the vector.
pValZCR
Pointer to the output value of the zero crossing measure.
zcType
Type of the zero crossing measure, possible values are
ippsZCR
,
ippsZCXor
or
ippsZCC
.
Description
This function computes specific zero crossing measure according to the parameter
zcType
. The result of zero crossing measurement is stored in
pValZCR
. The calculations are performed in accordance with the formulas below.
If
zcType
= ippZCR
, the function uses the following formula:
If
zcType
= ippZCXor
, the function uses the following formula:
If
zcType
= ippZCC
, the function uses the following formula:
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when the
pSrc
or
pValZCR
pointer is
NULL
.
ippStsRangeErr
Indicates an error when
zcType
has an invalid value.

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