NVIDIA Performance Primitives (NPP)  Version 9.2
Functions

Square root of each sample of a signal. More...

Functions

NppStatus nppsSqrt_32f (const Npp32f *pSrc, Npp32f *pDst, int nLength)
 32-bit floating point signal square root. More...
 
NppStatus nppsSqrt_64f (const Npp64f *pSrc, Npp64f *pDst, int nLength)
 64-bit floating point signal square root. More...
 
NppStatus nppsSqrt_32fc (const Npp32fc *pSrc, Npp32fc *pDst, int nLength)
 32-bit complex floating point signal square root. More...
 
NppStatus nppsSqrt_64fc (const Npp64fc *pSrc, Npp64fc *pDst, int nLength)
 64-bit complex floating point signal square root. More...
 
NppStatus nppsSqrt_32f_I (Npp32f *pSrcDst, int nLength)
 32-bit floating point signal square root. More...
 
NppStatus nppsSqrt_64f_I (Npp64f *pSrcDst, int nLength)
 64-bit floating point signal square root. More...
 
NppStatus nppsSqrt_32fc_I (Npp32fc *pSrcDst, int nLength)
 32-bit complex floating point signal square root. More...
 
NppStatus nppsSqrt_64fc_I (Npp64fc *pSrcDst, int nLength)
 64-bit complex floating point signal square root. More...
 
NppStatus nppsSqrt_8u_Sfs (const Npp8u *pSrc, Npp8u *pDst, int nLength, int nScaleFactor)
 8-bit unsigned char signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_16u_Sfs (const Npp16u *pSrc, Npp16u *pDst, int nLength, int nScaleFactor)
 16-bit unsigned short signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_16s_Sfs (const Npp16s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor)
 16-bit signed short signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_16sc_Sfs (const Npp16sc *pSrc, Npp16sc *pDst, int nLength, int nScaleFactor)
 16-bit complex signed short signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_64s_Sfs (const Npp64s *pSrc, Npp64s *pDst, int nLength, int nScaleFactor)
 64-bit signed integer signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_32s16s_Sfs (const Npp32s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal square root, scale, then clamp to 16-bit signed integer saturated value. More...
 
NppStatus nppsSqrt_64s16s_Sfs (const Npp64s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor)
 64-bit signed integer signal square root, scale, then clamp to 16-bit signed integer saturated value. More...
 
NppStatus nppsSqrt_8u_ISfs (Npp8u *pSrcDst, int nLength, int nScaleFactor)
 8-bit unsigned char signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_16u_ISfs (Npp16u *pSrcDst, int nLength, int nScaleFactor)
 16-bit unsigned short signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_16s_ISfs (Npp16s *pSrcDst, int nLength, int nScaleFactor)
 16-bit signed short signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_16sc_ISfs (Npp16sc *pSrcDst, int nLength, int nScaleFactor)
 16-bit complex signed short signal square root, scale, then clamp to saturated value. More...
 
NppStatus nppsSqrt_64s_ISfs (Npp64s *pSrcDst, int nLength, int nScaleFactor)
 64-bit signed integer signal square root, scale, then clamp to saturated value. More...
 

Detailed Description

Square root of each sample of a signal.

Function Documentation

NppStatus nppsSqrt_16s_ISfs ( Npp16s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_16s_Sfs ( const Npp16s *  pSrc,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_16sc_ISfs ( Npp16sc *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_16sc_Sfs ( const Npp16sc *  pSrc,
Npp16sc *  pDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_16u_ISfs ( Npp16u *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

16-bit unsigned short signal square root, scale, then clamp to saturated value.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_16u_Sfs ( const Npp16u *  pSrc,
Npp16u *  pDst,
int  nLength,
int  nScaleFactor 
)

16-bit unsigned short signal square root, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_32f ( const Npp32f *  pSrc,
Npp32f *  pDst,
int  nLength 
)

32-bit floating point signal square root.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_32f_I ( Npp32f *  pSrcDst,
int  nLength 
)

32-bit floating point signal square root.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_32fc ( const Npp32fc *  pSrc,
Npp32fc *  pDst,
int  nLength 
)

32-bit complex floating point signal square root.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_32fc_I ( Npp32fc *  pSrcDst,
int  nLength 
)

32-bit complex floating point signal square root.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_32s16s_Sfs ( const Npp32s *  pSrc,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

32-bit signed integer signal square root, scale, then clamp to 16-bit signed integer saturated value.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_64f ( const Npp64f *  pSrc,
Npp64f *  pDst,
int  nLength 
)

64-bit floating point signal square root.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_64f_I ( Npp64f *  pSrcDst,
int  nLength 
)

64-bit floating point signal square root.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_64fc ( const Npp64fc *  pSrc,
Npp64fc *  pDst,
int  nLength 
)

64-bit complex floating point signal square root.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_64fc_I ( Npp64fc *  pSrcDst,
int  nLength 
)

64-bit complex floating point signal square root.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_64s16s_Sfs ( const Npp64s *  pSrc,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

64-bit signed integer signal square root, scale, then clamp to 16-bit signed integer saturated value.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_64s_ISfs ( Npp64s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

64-bit signed integer signal square root, scale, then clamp to saturated value.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_64s_Sfs ( const Npp64s *  pSrc,
Npp64s *  pDst,
int  nLength,
int  nScaleFactor 
)

64-bit signed integer signal square root, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_8u_ISfs ( Npp8u *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

8-bit unsigned char signal square root, scale, then clamp to saturated value.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqrt_8u_Sfs ( const Npp8u *  pSrc,
Npp8u *  pDst,
int  nLength,
int  nScaleFactor 
)

8-bit unsigned char signal square root, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation