NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 22.3.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Squares each sample of a signal. More...

Functions

NppStatus nppsSqr_32f_Ctx (const Npp32f *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit floating point signal squared. More...
 
NppStatus nppsSqr_32f (const Npp32f *pSrc, Npp32f *pDst, int nLength)
 
NppStatus nppsSqr_64f_Ctx (const Npp64f *pSrc, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
 64-bit floating point signal squared. More...
 
NppStatus nppsSqr_64f (const Npp64f *pSrc, Npp64f *pDst, int nLength)
 
NppStatus nppsSqr_32fc_Ctx (const Npp32fc *pSrc, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit complex floating point signal squared. More...
 
NppStatus nppsSqr_32fc (const Npp32fc *pSrc, Npp32fc *pDst, int nLength)
 
NppStatus nppsSqr_64fc_Ctx (const Npp64fc *pSrc, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
 64-bit complex floating point signal squared. More...
 
NppStatus nppsSqr_64fc (const Npp64fc *pSrc, Npp64fc *pDst, int nLength)
 
NppStatus nppsSqr_32f_I_Ctx (Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit floating point signal squared. More...
 
NppStatus nppsSqr_32f_I (Npp32f *pSrcDst, int nLength)
 
NppStatus nppsSqr_64f_I_Ctx (Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 64-bit floating point signal squared. More...
 
NppStatus nppsSqr_64f_I (Npp64f *pSrcDst, int nLength)
 
NppStatus nppsSqr_32fc_I_Ctx (Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit complex floating point signal squared. More...
 
NppStatus nppsSqr_32fc_I (Npp32fc *pSrcDst, int nLength)
 
NppStatus nppsSqr_64fc_I_Ctx (Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 64-bit complex floating point signal squared. More...
 
NppStatus nppsSqr_64fc_I (Npp64fc *pSrcDst, int nLength)
 
NppStatus nppsSqr_8u_Sfs_Ctx (const Npp8u *pSrc, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 8-bit unsigned char signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_8u_Sfs (const Npp8u *pSrc, Npp8u *pDst, int nLength, int nScaleFactor)
 
NppStatus nppsSqr_16u_Sfs_Ctx (const Npp16u *pSrc, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 16-bit unsigned short signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_16u_Sfs (const Npp16u *pSrc, Npp16u *pDst, int nLength, int nScaleFactor)
 
NppStatus nppsSqr_16s_Sfs_Ctx (const Npp16s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 16-bit signed short signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_16s_Sfs (const Npp16s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor)
 
NppStatus nppsSqr_16sc_Sfs_Ctx (const Npp16sc *pSrc, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 16-bit complex signed short signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_16sc_Sfs (const Npp16sc *pSrc, Npp16sc *pDst, int nLength, int nScaleFactor)
 
NppStatus nppsSqr_8u_ISfs_Ctx (Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 8-bit unsigned char signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_8u_ISfs (Npp8u *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus nppsSqr_16u_ISfs_Ctx (Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 16-bit unsigned short signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_16u_ISfs (Npp16u *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus nppsSqr_16s_ISfs_Ctx (Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 16-bit signed short signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_16s_ISfs (Npp16s *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus nppsSqr_16sc_ISfs_Ctx (Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
 16-bit complex signed short signal squared, scale, then clamp to saturated value. More...
 
NppStatus nppsSqr_16sc_ISfs (Npp16sc *pSrcDst, int nLength, int nScaleFactor)
 

Detailed Description

Squares each sample of a signal.

Function Documentation

NppStatus nppsSqr_16s_ISfs ( Npp16s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_16s_ISfs_Ctx ( Npp16s *  pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_16s_Sfs ( const Npp16s *  pSrc,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_16s_Sfs_Ctx ( const Npp16s *  pSrc,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_16sc_ISfs ( Npp16sc *  pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_16sc_ISfs_Ctx ( Npp16sc *  pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_16sc_Sfs ( const Npp16sc *  pSrc,
Npp16sc *  pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_16sc_Sfs_Ctx ( const Npp16sc *  pSrc,
Npp16sc *  pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_16u_ISfs ( Npp16u *  pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_16u_ISfs_Ctx ( Npp16u *  pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_16u_Sfs ( const Npp16u *  pSrc,
Npp16u *  pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_16u_Sfs_Ctx ( const Npp16u *  pSrc,
Npp16u *  pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_32f ( const Npp32f *  pSrc,
Npp32f *  pDst,
int  nLength 
)
NppStatus nppsSqr_32f_Ctx ( const Npp32f *  pSrc,
Npp32f *  pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)
NppStatus nppsSqr_32f_I ( Npp32f *  pSrcDst,
int  nLength 
)
NppStatus nppsSqr_32f_I_Ctx ( Npp32f *  pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point signal squared.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_32fc ( const Npp32fc *  pSrc,
Npp32fc *  pDst,
int  nLength 
)
NppStatus nppsSqr_32fc_Ctx ( const Npp32fc *  pSrc,
Npp32fc *  pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit complex floating point signal squared.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_32fc_I ( Npp32fc *  pSrcDst,
int  nLength 
)
NppStatus nppsSqr_32fc_I_Ctx ( Npp32fc *  pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit complex floating point signal squared.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_64f ( const Npp64f *  pSrc,
Npp64f *  pDst,
int  nLength 
)
NppStatus nppsSqr_64f_Ctx ( const Npp64f *  pSrc,
Npp64f *  pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)
NppStatus nppsSqr_64f_I ( Npp64f *  pSrcDst,
int  nLength 
)
NppStatus nppsSqr_64f_I_Ctx ( Npp64f *  pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit floating point signal squared.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_64fc ( const Npp64fc *  pSrc,
Npp64fc *  pDst,
int  nLength 
)
NppStatus nppsSqr_64fc_Ctx ( const Npp64fc *  pSrc,
Npp64fc *  pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit complex floating point signal squared.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_64fc_I ( Npp64fc *  pSrcDst,
int  nLength 
)
NppStatus nppsSqr_64fc_I_Ctx ( Npp64fc *  pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit complex floating point signal squared.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_8u_ISfs ( Npp8u *  pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_8u_ISfs_Ctx ( Npp8u *  pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSqr_8u_Sfs ( const Npp8u *  pSrc,
Npp8u *  pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsSqr_8u_Sfs_Ctx ( const Npp8u *  pSrc,
Npp8u *  pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

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

Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact
Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES