Signal Statistical Functions

Functions that provide global signal statistics like: sum, mean, standard deviation, min, max, etc.

Signal Min Every Or Max Every

MinEvery And MaxEvery Functions

Performs the min or max operation on the samples of a signal.

Functions

NppStatus nppsMinEvery_8u_I_Ctx(const Npp8u *pSrc, Npp8u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

8-bit in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_8u_I(const Npp8u *pSrc, Npp8u *pSrcDst, int nLength)

8-bit in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_16u_I_Ctx(const Npp16u *pSrc, Npp16u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

16-bit unsigned short integer in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_16u_I(const Npp16u *pSrc, Npp16u *pSrcDst, int nLength)

16-bit unsigned short integer in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_16s_I_Ctx(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

16-bit signed short integer in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_16s_I(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength)

16-bit signed short integer in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_32s_I_Ctx(const Npp32s *pSrc, Npp32s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

32-bit signed integer in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_32s_I(const Npp32s *pSrc, Npp32s *pSrcDst, int nLength)

32-bit signed integer in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_32f_I_Ctx(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

32-bit floating point in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_32f_I(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength)

32-bit floating point in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_64f_I_Ctx(const Npp64f *pSrc, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

64-bit floating point in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinEvery_64f_I(const Npp64f *pSrc, Npp64f *pSrcDst, int nLength)

64-bit floating point in place min value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_8u_I_Ctx(const Npp8u *pSrc, Npp8u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

8-bit in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_8u_I(const Npp8u *pSrc, Npp8u *pSrcDst, int nLength)

8-bit in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_16u_I_Ctx(const Npp16u *pSrc, Npp16u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

16-bit unsigned short integer in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_16u_I(const Npp16u *pSrc, Npp16u *pSrcDst, int nLength)

16-bit unsigned short integer in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_16s_I_Ctx(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

16-bit signed short integer in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_16s_I(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength)

16-bit signed short integer in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_32s_I_Ctx(const Npp32s *pSrc, Npp32s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

32-bit signed integer in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_32s_I(const Npp32s *pSrc, Npp32s *pSrcDst, int nLength)

32-bit signed integer in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_32f_I_Ctx(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)

32-bit floating point in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxEvery_32f_I(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength)

32-bit floating point in place max value for each pair of elements.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Sum

signal_min_every_or_max_every

Sum

Performs the sum operation on the samples of a signal.

Functions

NppStatus nppsSumGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_32fc_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_32fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_32fc(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_32fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_64fc_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_64fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_64fc(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_64fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16sc_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_16sc_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16sc_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_16sc_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16sc32sc_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_16sc32sc_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16sc32sc_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_16sc32sc_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_32s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16s32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsSum_16s32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSumGetBufferSize_16s32s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsSum_16s32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsSum_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pSum, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_32f(const Npp32f *pSrc, int nLength, Npp32f *pSum, Npp8u *pDeviceBuffer)

32-bit float vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_32fc_Ctx(const Npp32fc *pSrc, int nLength, Npp32fc *pSum, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float complex vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_32fc(const Npp32fc *pSrc, int nLength, Npp32fc *pSum, Npp8u *pDeviceBuffer)

32-bit float complex vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pSum, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit double vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_64f(const Npp64f *pSrc, int nLength, Npp64f *pSum, Npp8u *pDeviceBuffer)

64-bit double vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_64fc_Ctx(const Npp64fc *pSrc, int nLength, Npp64fc *pSum, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit double complex vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_64fc(const Npp64fc *pSrc, int nLength, Npp64fc *pSum, Npp8u *pDeviceBuffer)

64-bit double complex vector sum method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pSum, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit short vector sum with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16s_Sfs(const Npp16s *pSrc, int nLength, Npp16s *pSum, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit short vector sum with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_32s_Sfs_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pSum, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector sum with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_32s_Sfs(const Npp32s *pSrc, int nLength, Npp32s *pSum, int nScaleFactor, Npp8u *pDeviceBuffer)

32-bit integer vector sum with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16sc_Sfs_Ctx(const Npp16sc *pSrc, int nLength, Npp16sc *pSum, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit short complex vector sum with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16sc_Sfs(const Npp16sc *pSrc, int nLength, Npp16sc *pSum, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit short complex vector sum with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16sc32sc_Sfs_Ctx(const Npp16sc *pSrc, int nLength, Npp32sc *pSum, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit short complex vector sum (32bit int complex) with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16sc32sc_Sfs(const Npp16sc *pSrc, int nLength, Npp32sc *pSum, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit short complex vector sum (32bit int complex) with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16s32s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp32s *pSum, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector sum (32bit) with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsSum_16s32s_Sfs(const Npp16s *pSrc, int nLength, Npp32s *pSum, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit integer vector sum (32bit) with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Maximum

Maximum

Performs the maximum operation on the samples of a signal.

Functions

NppStatus nppsMaxGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMax_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMax_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMax_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMax_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMax_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMax_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMax_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMax_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMax_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMax_16s(const Npp16s *pSrc, int nLength, Npp16s *pMax, Npp8u *pDeviceBuffer)

16-bit integer vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMax_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMax_32s(const Npp32s *pSrc, int nLength, Npp32s *pMax, Npp8u *pDeviceBuffer)

32-bit integer vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMax_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMax_32f(const Npp32f *pSrc, int nLength, Npp32f *pMax, Npp8u *pDeviceBuffer)

32-bit float vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMax_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMax_64f(const Npp64f *pSrc, int nLength, Npp64f *pMax, Npp8u *pDeviceBuffer)

64-bit float vector max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndxGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndxGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndxGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndxGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndxGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxIndx_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndxGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxIndx_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndxGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxIndx_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndxGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxIndx_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxIndx_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMax, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndx_16s(const Npp16s *pSrc, int nLength, Npp16s *pMax, int *pIndx, Npp8u *pDeviceBuffer)

16-bit integer vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndx_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMax, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndx_32s(const Npp32s *pSrc, int nLength, Npp32s *pMax, int *pIndx, Npp8u *pDeviceBuffer)

32-bit integer vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndx_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMax, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndx_32f(const Npp32f *pSrc, int nLength, Npp32f *pMax, int *pIndx, Npp8u *pDeviceBuffer)

32-bit integer vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndx_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMax, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxIndx_64f(const Npp64f *pSrc, int nLength, Npp64f *pMax, int *pIndx, Npp8u *pDeviceBuffer)

64-bit float vector max index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbsGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxAbs_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbsGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxAbs_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbsGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxAbs_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbsGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxAbs_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbs_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMaxAbs, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector max absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbs_16s(const Npp16s *pSrc, int nLength, Npp16s *pMaxAbs, Npp8u *pDeviceBuffer)

16-bit integer vector max absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbs_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMaxAbs, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector max absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbs_32s(const Npp32s *pSrc, int nLength, Npp32s *pMaxAbs, Npp8u *pDeviceBuffer)

32-bit integer vector max absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbsIndxGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxAbsIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbsIndxGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxAbsIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbsIndxGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMaxAbsIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbsIndxGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMaxAbsIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMaxAbsIndx_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMaxAbs, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector max absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbsIndx_16s(const Npp16s *pSrc, int nLength, Npp16s *pMaxAbs, int *pIndx, Npp8u *pDeviceBuffer)

16-bit integer vector max absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbsIndx_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMaxAbs, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector max absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMaxAbsIndx_32s(const Npp32s *pSrc, int nLength, Npp32s *pMaxAbs, int *pIndx, Npp8u *pDeviceBuffer)

32-bit integer vector max absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Minimum

Minimum

Performs the minimum operation on the samples of a signal.

Functions

NppStatus nppsMinGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMin_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMin_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMin_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMin_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMin_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMin_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMin_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMin_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMin_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMin, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMin_16s(const Npp16s *pSrc, int nLength, Npp16s *pMin, Npp8u *pDeviceBuffer)

16-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMin_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMin, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMin_32s(const Npp32s *pSrc, int nLength, Npp32s *pMin, Npp8u *pDeviceBuffer)

32-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMin_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMin, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMin_32f(const Npp32f *pSrc, int nLength, Npp32f *pMin, Npp8u *pDeviceBuffer)

32-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMin_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMin, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMin_64f(const Npp64f *pSrc, int nLength, Npp64f *pMin, Npp8u *pDeviceBuffer)

64-bit integer vector min method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndxGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndxGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndxGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndxGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndxGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinIndx_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndxGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinIndx_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndxGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinIndx_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndxGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinIndx_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinIndx_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMin, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndx_16s(const Npp16s *pSrc, int nLength, Npp16s *pMin, int *pIndx, Npp8u *pDeviceBuffer)

16-bit integer vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndx_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMin, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndx_32s(const Npp32s *pSrc, int nLength, Npp32s *pMin, int *pIndx, Npp8u *pDeviceBuffer)

32-bit integer vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndx_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMin, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndx_32f(const Npp32f *pSrc, int nLength, Npp32f *pMin, int *pIndx, Npp8u *pDeviceBuffer)

32-bit float vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndx_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMin, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinIndx_64f(const Npp64f *pSrc, int nLength, Npp64f *pMin, int *pIndx, Npp8u *pDeviceBuffer)

64-bit float vector min index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbsGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinAbs_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbsGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinAbs_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbsGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinAbs_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbsGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinAbs_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbs_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMinAbs, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector min absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbs_16s(const Npp16s *pSrc, int nLength, Npp16s *pMinAbs, Npp8u *pDeviceBuffer)

16-bit integer vector min absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbs_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMinAbs, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector min absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbs_32s(const Npp32s *pSrc, int nLength, Npp32s *pMinAbs, Npp8u *pDeviceBuffer)

32-bit integer vector min absolute method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbsIndxGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinAbsIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbsIndxGetBufferSize_16s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinAbsIndx_16s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbsIndxGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMinAbsIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbsIndxGetBufferSize_32s(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMinAbsIndx_32s.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMinAbsIndx_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMinAbs, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit integer vector min absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbsIndx_16s(const Npp16s *pSrc, int nLength, Npp16s *pMinAbs, int *pIndx, Npp8u *pDeviceBuffer)

16-bit integer vector min absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbsIndx_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMinAbs, int *pIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector min absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinAbsIndx_32s(const Npp32s *pSrc, int nLength, Npp32s *pMinAbs, int *pIndx, Npp8u *pDeviceBuffer)

32-bit integer vector min absolute index method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Mean

Mean

Performs the mean operation on the samples of a signal.

Functions

NppStatus nppsMeanGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMean_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMean_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_32fc_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMean_32fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_32fc(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMean_32fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMean_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMean_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_64fc_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMean_64fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_64fc(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMean_64fc.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_16s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMean_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_16s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMean_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMean_32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_32s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMean_32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_16sc_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMean_16sc_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanGetBufferSize_16sc_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMean_16sc_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMean_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMean, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_32f(const Npp32f *pSrc, int nLength, Npp32f *pMean, Npp8u *pDeviceBuffer)

32-bit float vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_32fc_Ctx(const Npp32fc *pSrc, int nLength, Npp32fc *pMean, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float complex vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_32fc(const Npp32fc *pSrc, int nLength, Npp32fc *pMean, Npp8u *pDeviceBuffer)

32-bit float complex vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMean, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit double vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_64f(const Npp64f *pSrc, int nLength, Npp64f *pMean, Npp8u *pDeviceBuffer)

64-bit double vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_64fc_Ctx(const Npp64fc *pSrc, int nLength, Npp64fc *pMean, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit double complex vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_64fc(const Npp64fc *pSrc, int nLength, Npp64fc *pMean, Npp8u *pDeviceBuffer)

64-bit double complex vector mean method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_16s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMean, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit short vector mean with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_16s_Sfs(const Npp16s *pSrc, int nLength, Npp16s *pMean, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit short vector mean with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_32s_Sfs_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMean, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit integer vector mean with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_32s_Sfs(const Npp32s *pSrc, int nLength, Npp32s *pMean, int nScaleFactor, Npp8u *pDeviceBuffer)

32-bit integer vector mean with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_16sc_Sfs_Ctx(const Npp16sc *pSrc, int nLength, Npp16sc *pMean, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit short complex vector mean with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMean_16sc_Sfs(const Npp16sc *pSrc, int nLength, Npp16sc *pMean, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit short complex vector mean with integer scaling method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal StdDev

Standard Deviation

Calculates the standard deviation for the samples of a signal.

Functions

NppStatus nppsStdDevGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsStdDev_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDevGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsStdDev_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDevGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsStdDev_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDevGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsStdDev_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDevGetBufferSize_16s32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsStdDev_16s32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDevGetBufferSize_16s32s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsStdDev_16s32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDevGetBufferSize_16s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsStdDev_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDevGetBufferSize_16s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsStdDev_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsStdDev_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pStdDev, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsStdDev_32f(const Npp32f *pSrc, int nLength, Npp32f *pStdDev, Npp8u *pDeviceBuffer)

32-bit float vector standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsStdDev_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pStdDev, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsStdDev_64f(const Npp64f *pSrc, int nLength, Npp64f *pStdDev, Npp8u *pDeviceBuffer)

64-bit float vector standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsStdDev_16s32s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp32s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit float vector standard deviation method (return value is 32-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsStdDev_16s32s_Sfs(const Npp16s *pSrc, int nLength, Npp32s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit float vector standard deviation method (return value is 32-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsStdDev_16s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit float vector standard deviation method (return value is also 16-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsStdDev_16s_Sfs(const Npp16s *pSrc, int nLength, Npp16s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit float vector standard deviation method (return value is also 16-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Mean And StdDev

Mean And Standard Deviation

Performs the mean and calculates the standard deviation for the samples of a signal.

Functions

NppStatus nppsMeanStdDevGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMeanStdDev_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDevGetBufferSize_32f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMeanStdDev_32f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDevGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMeanStdDev_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDevGetBufferSize_64f(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMeanStdDev_64f.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDevGetBufferSize_16s32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMeanStdDev_16s32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDevGetBufferSize_16s32s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMeanStdDev_16s32s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDevGetBufferSize_16s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device scratch buffer size (in bytes) for nppsMeanStdDev_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDevGetBufferSize_16s_Sfs(int nLength, int *hpBufferSize)

Device scratch buffer size (in bytes) for nppsMeanStdDev_16s_Sfs.

Parameters
Returns

NPP_SUCCESS

NppStatus nppsMeanStdDev_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMean, Npp32f *pStdDev, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector mean and standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMeanStdDev_32f(const Npp32f *pSrc, int nLength, Npp32f *pMean, Npp32f *pStdDev, Npp8u *pDeviceBuffer)

32-bit float vector mean and standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMeanStdDev_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMean, Npp64f *pStdDev, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector mean and standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMeanStdDev_64f(const Npp64f *pSrc, int nLength, Npp64f *pMean, Npp64f *pStdDev, Npp8u *pDeviceBuffer)

64-bit float vector mean and standard deviation method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMeanStdDev_16s32s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp32s *pMean, Npp32s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit float vector mean and standard deviation method (return values are 32-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMeanStdDev_16s32s_Sfs(const Npp16s *pSrc, int nLength, Npp32s *pMean, Npp32s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit float vector mean and standard deviation method (return values are 32-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMeanStdDev_16s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMean, Npp16s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit float vector mean and standard deviation method (return values are also 16-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMeanStdDev_16s_Sfs(const Npp16s *pSrc, int nLength, Npp16s *pMean, Npp16s *pStdDev, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit float vector mean and standard deviation method (return values are also 16-bit)

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal MinMax

Minimum Maximum

Performs the maximum and the minimum operation on the samples of a signal.

Functions

NppStatus nppsMinMaxGetBufferSize_8u_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMax_8u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_8u(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMax_8u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMax_16s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_16s(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMax_16s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_16u_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMax_16u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_16u(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMax_16u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMax_32s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_32s(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMax_32s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_32u_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMax_32u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_32u(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMax_32u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMax_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMax_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMax_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxGetBufferSize_64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMax_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMax_8u_Ctx(const Npp8u *pSrc, int nLength, Npp8u *pMin, Npp8u *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

8-bit char vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_8u(const Npp8u *pSrc, int nLength, Npp8u *pMin, Npp8u *pMax, Npp8u *pDeviceBuffer)

8-bit char vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMin, Npp16s *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_16s(const Npp16s *pSrc, int nLength, Npp16s *pMin, Npp16s *pMax, Npp8u *pDeviceBuffer)

16-bit signed short vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_16u_Ctx(const Npp16u *pSrc, int nLength, Npp16u *pMin, Npp16u *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit unsigned short vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_16u(const Npp16u *pSrc, int nLength, Npp16u *pMin, Npp16u *pMax, Npp8u *pDeviceBuffer)

16-bit unsigned short vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_32u_Ctx(const Npp32u *pSrc, int nLength, Npp32u *pMin, Npp32u *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit unsigned int vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_32u(const Npp32u *pSrc, int nLength, Npp32u *pMin, Npp32u *pMax, Npp8u *pDeviceBuffer)

32-bit unsigned int vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMin, Npp32s *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit signed int vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_32s(const Npp32s *pSrc, int nLength, Npp32s *pMin, Npp32s *pMax, Npp8u *pDeviceBuffer)

32-bit signed int vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMin, Npp32f *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_32f(const Npp32f *pSrc, int nLength, Npp32f *pMin, Npp32f *pMax, Npp8u *pDeviceBuffer)

32-bit float vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMin, Npp64f *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit double vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMax_64f(const Npp64f *pSrc, int nLength, Npp64f *pMin, Npp64f *pMax, Npp8u *pDeviceBuffer)

64-bit double vector min and max method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndxGetBufferSize_8u_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMaxIndx_8u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_8u(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMaxIndx_8u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_16s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMaxIndx_16s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_16s(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMaxIndx_16s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_16u_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMaxIndx_16u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_16u(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMaxIndx_16u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_32s_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMaxIndx_32s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_32s(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMaxIndx_32s.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_32u_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMaxIndx_32u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_32u(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMaxIndx_32u.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMaxIndx_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMaxIndx_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsMinMaxIndx_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndxGetBufferSize_64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsMinMaxIndx_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsMinMaxIndx_8u_Ctx(const Npp8u *pSrc, int nLength, Npp8u *pMin, int *pMinIndx, Npp8u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

8-bit char vector min and max with indices method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pMin – Pointer to the min output result.

  • pMinIndx – Pointer to the index of the first min value.

  • pMax – Pointer to the max output result.

  • pMaxIndx – Pointer to the index of the first max value.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_8u to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_8u(const Npp8u *pSrc, int nLength, Npp8u *pMin, int *pMinIndx, Npp8u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)

8-bit char vector min and max with indices method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_16s_Ctx(const Npp16s *pSrc, int nLength, Npp16s *pMin, int *pMinIndx, Npp16s *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short vector min and max with indices method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pMin – Pointer to the min output result.

  • pMinIndx – Pointer to the index of the first min value.

  • pMax – Pointer to the max output result.

  • pMaxIndx – Pointer to the index of the first max value.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_16s to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_16s(const Npp16s *pSrc, int nLength, Npp16s *pMin, int *pMinIndx, Npp16s *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)

16-bit signed short vector min and max with indices method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_16u_Ctx(const Npp16u *pSrc, int nLength, Npp16u *pMin, int *pMinIndx, Npp16u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit unsigned short vector min and max with indices method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pMin – Pointer to the min output result.

  • pMinIndx – Pointer to the index of the first min value.

  • pMax – Pointer to the max output result.

  • pMaxIndx – Pointer to the index of the first max value.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_16u to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_16u(const Npp16u *pSrc, int nLength, Npp16u *pMin, int *pMinIndx, Npp16u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)

16-bit unsigned short vector min and max with indices method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_32s_Ctx(const Npp32s *pSrc, int nLength, Npp32s *pMin, int *pMinIndx, Npp32s *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit signed short vector min and max with indices method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pMin – Pointer to the min output result.

  • pMinIndx – Pointer to the index of the first min value.

  • pMax – Pointer to the max output result.

  • pMaxIndx – Pointer to the index of the first max value.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_32s to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_32s(const Npp32s *pSrc, int nLength, Npp32s *pMin, int *pMinIndx, Npp32s *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)

32-bit signed short vector min and max with indices method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_32u_Ctx(const Npp32u *pSrc, int nLength, Npp32u *pMin, int *pMinIndx, Npp32u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit unsigned short vector min and max with indices method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pMin – Pointer to the min output result.

  • pMinIndx – Pointer to the index of the first min value.

  • pMax – Pointer to the max output result.

  • pMaxIndx – Pointer to the index of the first max value.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_32u to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_32u(const Npp32u *pSrc, int nLength, Npp32u *pMin, int *pMinIndx, Npp32u *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)

32-bit unsigned short vector min and max with indices method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pMin, int *pMinIndx, Npp32f *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector min and max with indices method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pMin – Pointer to the min output result.

  • pMinIndx – Pointer to the index of the first min value.

  • pMax – Pointer to the max output result.

  • pMaxIndx – Pointer to the index of the first max value.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_32f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_32f(const Npp32f *pSrc, int nLength, Npp32f *pMin, int *pMinIndx, Npp32f *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)

32-bit float vector min and max with indices method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pMin, int *pMinIndx, Npp64f *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector min and max with indices method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pMin – Pointer to the min output result.

  • pMinIndx – Pointer to the index of the first min value.

  • pMax – Pointer to the max output result.

  • pMaxIndx – Pointer to the index of the first max value.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsMinMaxIndxGetBufferSize_64f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsMinMaxIndx_64f(const Npp64f *pSrc, int nLength, Npp64f *pMin, int *pMinIndx, Npp64f *pMax, int *pMaxIndx, Npp8u *pDeviceBuffer)

64-bit float vector min and max with indices method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Norms

Signal Norm Inf

Infinity Norm

Performs the infinity norm on the samples of a signal.

Functions

NppStatus nppsNormInfGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_Inf_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormInfGetBufferSize_32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_Inf_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_Inf_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector C norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_Inf_32f(const Npp32f *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

32-bit float vector C norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormInfGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_Inf_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormInfGetBufferSize_64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_Inf_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_Inf_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector C norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_Inf_64f(const Npp64f *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float vector C norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormInfGetBufferSize_16s32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_Inf_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormInfGetBufferSize_16s32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_Inf_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_Inf_16s32f_Ctx(const Npp16s *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector C norm method, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_Inf_16s32f(const Npp16s *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

16-bit signed short integer vector C norm method, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormInfGetBufferSize_32fc32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_Inf_32fc32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormInfGetBufferSize_32fc32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_Inf_32fc32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_Inf_32fc32f_Ctx(const Npp32fc *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float complex vector C norm method, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_Inf_32fc32f(const Npp32fc *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

32-bit float complex vector C norm method, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormInfGetBufferSize_64fc64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_Inf_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormInfGetBufferSize_64fc64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_Inf_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_Inf_64fc64f_Ctx(const Npp64fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float complex vector C norm method, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_Inf_64fc64f(const Npp64fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float complex vector C norm method, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormInfGetBufferSize_16s32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_Inf_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormInfGetBufferSize_16s32s_Sfs(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_Inf_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_Inf_16s32s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector C norm method, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_Inf_16s32s_Sfs(const Npp16s *pSrc, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit signed short integer vector C norm method, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Norm L1

L1 Norm

Performs the L1 norm on the samples of a signal.

Functions

NppStatus nppsNormL1GetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L1_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL1GetBufferSize_32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L1_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L1_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector L1 norm method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL1GetBufferSize_32f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L1_32f(const Npp32f *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

32-bit float vector L1 norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL1GetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L1_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL1GetBufferSize_64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L1_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L1_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector L1 norm method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL1GetBufferSize_64f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L1_64f(const Npp64f *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float vector L1 norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL1GetBufferSize_16s32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L1_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL1GetBufferSize_16s32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L1_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L1_16s32f_Ctx(const Npp16s *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector L1 norm method, return value is 32-bit float.

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the L1 norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL1GetBufferSize_16s32f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L1_16s32f(const Npp16s *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

16-bit signed short integer vector L1 norm method, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL1GetBufferSize_32fc64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L1_32fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL1GetBufferSize_32fc64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L1_32fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L1_32fc64f_Ctx(const Npp32fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float complex vector L1 norm method, return value is 64-bit float.

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL1GetBufferSize_32fc64f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L1_32fc64f(const Npp32fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

32-bit float complex vector L1 norm method, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL1GetBufferSize_64fc64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L1_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL1GetBufferSize_64fc64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L1_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L1_64fc64f_Ctx(const Npp64fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float complex vector L1 norm method, return value is 64-bit float.

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL1GetBufferSize_64fc64f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L1_64fc64f(const Npp64fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float complex vector L1 norm method, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL1GetBufferSize_16s32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L1_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL1GetBufferSize_16s32s_Sfs(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L1_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L1_16s32s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector L1 norm method, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L1_16s32s_Sfs(const Npp16s *pSrc, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit signed short integer vector L1 norm method, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL1GetBufferSize_16s64s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L1_16s64s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL1GetBufferSize_16s64s_Sfs(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L1_16s64s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L1_16s64s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp64s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector L1 norm method, return value is 64-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L1_16s64s_Sfs(const Npp16s *pSrc, int nLength, Npp64s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit signed short integer vector L1 norm method, return value is 64-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Norm L2

L2 Norm

Performs the L2 norm on the samples of a signal.

Functions

NppStatus nppsNormL2GetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L2_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL2GetBufferSize_32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L2_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L2_32f_Ctx(const Npp32f *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float vector L2 norm method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL2GetBufferSize_32f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L2_32f(const Npp32f *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

32-bit float vector L2 norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL2GetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L2_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL2GetBufferSize_64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L2_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L2_64f_Ctx(const Npp64f *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float vector L2 norm method

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL2GetBufferSize_64f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L2_64f(const Npp64f *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float vector L2 norm method

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL2GetBufferSize_16s32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L2_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL2GetBufferSize_16s32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L2_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L2_16s32f_Ctx(const Npp16s *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector L2 norm method, return value is 32-bit float.

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL2GetBufferSize_16s32f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L2_16s32f(const Npp16s *pSrc, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

16-bit signed short integer vector L2 norm method, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL2GetBufferSize_32fc64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L2_32fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL2GetBufferSize_32fc64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L2_32fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L2_32fc64f_Ctx(const Npp32fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float complex vector L2 norm method, return value is 64-bit float.

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL2GetBufferSize_32fc64f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L2_32fc64f(const Npp32fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

32-bit float complex vector L2 norm method, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL2GetBufferSize_64fc64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L2_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL2GetBufferSize_64fc64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L2_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L2_64fc64f_Ctx(const Npp64fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float complex vector L2 norm method, return value is 64-bit float.

Parameters
  • pSrcSource Signal Pointer.

  • nLengthSignal Length.

  • pNorm – Pointer to the norm result.

  • pDeviceBuffer – Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppsNormL2GetBufferSize_64fc64f to determine the minium number of bytes required.

  • nppStreamCtx – Application Managed Stream Context.

Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L2_64fc64f(const Npp64fc *pSrc, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float complex vector L2 norm method, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL2GetBufferSize_16s32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L2_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL2GetBufferSize_16s32s_Sfs(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L2_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L2_16s32s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector L2 norm method, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L2_16s32s_Sfs(const Npp16s *pSrc, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit signed short integer vector L2 norm method, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormL2SqrGetBufferSize_16s64s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNorm_L2Sqr_16s64s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormL2SqrGetBufferSize_16s64s_Sfs(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNorm_L2Sqr_16s64s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNorm_L2Sqr_16s64s_Sfs_Ctx(const Npp16s *pSrc, int nLength, Npp64s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer vector L2 Square norm method, return value is 64-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNorm_L2Sqr_16s64s_Sfs(const Npp16s *pSrc, int nLength, Npp64s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit signed short integer vector L2 Square norm method, return value is 64-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Norm Inf NormDiff

Infinity Norm Diff

Performs the infinity norm on the samples of two input signals’ difference.

Functions

NppStatus nppsNormDiffInfGetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNormDiff_Inf_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormDiffInfGetBufferSize_32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNormDiff_Inf_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNormDiff_Inf_32f_Ctx(const Npp32f *pSrc1, const Npp32f *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float C norm method on two vectors’ difference

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiff_Inf_32f(const Npp32f *pSrc1, const Npp32f *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

32-bit float C norm method on two vectors’ difference

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiffInfGetBufferSize_64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNormDiff_Inf_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormDiffInfGetBufferSize_64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNormDiff_Inf_64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNormDiff_Inf_64f_Ctx(const Npp64f *pSrc1, const Npp64f *pSrc2, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float C norm method on two vectors’ difference

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiff_Inf_64f(const Npp64f *pSrc1, const Npp64f *pSrc2, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float C norm method on two vectors’ difference

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiffInfGetBufferSize_16s32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNormDiff_Inf_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormDiffInfGetBufferSize_16s32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNormDiff_Inf_16s32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNormDiff_Inf_16s32f_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer C norm method on two vectors’ difference, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiff_Inf_16s32f(const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

16-bit signed short integer C norm method on two vectors’ difference, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiffInfGetBufferSize_32fc32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNormDiff_Inf_32fc32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormDiffInfGetBufferSize_32fc32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNormDiff_Inf_32fc32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNormDiff_Inf_32fc32f_Ctx(const Npp32fc *pSrc1, const Npp32fc *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float complex C norm method on two vectors’ difference, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiff_Inf_32fc32f(const Npp32fc *pSrc1, const Npp32fc *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer)

32-bit float complex C norm method on two vectors’ difference, return value is 32-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiffInfGetBufferSize_64fc64f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNormDiff_Inf_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormDiffInfGetBufferSize_64fc64f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNormDiff_Inf_64fc64f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNormDiff_Inf_64fc64f_Ctx(const Npp64fc *pSrc1, const Npp64fc *pSrc2, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

64-bit float complex C norm method on two vectors’ difference, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiff_Inf_64fc64f(const Npp64fc *pSrc1, const Npp64fc *pSrc2, int nLength, Npp64f *pNorm, Npp8u *pDeviceBuffer)

64-bit float complex C norm method on two vectors’ difference, return value is 64-bit float.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiffInfGetBufferSize_16s32s_Sfs_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNormDiff_Inf_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormDiffInfGetBufferSize_16s32s_Sfs(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNormDiff_Inf_16s32s_Sfs.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNormDiff_Inf_16s32s_Sfs_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

16-bit signed short integer C norm method on two vectors’ difference, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

NppStatus nppsNormDiff_Inf_16s32s_Sfs(const Npp16s *pSrc1, const Npp16s *pSrc2, int nLength, Npp32s *pNorm, int nScaleFactor, Npp8u *pDeviceBuffer)

16-bit signed short integer C norm method on two vectors’ difference, return value is 32-bit signed integer.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Norm L1 NormDiff

L1 Norm Diff

Performs the L1 norm on the samples of two input signals’ difference.

Functions

NppStatus nppsNormDiffL1GetBufferSize_32f_Ctx(int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)

Device-buffer size (in bytes) for nppsNormDiff_L1_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

  • nppStreamCtx – Application Managed Stream Context.

Returns

NPP_SUCCESS

NppStatus nppsNormDiffL1GetBufferSize_32f(int nLength, int *hpBufferSize)

Device-buffer size (in bytes) for nppsNormDiff_L1_32f.

Parameters
  • nLengthSignal Length.

  • hpBufferSize – Required buffer size. Important: hpBufferSize is a host pointer.

Returns

NPP_SUCCESS

NppStatus nppsNormDiff_L1_32f_Ctx(const Npp32f *pSrc1, const Npp32f *pSrc2, int nLength, Npp32f *pNorm, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

32-bit float L1 norm method on two vectors’ difference

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.