NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Normalize each sample of a real or complex signal using offset and division operations. More...

Functions

NppStatus nppsNormalize_32f (const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f vSub, Npp32f vDiv)
 32-bit floating point signal normalize. More...
 
NppStatus nppsNormalize_32fc (const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32fc vSub, Npp32f vDiv)
 32-bit complex floating point signal normalize. More...
 
NppStatus nppsNormalize_64f (const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f vSub, Npp64f vDiv)
 64-bit floating point signal normalize. More...
 
NppStatus nppsNormalize_64fc (const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64fc vSub, Npp64f vDiv)
 64-bit complex floating point signal normalize. More...
 
NppStatus nppsNormalize_16s_Sfs (const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s vSub, int vDiv, int nScaleFactor)
 16-bit signed short signal normalize, scale, then clamp to saturated value. More...
 
NppStatus nppsNormalize_16sc_Sfs (const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16sc vSub, int vDiv, int nScaleFactor)
 16-bit complex signed short signal normalize, scale, then clamp to saturated value. More...
 

Detailed Description

Normalize each sample of a real or complex signal using offset and division operations.

Function Documentation

NppStatus nppsNormalize_16s_Sfs ( const Npp16s pSrc,
Npp16s pDst,
int  nLength,
Npp16s  vSub,
int  vDiv,
int  nScaleFactor 
)

16-bit signed short signal normalize, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
vSubvalue subtracted from each signal element before division
vDivdivisor of post-subtracted signal element dividend
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormalize_16sc_Sfs ( const Npp16sc pSrc,
Npp16sc pDst,
int  nLength,
Npp16sc  vSub,
int  vDiv,
int  nScaleFactor 
)

16-bit complex signed short signal normalize, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
vSubvalue subtracted from each signal element before division
vDivdivisor of post-subtracted signal element dividend
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormalize_32f ( const Npp32f pSrc,
Npp32f pDst,
int  nLength,
Npp32f  vSub,
Npp32f  vDiv 
)

32-bit floating point signal normalize.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
vSubvalue subtracted from each signal element before division
vDivdivisor of post-subtracted signal element dividend
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormalize_32fc ( const Npp32fc pSrc,
Npp32fc pDst,
int  nLength,
Npp32fc  vSub,
Npp32f  vDiv 
)

32-bit complex floating point signal normalize.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
vSubvalue subtracted from each signal element before division
vDivdivisor of post-subtracted signal element dividend
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormalize_64f ( const Npp64f pSrc,
Npp64f pDst,
int  nLength,
Npp64f  vSub,
Npp64f  vDiv 
)

64-bit floating point signal normalize.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
vSubvalue subtracted from each signal element before division
vDivdivisor of post-subtracted signal element dividend
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsNormalize_64fc ( const Npp64fc pSrc,
Npp64fc pDst,
int  nLength,
Npp64fc  vSub,
Npp64f  vDiv 
)

64-bit complex floating point signal normalize.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
vSubvalue subtracted from each signal element before division
vDivdivisor of post-subtracted signal element dividend
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation