Signal Arithmetic And Logical Operations
Functions that provide common arithmetic and logical operations.
Signal Arithmetic Functions
Arithmetic Operations
The set of arithmetic operations for signal processing available in the library.
Signal AddC
AddC
Adds a constant value to each sample of a signal.
Functions
-
NppStatus nppsAddC_8u_ISfs_Ctx(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char in place signal add constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_8u_ISfs(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor)
8-bit unsigned char in place signal add constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_8u_Sfs_Ctx(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned charvector add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_8u_Sfs(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor)
8-bit unsigned charvector add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16u_ISfs_Ctx(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short in place signal add constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16u_ISfs(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor)
16-bit unsigned short in place signal add constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16u_Sfs_Ctx(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short vector add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16u_Sfs(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor)
16-bit unsigned short vector add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16s_ISfs_Ctx(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short in place signal add constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16s_ISfs(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor)
16-bit signed short in place signal add constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16s_Sfs_Ctx(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16s_Sfs(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16sc_ISfs_Ctx(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal add constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16sc_ISfs(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal add constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16sc_Sfs_Ctx(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_16sc_Sfs(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal add constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32s_ISfs_Ctx(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer in place signal add constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32s_ISfs(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor)
32-bit signed integer in place signal add constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32s_Sfs_Ctx(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integersignal add constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32s_Sfs(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed integersignal add constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32sc_ISfs_Ctx(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal add constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32sc_ISfs(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal add constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32sc_Sfs_Ctx(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary) signal add constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32sc_Sfs(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary) signal add constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32f_I_Ctx(Npp32f nValue, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32f_I(Npp32f nValue, Npp32f *pSrcDst, int nLength)
32-bit floating point in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32f_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32f(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
32-bit floating point signal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32fc_I_Ctx(Npp32fc nValue, Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32fc_I(Npp32fc nValue, Npp32fc *pSrcDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32fc_Ctx(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_32fc(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength)
64-bit floating point, in place signal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Length of the vectors, number of items.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64f_I_Ctx(Npp64f nValue, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point, in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Length of the vectors, number of items.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64f_I(Npp64f nValue, Npp64f *pSrcDst, int nLength)
64-bit floating point, in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Length of the vectors, number of items.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64f_Ctx(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating pointsignal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64f(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength)
64-bit floating pointsignal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64fc_I_Ctx(Npp64fc nValue, Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64fc_I(Npp64fc nValue, Npp64fc *pSrcDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal add constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be added to each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64fc_Ctx(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddC_64fc(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal add constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be added to each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal AddProductC
AddProductC
Adds product of a constant and each sample of a source signal to the each sample of destination signal.
Functions
-
NppStatus nppsAddProductC_32f_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal add product of signal times constant to destination signal.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProductC_32f(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
32-bit floating point signal add product of signal times constant to destination signal.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal MulC
MulC
Multiplies each sample of a signal by a constant value.
Functions
-
NppStatus nppsMulC_8u_ISfs_Ctx(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char in place signal times constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_8u_ISfs(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor)
8-bit unsigned char in place signal times constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_8u_Sfs_Ctx(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_8u_Sfs(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor)
8-bit unsigned char signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16u_ISfs_Ctx(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short in place signal times constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16u_ISfs(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor)
16-bit unsigned short in place signal times constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16u_Sfs_Ctx(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16u_Sfs(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor)
16-bit unsigned short signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16s_ISfs_Ctx(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short in place signal times constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16s_ISfs(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor)
16-bit signed short in place signal times constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16s_Sfs_Ctx(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16s_Sfs(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16sc_ISfs_Ctx(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16sc_ISfs(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16sc_Sfs_Ctx(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_16sc_Sfs(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32s_ISfs_Ctx(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer in place signal times constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32s_ISfs(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor)
32-bit signed integer in place signal times constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32s_Sfs_Ctx(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer signal times constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32s_Sfs(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed integer signal times constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32sc_ISfs_Ctx(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal times constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32sc_ISfs(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal times constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32sc_Sfs_Ctx(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary) signal times constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32sc_Sfs(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary) signal times constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32f_I_Ctx(Npp32f nValue, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32f_I(Npp32f nValue, Npp32f *pSrcDst, int nLength)
32-bit floating point in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32f_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32f(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
32-bit floating point signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_Low_32f16s_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal times constant with output converted to 16-bit signed integer.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_Low_32f16s(const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength)
32-bit floating point signal times constant with output converted to 16-bit signed integer.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32f16s_Sfs_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit floating point signal times constant with output converted to 16-bit signed integer with scaling and saturation of output result.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nScaleFactor – Integer Result Scaling.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32f16s_Sfs(const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength, int nScaleFactor)
32-bit floating point signal times constant with output converted to 16-bit signed integer with scaling and saturation of output result.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nScaleFactor – Integer Result Scaling.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32fc_I_Ctx(Npp32fc nValue, Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32fc_I(Npp32fc nValue, Npp32fc *pSrcDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32fc_Ctx(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_32fc(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64f_I_Ctx(Npp64f nValue, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point, in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Length of the vectors, number of items.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64f_I(Npp64f nValue, Npp64f *pSrcDst, int nLength)
64-bit floating point, in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Length of the vectors, number of items.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64f_Ctx(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64f(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength)
64-bit floating point signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64f64s_ISfs_Ctx(Npp64f nValue, Npp64s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
64-bit floating point signal times constant with in place conversion to 64-bit signed integer and with scaling and saturation of output result.
- Parameters
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64f64s_ISfs(Npp64f nValue, Npp64s *pDst, int nLength, int nScaleFactor)
64-bit floating point signal times constant with in place conversion to 64-bit signed integer and with scaling and saturation of output result.
- Parameters
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64fc_I_Ctx(Npp64fc nValue, Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64fc_I(Npp64fc nValue, Npp64fc *pSrcDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal times constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be multiplied by each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64fc_Ctx(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMulC_64fc(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal times constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be multiplied by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal SubC
SubC
Subtracts a constant from each sample of a signal.
Functions
-
NppStatus nppsSubC_8u_ISfs_Ctx(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char in place signal subtract constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_8u_ISfs(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor)
8-bit unsigned char in place signal subtract constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_8u_Sfs_Ctx(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_8u_Sfs(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor)
8-bit unsigned char signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16u_ISfs_Ctx(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short in place signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16u_ISfs(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor)
16-bit unsigned short in place signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16u_Sfs_Ctx(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16u_Sfs(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor)
16-bit unsigned short signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16s_ISfs_Ctx(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short in place signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16s_ISfs(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor)
16-bit signed short in place signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16s_Sfs_Ctx(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16s_Sfs(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16sc_ISfs_Ctx(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16sc_ISfs(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16sc_Sfs_Ctx(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_16sc_Sfs(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32s_ISfs_Ctx(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer in place signal subtract constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32s_ISfs(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor)
32-bit signed integer in place signal subtract constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32s_Sfs_Ctx(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer signal subtract constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32s_Sfs(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed integer signal subtract constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32sc_ISfs_Ctx(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal subtract constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32sc_ISfs(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal subtract constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32sc_Sfs_Ctx(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary)signal subtract constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32sc_Sfs(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary)signal subtract constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32f_I_Ctx(Npp32f nValue, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32f_I(Npp32f nValue, Npp32f *pSrcDst, int nLength)
32-bit floating point in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32f_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32f(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
32-bit floating point signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32fc_I_Ctx(Npp32fc nValue, Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32fc_I(Npp32fc nValue, Npp32fc *pSrcDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32fc_Ctx(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_32fc(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64f_I_Ctx(Npp64f nValue, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point, in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Length of the vectors, number of items.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64f_I(Npp64f nValue, Npp64f *pSrcDst, int nLength)
64-bit floating point, in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Length of the vectors, number of items.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64f_Ctx(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64f(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength)
64-bit floating point signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64fc_I_Ctx(Npp64fc nValue, Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64fc_I(Npp64fc nValue, Npp64fc *pSrcDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal subtract constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be subtracted from each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64fc_Ctx(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubC_64fc(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal subtract constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be subtracted from each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal SubCRev
SubCRev
Subtracts each sample of a signal from a constant.
Functions
-
NppStatus nppsSubCRev_8u_ISfs_Ctx(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char in place signal subtract from constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_8u_ISfs(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor)
8-bit unsigned char in place signal subtract from constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_8u_Sfs_Ctx(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_8u_Sfs(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor)
8-bit unsigned char signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16u_ISfs_Ctx(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short in place signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16u_ISfs(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor)
16-bit unsigned short in place signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16u_Sfs_Ctx(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16u_Sfs(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor)
16-bit unsigned short signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16s_ISfs_Ctx(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short in place signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16s_ISfs(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor)
16-bit signed short in place signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16s_Sfs_Ctx(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16s_Sfs(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16sc_ISfs_Ctx(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16sc_ISfs(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16sc_Sfs_Ctx(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_16sc_Sfs(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal subtract from constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32s_ISfs_Ctx(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer in place signal subtract from constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32s_ISfs(Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor)
32-bit signed integer in place signal subtract from constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32s_Sfs_Ctx(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integersignal subtract from constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32s_Sfs(const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed integersignal subtract from constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32sc_ISfs_Ctx(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32sc_ISfs(Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant and scale.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32sc_Sfs_Ctx(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit integer complex number (32 bit real, 32 bit imaginary) signal subtract from constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32sc_Sfs(const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor)
32-bit integer complex number (32 bit real, 32 bit imaginary) signal subtract from constant and scale.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32f_I_Ctx(Npp32f nValue, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32f_I(Npp32f nValue, Npp32f *pSrcDst, int nLength)
32-bit floating point in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32f_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32f(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
32-bit floating point signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32fc_I_Ctx(Npp32fc nValue, Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32fc_I(Npp32fc nValue, Npp32fc *pSrcDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32fc_Ctx(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_32fc(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64f_I_Ctx(Npp64f nValue, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point, in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Length of the vectors, number of items.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64f_I(Npp64f nValue, Npp64f *pSrcDst, int nLength)
64-bit floating point, in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Length of the vectors, number of items.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64f_Ctx(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64f(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength)
64-bit floating point signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64fc_I_Ctx(Npp64fc nValue, Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64fc_I(Npp64fc nValue, Npp64fc *pSrcDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal subtract from constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64fc_Ctx(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsSubCRev_64fc(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal subtract from constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value each vector element is to be subtracted from
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal DivC
DivC
Divides each sample of a signal by a constant.
Functions
-
NppStatus nppsDivC_8u_ISfs_Ctx(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char in place signal divided by constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_8u_ISfs(Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor)
8-bit unsigned char in place signal divided by constant, scale, then clamp to saturated value
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_8u_Sfs_Ctx(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_8u_Sfs(const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor)
8-bit unsigned char signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16u_ISfs_Ctx(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short in place signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16u_ISfs(Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor)
16-bit unsigned short in place signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16u_Sfs_Ctx(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16u_Sfs(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor)
16-bit unsigned short signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16s_ISfs_Ctx(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short in place signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16s_ISfs(Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor)
16-bit signed short in place signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16s_Sfs_Ctx(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16s_Sfs(const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16sc_ISfs_Ctx(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16sc_ISfs(Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary)signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16sc_Sfs_Ctx(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_16sc_Sfs(const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor)
16-bit integer complex number (16 bit real, 16 bit imaginary) signal divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32f_I_Ctx(Npp32f nValue, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32f_I(Npp32f nValue, Npp32f *pSrcDst, int nLength)
32-bit floating point in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32f_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32f(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
32-bit floating point signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32fc_I_Ctx(Npp32fc nValue, Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32fc_I(Npp32fc nValue, Npp32fc *pSrcDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32fc_Ctx(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_32fc(const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength)
32-bit floating point complex number (32 bit real, 32 bit imaginary) signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64f_I_Ctx(Npp64f nValue, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Length of the vectors, number of items.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64f_I(Npp64f nValue, Npp64f *pSrcDst, int nLength)
64-bit floating point in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Length of the vectors, number of items.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64f_Ctx(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64f(const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength)
64-bit floating point signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64fc_I_Ctx(Npp64fc nValue, Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64fc_I(Npp64fc nValue, Npp64fc *pSrcDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal divided by constant.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided into each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64fc_Ctx(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivC_64fc(const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength)
64-bit floating point complex number (64 bit real, 64 bit imaginary) signal divided by constant.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided into each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal DivCRev
DivCRev
Divides a constant by each sample of a signal.
Functions
-
NppStatus nppsDivCRev_16u_I_Ctx(Npp16u nValue, Npp16u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
16-bit unsigned short in place constant divided by signal, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided by each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivCRev_16u_I(Npp16u nValue, Npp16u *pSrcDst, int nLength)
16-bit unsigned short in place constant divided by signal, then clamp to saturated value.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided by each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivCRev_16u_Ctx(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, NppStreamContext nppStreamCtx)
16-bit unsigned short signal divided by constant, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivCRev_16u(const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength)
16-bit unsigned short signal divided by constant, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivCRev_32f_I_Ctx(Npp32f nValue, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place constant divided by signal.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided by each vector element
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivCRev_32f_I(Npp32f nValue, Npp32f *pSrcDst, int nLength)
32-bit floating point in place constant divided by signal.
- Parameters
pSrcDst – In-Place Signal Pointer.
nValue – Constant value to be divided by each vector element
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivCRev_32f_Ctx(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point constant divided by signal.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsDivCRev_32f(const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
32-bit floating point constant divided by signal.
- Parameters
pSrc – Source Signal Pointer.
nValue – Constant value to be divided by each vector element
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal Add
Add
Sample by sample addition of two signals.
Functions
-
NppStatus nppsAdd_16s_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)
16-bit signed short signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength)
16-bit signed short signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16u_Ctx(const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength, NppStreamContext nppStreamCtx)
16-bit unsigned short signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16u(const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength)
16-bit unsigned short signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32u_Ctx(const Npp32u *pSrc1, const Npp32u *pSrc2, Npp32u *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit unsigned int signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32u(const Npp32u *pSrc1, const Npp32u *pSrc2, Npp32u *pDst, int nLength)
32-bit unsigned int signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32f_Ctx(const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32f(const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength)
32-bit floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64f_Ctx(const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64f(const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength)
64-bit floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32fc_Ctx(const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit complex floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32fc(const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength)
32-bit complex floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64fc_Ctx(const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit complex floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64fc(const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength)
64-bit complex floating point signal add signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_8u16u_Ctx(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp16u *pDst, int nLength, NppStreamContext nppStreamCtx)
8-bit unsigned char signal add signal with 16-bit unsigned result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_8u16u(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp16u *pDst, int nLength)
8-bit unsigned char signal add signal with 16-bit unsigned result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s32f_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
16-bit signed short signal add signal with 32-bit floating point result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s32f(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32f *pDst, int nLength)
16-bit signed short signal add signal with 32-bit floating point result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be added to signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_8u_Sfs_Ctx(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_8u_Sfs(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp8u *pDst, int nLength, int nScaleFactor)
8-bit unsigned char add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16u_Sfs_Ctx(const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16u_Sfs(const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength, int nScaleFactor)
16-bit unsigned short add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s_Sfs_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s_Sfs(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32s_Sfs_Ctx(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32s_Sfs(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed integer add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64s_Sfs_Ctx(const Npp64s *pSrc1, const Npp64s *pSrc2, Npp64s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
64-bit signed integer add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64s_Sfs(const Npp64s *pSrc1, const Npp64s *pSrc2, Npp64s *pDst, int nLength, int nScaleFactor)
64-bit signed integer add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16sc_Sfs_Ctx(const Npp16sc *pSrc1, const Npp16sc *pSrc2, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed complex short add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16sc_Sfs(const Npp16sc *pSrc1, const Npp16sc *pSrc2, Npp16sc *pDst, int nLength, int nScaleFactor)
16-bit signed complex short add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32sc_Sfs_Ctx(const Npp32sc *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed complex integer add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32sc_Sfs(const Npp32sc *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor)
32-bit signed complex integer add signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be added to signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s_I_Ctx(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
16-bit signed short in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s_I(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength)
16-bit signed short in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32f_I_Ctx(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32f_I(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength)
32-bit floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64f_I_Ctx(const Npp64f *pSrc, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64f_I(const Npp64f *pSrc, Npp64f *pSrcDst, int nLength)
64-bit floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32fc_I_Ctx(const Npp32fc *pSrc, Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit complex floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32fc_I(const Npp32fc *pSrc, Npp32fc *pSrcDst, int nLength)
32-bit complex floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64fc_I_Ctx(const Npp64fc *pSrc, Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
64-bit complex floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_64fc_I(const Npp64fc *pSrc, Npp64fc *pSrcDst, int nLength)
64-bit complex floating point in place signal add signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s32s_I_Ctx(const Npp16s *pSrc, Npp32s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
16/32-bit signed short in place signal add signal with 32-bit signed integer results, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s32s_I(const Npp16s *pSrc, Npp32s *pSrcDst, int nLength)
16/32-bit signed short in place signal add signal with 32-bit signed integer results, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_8u_ISfs_Ctx(const Npp8u *pSrc, Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_8u_ISfs(const Npp8u *pSrc, Npp8u *pSrcDst, int nLength, int nScaleFactor)
8-bit unsigned char in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16u_ISfs_Ctx(const Npp16u *pSrc, Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16u_ISfs(const Npp16u *pSrc, Npp16u *pSrcDst, int nLength, int nScaleFactor)
16-bit unsigned short in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s_ISfs_Ctx(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16s_ISfs(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, int nScaleFactor)
16-bit signed short in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32s_ISfs_Ctx(const Npp32s *pSrc, Npp32s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32s_ISfs(const Npp32s *pSrc, Npp32s *pSrcDst, int nLength, int nScaleFactor)
32-bit signed integer in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16sc_ISfs_Ctx(const Npp16sc *pSrc, Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit complex signed short in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_16sc_ISfs(const Npp16sc *pSrc, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
16-bit complex signed short in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32sc_ISfs_Ctx(const Npp32sc *pSrc, Npp32sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit complex signed integer in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAdd_32sc_ISfs(const Npp32sc *pSrc, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
32-bit complex signed integer in place signal add signal, with scaling, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be added to signal1 elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal AddProduct
AddProduct
Adds sample by sample product of two signals to the destination signal.
Functions
-
NppStatus nppsAddProduct_32f_Ctx(const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_32f(const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength)
32-bit floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_64f_Ctx(const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_64f(const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength)
64-bit floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_32fc_Ctx(const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit complex floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_32fc(const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength)
32-bit complex floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_64fc_Ctx(const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit complex floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_64fc(const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength)
64-bit complex floating point signal add product of source signal times destination signal to destination signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_16s_Sfs_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal add product of source signal1 times source signal2 to destination signal, with scaling, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_16s_Sfs(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal add product of source signal1 times source signal2 to destination signal, with scaling, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_32s_Sfs_Ctx(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed short signal add product of source signal1 times source signal2 to destination signal, with scaling, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_32s_Sfs(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed short signal add product of source signal1 times source signal2 to destination signal, with scaling, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_16s32s_Sfs_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal add product of source signal1 times source signal2 to 32-bit signed integer destination signal, with scaling, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsAddProduct_16s32s_Sfs(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal add product of source signal1 times source signal2 to 32-bit signed integer destination signal, with scaling, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer.
pDst – Destination Signal Pointer. product of source1 and source2 signal elements to be added to destination elements
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
Signal Mul
Mul
Sample by sample multiplication the samples of two signals.
Functions
-
NppStatus nppsMul_16s_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)
16-bit signed short signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength)
16-bit signed short signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32f_Ctx(const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32f(const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength)
32-bit floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_64f_Ctx(const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_64f(const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength)
64-bit floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32fc_Ctx(const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit complex floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32fc(const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength)
32-bit complex floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_64fc_Ctx(const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
64-bit complex floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_64fc(const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength)
64-bit complex floating point signal times signal, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_8u16u_Ctx(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp16u *pDst, int nLength, NppStreamContext nppStreamCtx)
8-bit unsigned char signal times signal with 16-bit unsigned result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_8u16u(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp16u *pDst, int nLength)
8-bit unsigned char signal times signal with 16-bit unsigned result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s32f_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
16-bit signed short signal times signal with 32-bit floating point result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s32f(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32f *pDst, int nLength)
16-bit signed short signal times signal with 32-bit floating point result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32f32fc_Ctx(const Npp32f *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point signal times 32-bit complex floating point signal with complex 32-bit floating point result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32f32fc(const Npp32f *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength)
32-bit floating point signal times 32-bit complex floating point signal with complex 32-bit floating point result, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDst – Destination Signal Pointer.
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_8u_Sfs_Ctx(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
8-bit unsigned char signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_8u_Sfs(const Npp8u *pSrc1, const Npp8u *pSrc2, Npp8u *pDst, int nLength, int nScaleFactor)
8-bit unsigned char signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16u_Sfs_Ctx(const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short signal time signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16u_Sfs(const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength, int nScaleFactor)
16-bit unsigned short signal time signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s_Sfs_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s_Sfs(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32s_Sfs_Ctx(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32s_Sfs(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed integer signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16sc_Sfs_Ctx(const Npp16sc *pSrc1, const Npp16sc *pSrc2, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed complex short signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16sc_Sfs(const Npp16sc *pSrc1, const Npp16sc *pSrc2, Npp16sc *pDst, int nLength, int nScaleFactor)
16-bit signed complex short signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32sc_Sfs_Ctx(const Npp32sc *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed complex integer signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32sc_Sfs(const Npp32sc *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor)
32-bit signed complex integer signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16u16s_Sfs_Ctx(const Npp16u *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit unsigned short signal times 16-bit signed short signal, scale, then clamp to 16-bit signed saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16u16s_Sfs(const Npp16u *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
16-bit unsigned short signal times 16-bit signed short signal, scale, then clamp to 16-bit signed saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s32s_Sfs_Ctx(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
16-bit signed short signal times signal, scale, then clamp to 32-bit signed saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s32s_Sfs(const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
16-bit signed short signal times signal, scale, then clamp to 32-bit signed saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32s32sc_Sfs_Ctx(const Npp32s *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer signal times 32-bit complex signed integer signal, scale, then clamp to 32-bit complex integer saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32s32sc_Sfs(const Npp32s *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor)
32-bit signed integer signal times 32-bit complex signed integer signal, scale, then clamp to 32-bit complex integer saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_Low_32s_Sfs_Ctx(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
32-bit signed integer signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_Low_32s_Sfs(const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
32-bit signed integer signal times signal, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source Signal Pointer.
pSrc2 – Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDst – Destination Signal Pointer.
nLength – Signal Length.
nScaleFactor – Integer Result Scaling.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s_I_Ctx(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
16-bit signed short in place signal times signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_16s_I(const Npp16s *pSrc, Npp16s *pSrcDst, int nLength)
16-bit signed short in place signal times signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32f_I_Ctx(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
32-bit floating point in place signal times signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLength – Signal Length.
nppStreamCtx – Application Managed Stream Context.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.
-
NppStatus nppsMul_32f_I(const Npp32f *pSrc, Npp32f *pSrcDst, int nLength)
32-bit floating point in place signal times signal, then clamp to saturated value.
- Parameters
pSrc – Source Signal Pointer.
pSrcDst – In-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLength – Signal Length.
- Returns
Signal Data Related Error Codes, Length Related Error Codes.