NVIDIA Performance Primitives (NPP)
Version 9.2
|
Sample by sample addition of two signals. More...
Functions | |
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
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. More... |
|
Sample by sample addition of two signals.
16-bit signed short signal add signal, then clamp to saturated value.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
16-bit signed short signal add signal with 32-bit floating point result, then clamp to saturated value.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
16/32-bit signed short in place signal add signal with 32-bit signed integer results, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
16-bit signed short in place signal add signal, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
16-bit signed short in place signal add signal, with scaling, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
nScaleFactor | Integer Result Scaling. |
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.
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. |
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.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
nScaleFactor | Integer Result Scaling. |
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.
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. |
16-bit unsigned short signal add signal, then clamp to saturated value.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
16-bit unsigned short in place signal add signal, with scaling, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
nScaleFactor | Integer Result Scaling. |
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.
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. |
32-bit floating point signal add signal, then clamp to saturated value.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
32-bit floating point in place signal add signal, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
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.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
32-bit complex floating point in place signal add signal, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
32-bit signed integer in place signal add signal, with scaling, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
nScaleFactor | Integer Result Scaling. |
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.
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. |
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.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
nScaleFactor | Integer Result Scaling. |
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.
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. |
32-bit unsigned int signal add signal, then clamp to saturated value.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
64-bit floating point signal add signal, then clamp to saturated value.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
64-bit floating point in place signal add signal, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
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.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
64-bit complex floating point in place signal add signal, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
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.
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. |
8-bit unsigned char signal add signal with 16-bit unsigned result, then clamp to saturated value.
pSrc1 | Source Signal Pointer. |
pSrc2 | Source Signal Pointer. signal2 elements to be added to signal1 elements |
pDst | Destination Signal Pointer. |
nLength | Signal Length. |
8-bit unsigned char in place signal add signal, with scaling, then clamp to saturated value.
pSrc | Source Signal Pointer. |
pSrcDst | In-Place Signal Pointer. signal2 elements to be added to signal1 elements |
nLength | Signal Length. |
nScaleFactor | Integer Result Scaling. |
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.
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. |