Signal Conversion Functions

Functions that provide conversion and threshold operations.

Signal Convert

Convert

The set of conversion operations available in the library

Convert

Routines for converting the sample-data type of signals.

NppStatus nppsConvert_8s16s_Ctx(const Npp8s *pSrc, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)

8-bit signed byte to 16-bit signed short conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_8s16s(const Npp8s *pSrc, Npp16s *pDst, int nLength)

8-bit signed byte to 16-bit signed short conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_8s32f_Ctx(const Npp8s *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)

8-bit signed byte to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_8s32f(const Npp8s *pSrc, Npp32f *pDst, int nLength)

8-bit signed byte to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_8u32f_Ctx(const Npp8u *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)

8-bit unsigned byte to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_8u32f(const Npp8u *pSrc, Npp32f *pDst, int nLength)

8-bit unsigned byte to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s8s_Sfs_Ctx(const Npp16s *pSrc, Npp8s *pDst, Npp32u nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

16-bit signed short to 8-bit signed byte conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s8s_Sfs(const Npp16s *pSrc, Npp8s *pDst, Npp32u nLength, NppRoundMode eRoundMode, int nScaleFactor)

16-bit signed short to 8-bit signed byte conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s32s_Ctx(const Npp16s *pSrc, Npp32s *pDst, int nLength, NppStreamContext nppStreamCtx)

16-bit signed short to 32-bit signed integer conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s32s(const Npp16s *pSrc, Npp32s *pDst, int nLength)

16-bit signed short to 32-bit signed integer conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s32f_Ctx(const Npp16s *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)

16-bit signed short to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s32f(const Npp16s *pSrc, Npp32f *pDst, int nLength)

16-bit signed short to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16u32f_Ctx(const Npp16u *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)

16-bit unsigned short to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16u32f(const Npp16u *pSrc, Npp32f *pDst, int nLength)

16-bit unsigned short to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s16s_Ctx(const Npp32s *pSrc, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)

32-bit signed integer to 16-bit signed short conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s16s(const Npp32s *pSrc, Npp16s *pDst, int nLength)

32-bit signed integer to 16-bit signed short conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s32f_Ctx(const Npp32s *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)

32-bit signed integer to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s32f(const Npp32s *pSrc, Npp32f *pDst, int nLength)

32-bit signed integer to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s64f_Ctx(const Npp32s *pSrc, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)

32-bit signed integer to 64-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s64f(const Npp32s *pSrc, Npp64f *pDst, int nLength)

32-bit signed integer to 64-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f64f_Ctx(const Npp32f *pSrc, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)

32-bit floating point number to 64-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f64f(const Npp32f *pSrc, Npp64f *pDst, int nLength)

32-bit floating point number to 64-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64s64f_Ctx(const Npp64s *pSrc, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)

64-bit signed integer to 64-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64s64f(const Npp64s *pSrc, Npp64f *pDst, int nLength)

64-bit signed integer to 64-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f32f_Ctx(const Npp64f *pSrc, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)

64-bit floating point number to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f32f(const Npp64f *pSrc, Npp32f *pDst, int nLength)

64-bit floating point number to 32-bit floating point number conversion

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s32f_Sfs_Ctx(const Npp16s *pSrc, Npp32f *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)

16-bit signed short to 32-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s32f_Sfs(const Npp16s *pSrc, Npp32f *pDst, int nLength, int nScaleFactor)

16-bit signed short to 32-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s64f_Sfs_Ctx(const Npp16s *pSrc, Npp64f *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)

16-bit signed short to 64-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_16s64f_Sfs(const Npp16s *pSrc, Npp64f *pDst, int nLength, int nScaleFactor)

16-bit signed short to 64-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s16s_Sfs_Ctx(const Npp32s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit signed integer to 16-bit signed short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s16s_Sfs(const Npp32s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor)

32-bit signed integer to 16-bit signed short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s32f_Sfs_Ctx(const Npp32s *pSrc, Npp32f *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit signed integer to 32-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s32f_Sfs(const Npp32s *pSrc, Npp32f *pDst, int nLength, int nScaleFactor)

32-bit signed integer to 32-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s64f_Sfs_Ctx(const Npp32s *pSrc, Npp64f *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit signed integer to 64-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32s64f_Sfs(const Npp32s *pSrc, Npp64f *pDst, int nLength, int nScaleFactor)

32-bit signed integer to 64-bit floating point number conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f8s_Sfs_Ctx(const Npp32f *pSrc, Npp8s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit signed integer to 8-bit signed byte conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f8s_Sfs(const Npp32f *pSrc, Npp8s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

32-bit floating point number to 8-bit signed byte conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f8u_Sfs_Ctx(const Npp32f *pSrc, Npp8u *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit floating point number to 8-bit unsigned byte conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f8u_Sfs(const Npp32f *pSrc, Npp8u *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

32-bit floating point number to 8-bit unsigned byte conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f16s_Sfs_Ctx(const Npp32f *pSrc, Npp16s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit floating point number to 16-bit signed short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f16s_Sfs(const Npp32f *pSrc, Npp16s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

32-bit floating point number to 16-bit signed short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f16u_Sfs_Ctx(const Npp32f *pSrc, Npp16u *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit floating point number to 16-bit unsigned short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f16u_Sfs(const Npp32f *pSrc, Npp16u *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

32-bit floating point number to 16-bit unsigned short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f32s_Sfs_Ctx(const Npp32f *pSrc, Npp32s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

32-bit floating point number to 32-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_32f32s_Sfs(const Npp32f *pSrc, Npp32s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

32-bit floating point number to 32-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64s32s_Sfs_Ctx(const Npp64s *pSrc, Npp32s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

64-bit signed integer to 32-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64s32s_Sfs(const Npp64s *pSrc, Npp32s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

64-bit signed integer to 32-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f16s_Sfs_Ctx(const Npp64f *pSrc, Npp16s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

64-bit floating point number to 16-bit signed short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f16s_Sfs(const Npp64f *pSrc, Npp16s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

64-bit floating point number to 16-bit signed short conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f32s_Sfs_Ctx(const Npp64f *pSrc, Npp32s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

64-bit floating point number to 32-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f32s_Sfs(const Npp64f *pSrc, Npp32s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

64-bit floating point number to 32-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f64s_Sfs_Ctx(const Npp64f *pSrc, Npp64s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

64-bit floating point number to 64-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsConvert_64f64s_Sfs(const Npp64f *pSrc, Npp64s *pDst, int nLength, NppRoundMode eRoundMode, int nScaleFactor)

64-bit floating point number to 64-bit signed integer conversion with scaling

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Threshold

Threshold

The set of threshold operations available in the library.

Threshold Functions

Performs the threshold operation on the samples of a signal by limiting the sample values by a specified constant value.

NppStatus nppsThreshold_16s_Ctx(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

16-bit signed short signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_16s(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp)

16-bit signed short signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_16s_I_Ctx(Npp16s *pSrcDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

16-bit in place signed short signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_16s_I(Npp16s *pSrcDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp)

16-bit in place signed short signal threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_16sc_Ctx(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

16-bit signed short complex number signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_16sc(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp)

16-bit signed short complex number signal threshold with constant level.

Parameters
  • pSrcSource Signal Pointer.

  • pDstDestination Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_16sc_I_Ctx(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

16-bit in place signed short complex number signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_16sc_I(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, NppCmpOp nRelOp)

16-bit in place signed short complex number signal threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32f_Ctx(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

32-bit floating point signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32f(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp)

32-bit floating point signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32f_I_Ctx(Npp32f *pSrcDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

32-bit in place floating point signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32f_I(Npp32f *pSrcDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp)

32-bit in place floating point signal threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32fc_Ctx(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

32-bit floating point complex number signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32fc(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp)

32-bit floating point complex number signal threshold with constant level.

Parameters
  • pSrcSource Signal Pointer.

  • pDstDestination Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32fc_I_Ctx(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

32-bit in place floating point complex number signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_32fc_I(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, NppCmpOp nRelOp)

32-bit in place floating point complex number signal threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64f_Ctx(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

64-bit floating point signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64f(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp)

64-bit floating point signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64f_I_Ctx(Npp64f *pSrcDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

64-bit in place floating point signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64f_I(Npp64f *pSrcDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp)

64-bit in place floating point signal threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64fc_Ctx(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

64-bit floating point complex number signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64fc(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp)

64-bit floating point complex number signal threshold with constant level.

Parameters
  • pSrcSource Signal Pointer.

  • pDstDestination Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64fc_I_Ctx(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp, NppStreamContext nppStreamCtx)

64-bit in place floating point complex number signal threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_64fc_I(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, NppCmpOp nRelOp)

64-bit in place floating point complex number signal threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nRelOp – NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only).

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16s_Ctx(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16s(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel)

16-bit signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16s_I_Ctx(Npp16s *pSrcDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16s_I(Npp16s *pSrcDst, int nLength, Npp16s nLevel)

16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16sc_Ctx(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16sc(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel)

16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16sc_I_Ctx(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit in place signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_16sc_I(Npp16sc *pSrcDst, int nLength, Npp16s nLevel)

16-bit in place signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32f_Ctx(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32f(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel)

32-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32f_I_Ctx(Npp32f *pSrcDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32f_I(Npp32f *pSrcDst, int nLength, Npp32f nLevel)

32-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32fc_Ctx(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32fc(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel)

32-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32fc_I_Ctx(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_32fc_I(Npp32fc *pSrcDst, int nLength, Npp32f nLevel)

32-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64f_Ctx(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64f(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel)

64-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64f_I_Ctx(Npp64f *pSrcDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64f_I(Npp64f *pSrcDst, int nLength, Npp64f nLevel)

64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64fc_Ctx(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64fc(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel)

64-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64fc_I_Ctx(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LT_64fc_I(Npp64fc *pSrcDst, int nLength, Npp64f nLevel)

64-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16s_Ctx(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16s(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel)

16-bit signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16s_I_Ctx(Npp16s *pSrcDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit in place signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16s_I(Npp16s *pSrcDst, int nLength, Npp16s nLevel)

16-bit in place signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16sc_Ctx(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16sc(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel)

16-bit signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16sc_I_Ctx(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, NppStreamContext nppStreamCtx)

16-bit in place signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_16sc_I(Npp16sc *pSrcDst, int nLength, Npp16s nLevel)

16-bit in place signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32f_Ctx(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32f(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel)

32-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32f_I_Ctx(Npp32f *pSrcDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32f_I(Npp32f *pSrcDst, int nLength, Npp32f nLevel)

32-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32fc_Ctx(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32fc(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel)

32-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32fc_I_Ctx(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, NppStreamContext nppStreamCtx)

32-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_32fc_I(Npp32fc *pSrcDst, int nLength, Npp32f nLevel)

32-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64f_Ctx(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64f(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel)

64-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64f_I_Ctx(Npp64f *pSrcDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64f_I(Npp64f *pSrcDst, int nLength, Npp64f nLevel)

64-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64fc_Ctx(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64fc(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel)

64-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64fc_I_Ctx(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, NppStreamContext nppStreamCtx)

64-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GT_64fc_I(Npp64fc *pSrcDst, int nLength, Npp64f nLevel)

64-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16s_Ctx(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, Npp16s nValue, NppStreamContext nppStreamCtx)

16-bit signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16s(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, Npp16s nValue)

16-bit signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16s_I_Ctx(Npp16s *pSrcDst, int nLength, Npp16s nLevel, Npp16s nValue, NppStreamContext nppStreamCtx)

16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16s_I(Npp16s *pSrcDst, int nLength, Npp16s nLevel, Npp16s nValue)

16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16sc_Ctx(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, Npp16sc nValue, NppStreamContext nppStreamCtx)

16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16sc(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, Npp16sc nValue)

16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16sc_I_Ctx(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, Npp16sc nValue, NppStreamContext nppStreamCtx)

16-bit in place signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_16sc_I(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, Npp16sc nValue)

16-bit in place signed short complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32f_Ctx(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, Npp32f nValue, NppStreamContext nppStreamCtx)

32-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32f(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, Npp32f nValue)

32-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32f_I_Ctx(Npp32f *pSrcDst, int nLength, Npp32f nLevel, Npp32f nValue, NppStreamContext nppStreamCtx)

32-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32f_I(Npp32f *pSrcDst, int nLength, Npp32f nLevel, Npp32f nValue)

32-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32fc_Ctx(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, Npp32fc nValue, NppStreamContext nppStreamCtx)

32-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32fc(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, Npp32fc nValue)

32-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32fc_I_Ctx(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, Npp32fc nValue, NppStreamContext nppStreamCtx)

32-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_32fc_I(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, Npp32fc nValue)

32-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64f_Ctx(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, Npp64f nValue, NppStreamContext nppStreamCtx)

64-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64f(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, Npp64f nValue)

64-bit floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64f_I_Ctx(Npp64f *pSrcDst, int nLength, Npp64f nLevel, Npp64f nValue, NppStreamContext nppStreamCtx)

64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64f_I(Npp64f *pSrcDst, int nLength, Npp64f nLevel, Npp64f nValue)

64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64fc_Ctx(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, Npp64fc nValue, NppStreamContext nppStreamCtx)

64-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64fc(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, Npp64fc nValue)

64-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64fc_I_Ctx(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, Npp64fc nValue, NppStreamContext nppStreamCtx)

64-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_LTVal_64fc_I(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, Npp64fc nValue)

64-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16s_Ctx(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, Npp16s nValue, NppStreamContext nppStreamCtx)

16-bit signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16s(const Npp16s *pSrc, Npp16s *pDst, int nLength, Npp16s nLevel, Npp16s nValue)

16-bit signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16s_I_Ctx(Npp16s *pSrcDst, int nLength, Npp16s nLevel, Npp16s nValue, NppStreamContext nppStreamCtx)

16-bit in place signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16s_I(Npp16s *pSrcDst, int nLength, Npp16s nLevel, Npp16s nValue)

16-bit in place signed short signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16sc_Ctx(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, Npp16sc nValue, NppStreamContext nppStreamCtx)

16-bit signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16sc(const Npp16sc *pSrc, Npp16sc *pDst, int nLength, Npp16s nLevel, Npp16sc nValue)

16-bit signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16sc_I_Ctx(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, Npp16sc nValue, NppStreamContext nppStreamCtx)

16-bit in place signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_16sc_I(Npp16sc *pSrcDst, int nLength, Npp16s nLevel, Npp16sc nValue)

16-bit in place signed short complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32f_Ctx(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, Npp32f nValue, NppStreamContext nppStreamCtx)

32-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32f(const Npp32f *pSrc, Npp32f *pDst, int nLength, Npp32f nLevel, Npp32f nValue)

32-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32f_I_Ctx(Npp32f *pSrcDst, int nLength, Npp32f nLevel, Npp32f nValue, NppStreamContext nppStreamCtx)

32-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32f_I(Npp32f *pSrcDst, int nLength, Npp32f nLevel, Npp32f nValue)

32-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32fc_Ctx(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, Npp32fc nValue, NppStreamContext nppStreamCtx)

32-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32fc(const Npp32fc *pSrc, Npp32fc *pDst, int nLength, Npp32f nLevel, Npp32fc nValue)

32-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32fc_I_Ctx(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, Npp32fc nValue, NppStreamContext nppStreamCtx)

32-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_32fc_I(Npp32fc *pSrcDst, int nLength, Npp32f nLevel, Npp32fc nValue)

32-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64f_Ctx(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, Npp64f nValue, NppStreamContext nppStreamCtx)

64-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64f(const Npp64f *pSrc, Npp64f *pDst, int nLength, Npp64f nLevel, Npp64f nValue)

64-bit floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64f_I_Ctx(Npp64f *pSrcDst, int nLength, Npp64f nLevel, Npp64f nValue, NppStreamContext nppStreamCtx)

64-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64f_I(Npp64f *pSrcDst, int nLength, Npp64f nLevel, Npp64f nValue)

64-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64fc_Ctx(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, Npp64fc nValue, NppStreamContext nppStreamCtx)

64-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64fc(const Npp64fc *pSrc, Npp64fc *pDst, int nLength, Npp64f nLevel, Npp64fc nValue)

64-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64fc_I_Ctx(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, Npp64fc nValue, NppStreamContext nppStreamCtx)

64-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsThreshold_GTVal_64fc_I(Npp64fc *pSrcDst, int nLength, Npp64f nLevel, Npp64fc nValue)

64-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.

Parameters
  • pSrcDstIn-Place Signal Pointer.

  • nLengthSignal Length.

  • nLevel – Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample

  • nValue – Constant value to replace source value when threshold test is true.

Returns

Signal Data Related Error Codes, Length Related Error Codes.