Signal Initialization Functions

Functions that provide functionality of initialization signal like: set, zero or copy other signal.

Signal Set

Set

The set of set initialization operations available in the library.

Set

Set methods for 1D vectors of various types.

The copy methods operate on vector data given as a pointer to the underlying data-type (e.g. 8-bit vectors would be passed as pointers to Npp8u type) and length of the vectors, i.e. the number of items.

NppStatus nppsSet_Ctx(NppDataType eSrcDstType, const void *pValue, void *pDst, size_t nLength, NppStreamContext nppStreamCtx)

Vector set method.

Supported data types include NPP_8U, NPP_8S, NPP_16U, NPP_16S, NPP_32U, NPP_32S, NPP_64S, NPP_32F, NPP_64F.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.

Signal Zero

Zero

The set of zero initialization operations available in the library.

Signal Copy

Copy

The set of copy initialization operations available in the library.

Copy

Copy methods for various type signals.

Copy methods operate on signal data given as a pointer to the underlying data-type (e.g. 8-bit vectors would be passed as pointers to Npp8u type) and length of the vectors, i.e. the number of items.

NppStatus nppsCopy_Ctx(NppDataType eSrcDstType, const void *pSrc, void *pDst, size_t nLength, NppStreamContext nppStreamCtx)

Vector copy method Supported data types include NPP_8U, NPP_8S, NPP_16U, NPP_16S, NPP_32U, NPP_32S, NPP_64S, NPP_32F, NPP_64F.

Parameters
Returns

Signal Data Related Error Codes, Length Related Error Codes.