NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Subtracts each sample of a signal from a constant. More...

Functions

NppStatus nppsSubCRev_8u_ISfs (Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor)
 8-bit unsigned char in place signal subtract from constant, scale, then clamp to saturated value More...
 
NppStatus nppsSubCRev_8u_Sfs (const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor)
 8-bit unsigned char signal subtract from constant, scale, then clamp to saturated value. More...
 
NppStatus nppsSubCRev_16u_ISfs (Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor)
 16-bit unsigned short in place signal subtract from constant, scale, then clamp to saturated value. More...
 
NppStatus nppsSubCRev_16u_Sfs (const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor)
 16-bit unsigned short signal subtract from constant, scale, then clamp to saturated value. More...
 
NppStatus nppsSubCRev_16s_ISfs (Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor)
 16-bit signed short in place signal subtract from constant, scale, then clamp to saturated value. More...
 
NppStatus nppsSubCRev_16s_Sfs (const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor)
 16-bit signed short signal subtract from constant, scale, then clamp to saturated value. More...
 
NppStatus nppsSubCRev_16sc_ISfs (Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
 16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value. More...
 
NppStatus nppsSubCRev_16sc_Sfs (const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor)
 16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value. More...
 
NppStatus nppsSubCRev_32s_ISfs (Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor)
 32-bit signed integer in place signal subtract from constant and scale. More...
 
NppStatus nppsSubCRev_32s_Sfs (const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor)
 32-bit signed integersignal subtract from constant and scale. More...
 
NppStatus nppsSubCRev_32sc_ISfs (Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
 32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant and scale. More...
 
NppStatus nppsSubCRev_32sc_Sfs (const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor)
 32-bit integer complex number (32 bit real, 32 bit imaginary) signal subtract from constant and scale. More...
 
NppStatus nppsSubCRev_32f_I (Npp32f nValue, Npp32f *pSrcDst, int nLength)
 32-bit floating point in place signal subtract from constant. More...
 
NppStatus nppsSubCRev_32f (const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
 32-bit floating point signal subtract from constant. More...
 
NppStatus nppsSubCRev_32fc_I (Npp32fc nValue, Npp32fc *pSrcDst, int nLength)
 32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant. More...
 
NppStatus nppsSubCRev_32fc (const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength)
 32-bit floating point complex number (32 bit real, 32 bit imaginary) signal subtract from constant. More...
 
NppStatus nppsSubCRev_64f_I (Npp64f nValue, Npp64f *pSrcDst, int nLength)
 64-bit floating point, in place signal subtract from constant. More...
 
NppStatus nppsSubCRev_64f (const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength)
 64-bit floating point signal subtract from constant. More...
 
NppStatus nppsSubCRev_64fc_I (Npp64fc nValue, Npp64fc *pSrcDst, int nLength)
 64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal subtract from constant. More...
 
NppStatus nppsSubCRev_64fc (const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength)
 64-bit floating point complex number (64 bit real, 64 bit imaginary) signal subtract from constant. More...
 

Detailed Description

Subtracts each sample of a signal from a constant.

Function Documentation

NppStatus nppsSubCRev_16s_ISfs ( Npp16s  nValue,
Npp16s pSrcDst,
int  nLength,
int  nScaleFactor 
)

16-bit signed short in place signal subtract from constant, scale, then clamp to saturated value.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_16s_Sfs ( const Npp16s pSrc,
Npp16s  nValue,
Npp16s pDst,
int  nLength,
int  nScaleFactor 
)

16-bit signed short signal subtract from constant, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_16sc_ISfs ( Npp16sc  nValue,
Npp16sc pSrcDst,
int  nLength,
int  nScaleFactor 
)

16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_16sc_Sfs ( const Npp16sc pSrc,
Npp16sc  nValue,
Npp16sc pDst,
int  nLength,
int  nScaleFactor 
)

16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_16u_ISfs ( Npp16u  nValue,
Npp16u pSrcDst,
int  nLength,
int  nScaleFactor 
)

16-bit unsigned short in place signal subtract from constant, scale, then clamp to saturated value.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_16u_Sfs ( const Npp16u pSrc,
Npp16u  nValue,
Npp16u pDst,
int  nLength,
int  nScaleFactor 
)

16-bit unsigned short signal subtract from constant, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32f ( const Npp32f pSrc,
Npp32f  nValue,
Npp32f pDst,
int  nLength 
)

32-bit floating point signal subtract from constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32f_I ( Npp32f  nValue,
Npp32f pSrcDst,
int  nLength 
)

32-bit floating point in place signal subtract from constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32fc ( const Npp32fc pSrc,
Npp32fc  nValue,
Npp32fc pDst,
int  nLength 
)

32-bit floating point complex number (32 bit real, 32 bit imaginary) signal subtract from constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32fc_I ( Npp32fc  nValue,
Npp32fc pSrcDst,
int  nLength 
)

32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32s_ISfs ( Npp32s  nValue,
Npp32s pSrcDst,
int  nLength,
int  nScaleFactor 
)

32-bit signed integer in place signal subtract from constant and scale.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32s_Sfs ( const Npp32s pSrc,
Npp32s  nValue,
Npp32s pDst,
int  nLength,
int  nScaleFactor 
)

32-bit signed integersignal subtract from constant and scale.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32sc_ISfs ( Npp32sc  nValue,
Npp32sc pSrcDst,
int  nLength,
int  nScaleFactor 
)

32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant and scale.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_32sc_Sfs ( const Npp32sc pSrc,
Npp32sc  nValue,
Npp32sc pDst,
int  nLength,
int  nScaleFactor 
)

32-bit integer complex number (32 bit real, 32 bit imaginary) signal subtract from constant and scale.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_64f ( const Npp64f pSrc,
Npp64f  nValue,
Npp64f pDst,
int  nLength 
)

64-bit floating point signal subtract from constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_64f_I ( Npp64f  nValue,
Npp64f pSrcDst,
int  nLength 
)

64-bit floating point, in place signal subtract from constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthLength of the vectors, number of items.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_64fc ( const Npp64fc pSrc,
Npp64fc  nValue,
Npp64fc pDst,
int  nLength 
)

64-bit floating point complex number (64 bit real, 64 bit imaginary) signal subtract from constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_64fc_I ( Npp64fc  nValue,
Npp64fc pSrcDst,
int  nLength 
)

64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal subtract from constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_8u_ISfs ( Npp8u  nValue,
Npp8u pSrcDst,
int  nLength,
int  nScaleFactor 
)

8-bit unsigned char in place signal subtract from constant, scale, then clamp to saturated value

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value each vector element is to be subtracted from
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSubCRev_8u_Sfs ( const Npp8u pSrc,
Npp8u  nValue,
Npp8u pDst,
int  nLength,
int  nScaleFactor 
)

8-bit unsigned char signal subtract from constant, scale, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
nValueConstant value each vector element is to be subtracted from
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation