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

Absolute value of each sample of a signal. More...

Functions

NppStatus  nppsAbs_16s_Ctx (const Npp16s *pSrc, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)
  16-bit signed short signal absolute value. More...
 
NppStatus  nppsAbs_16s (const Npp16s *pSrc, Npp16s *pDst, int nLength)
 
NppStatus  nppsAbs_32s_Ctx (const Npp32s *pSrc, Npp32s *pDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit signed integer signal absolute value. More...
 
NppStatus  nppsAbs_32s (const Npp32s *pSrc, Npp32s *pDst, int nLength)
 
NppStatus  nppsAbs_32f_Ctx (const Npp32f *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit floating point signal absolute value. More...
 
NppStatus  nppsAbs_32f (const Npp32f *pSrc, Npp32f *pDst, int nLength)
 
NppStatus  nppsAbs_64f_Ctx (const Npp64f *pSrc, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
  64-bit floating point signal absolute value. More...
 
NppStatus  nppsAbs_64f (const Npp64f *pSrc, Npp64f *pDst, int nLength)
 
NppStatus  nppsAbs_16s_I_Ctx (Npp16s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  16-bit signed short signal absolute value. More...
 
NppStatus  nppsAbs_16s_I (Npp16s *pSrcDst, int nLength)
 
NppStatus  nppsAbs_32s_I_Ctx (Npp32s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit signed integer signal absolute value. More...
 
NppStatus  nppsAbs_32s_I (Npp32s *pSrcDst, int nLength)
 
NppStatus  nppsAbs_32f_I_Ctx (Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit floating point signal absolute value. More...
 
NppStatus  nppsAbs_32f_I (Npp32f *pSrcDst, int nLength)
 
NppStatus  nppsAbs_64f_I_Ctx (Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  64-bit floating point signal absolute value. More...
 
NppStatus  nppsAbs_64f_I (Npp64f *pSrcDst, int nLength)
 

Detailed Description

Absolute value of each sample of a signal.

Function Documentation

NppStatus nppsAbs_16s ( const Npp16s pSrc,
Npp16s pDst,
int  nLength 
)
NppStatus nppsAbs_16s_Ctx ( const Npp16s pSrc,
Npp16s pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

16-bit signed short signal absolute value.

Parameters
pSrc Source Signal Pointer.
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAbs_16s_I ( Npp16s pSrcDst,
int  nLength 
)
NppStatus nppsAbs_16s_I_Ctx ( Npp16s pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

16-bit signed short signal absolute value.

Parameters
pSrcDst In-Place Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAbs_32f ( const Npp32f pSrc,
Npp32f pDst,
int  nLength 
)
NppStatus nppsAbs_32f_Ctx ( const Npp32f pSrc,
Npp32f pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point signal absolute value.

Parameters
pSrc Source Signal Pointer.
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAbs_32f_I ( Npp32f pSrcDst,
int  nLength 
)
NppStatus nppsAbs_32f_I_Ctx ( Npp32f pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point signal absolute value.

Parameters
pSrcDst In-Place Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAbs_32s ( const Npp32s pSrc,
Npp32s pDst,
int  nLength 
)
NppStatus nppsAbs_32s_Ctx ( const Npp32s pSrc,
Npp32s pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit signed integer signal absolute value.

Parameters
pSrc Source Signal Pointer.
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAbs_32s_I ( Npp32s pSrcDst,
int  nLength 
)
NppStatus nppsAbs_32s_I_Ctx ( Npp32s pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit signed integer signal absolute value.

Parameters
pSrcDst In-Place Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAbs_64f ( const Npp64f pSrc,
Npp64f pDst,
int  nLength 
)
NppStatus nppsAbs_64f_Ctx ( const Npp64f pSrc,
Npp64f pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit floating point signal absolute value.

Parameters
pSrc Source Signal Pointer.
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAbs_64f_I ( Npp64f pSrcDst,
int  nLength 
)
NppStatus nppsAbs_64f_I_Ctx ( Npp64f pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit floating point signal absolute value.

Parameters
pSrcDst In-Place Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.