Class NPPNativeMethods.NPPs.Norm
Infinity Norm, L1 Norm, L2 Norm
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Norm
Methods
nppsNorm_Inf_16s32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit signed short integer vector C norm method, return value is 32-bit float.
Declaration
public static NppStatus nppsNorm_Inf_16s32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_Inf_16s32s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)
16-bit signed short integer vector C norm method, return value is 32-bit signed integer.
Declaration
public static NppStatus nppsNorm_Inf_16s32s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, int nScaleFactor, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_Inf_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit float vector C norm method
Declaration
public static NppStatus nppsNorm_Inf_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_Inf_32fc32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit float complex vector C norm method, return value is 32-bit float.
Declaration
public static NppStatus nppsNorm_Inf_32fc32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_Inf_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit float vector C norm method
Declaration
public static NppStatus nppsNorm_Inf_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_Inf_64fc64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit float complex vector C norm method, return value is 64-bit float.
Declaration
public static NppStatus nppsNorm_Inf_64fc64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L1_16s32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit signed short integer vector L1 norm method, return value is 32-bit float.
Declaration
public static NppStatus nppsNorm_L1_16s32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the L1 norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L1_16s32s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)
16-bit signed short integer vector L1 norm method, return value is 32-bit signed integer.
Declaration
public static NppStatus nppsNorm_L1_16s32s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, int nScaleFactor, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L1_16s64s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)
16-bit signed short integer vector L1 norm method, return value is 64-bit signed integer.
Declaration
public static NppStatus nppsNorm_L1_16s64s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, int nScaleFactor, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L1_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit float vector L1 norm method
Declaration
public static NppStatus nppsNorm_L1_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L1_32fc64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit float complex vector L1 norm method, return value is 64-bit float.
Declaration
public static NppStatus nppsNorm_L1_32fc64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L1_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit float vector L1 norm method
Declaration
public static NppStatus nppsNorm_L1_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L1_64fc64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit float complex vector L1 norm method, return value is 64-bit float.
Declaration
public static NppStatus nppsNorm_L1_64fc64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L2_16s32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit signed short integer vector L2 norm method, return value is 32-bit float.
Declaration
public static NppStatus nppsNorm_L2_16s32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L2_16s32s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)
16-bit signed short integer vector L2 norm method, return value is 32-bit signed integer.
Declaration
public static NppStatus nppsNorm_L2_16s32s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, int nScaleFactor, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L2_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit float vector L2 norm method
Declaration
public static NppStatus nppsNorm_L2_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L2_32fc64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit float complex vector L2 norm method, return value is 64-bit float.
Declaration
public static NppStatus nppsNorm_L2_32fc64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L2_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit float vector L2 norm method
Declaration
public static NppStatus nppsNorm_L2_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L2_64fc64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit float complex vector L2 norm method, return value is 64-bit float.
Declaration
public static NppStatus nppsNorm_L2_64fc64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNorm_L2Sqr_16s64s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)
16-bit signed short integer vector L2 Square norm method, return value is 64-bit signed integer.
Declaration
public static NppStatus nppsNorm_L2Sqr_16s64s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pNorm, int nScaleFactor, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
CUdeviceptr | pNorm | Pointer to the norm result. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsNormInfGetBufferSize_16s32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_Inf_16s32f.
Declaration
public static NppStatus nppsNormInfGetBufferSize_16s32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormInfGetBufferSize_16s32s_Sfs(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_Inf_16s32s_Sfs.
Declaration
public static NppStatus nppsNormInfGetBufferSize_16s32s_Sfs(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormInfGetBufferSize_32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_Inf_32f.
Declaration
public static NppStatus nppsNormInfGetBufferSize_32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormInfGetBufferSize_32fc32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_Inf_32fc32f.
Declaration
public static NppStatus nppsNormInfGetBufferSize_32fc32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormInfGetBufferSize_64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_Inf_64f.
Declaration
public static NppStatus nppsNormInfGetBufferSize_64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormInfGetBufferSize_64fc64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_Inf_64fc64f.
Declaration
public static NppStatus nppsNormInfGetBufferSize_64fc64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL1GetBufferSize_16s32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L1_16s32f.
Declaration
public static NppStatus nppsNormL1GetBufferSize_16s32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL1GetBufferSize_16s32s_Sfs(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L1_16s32s_Sfs.
Declaration
public static NppStatus nppsNormL1GetBufferSize_16s32s_Sfs(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL1GetBufferSize_16s64s_Sfs(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L1_16s64s_Sfs.
Declaration
public static NppStatus nppsNormL1GetBufferSize_16s64s_Sfs(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL1GetBufferSize_32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L1_32f.
Declaration
public static NppStatus nppsNormL1GetBufferSize_32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL1GetBufferSize_32fc64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L1_32fc64f.
Declaration
public static NppStatus nppsNormL1GetBufferSize_32fc64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL1GetBufferSize_64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L1_64f.
Declaration
public static NppStatus nppsNormL1GetBufferSize_64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL1GetBufferSize_64fc64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L1_64fc64f.
Declaration
public static NppStatus nppsNormL1GetBufferSize_64fc64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL2GetBufferSize_16s32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L2_16s32f.
Declaration
public static NppStatus nppsNormL2GetBufferSize_16s32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL2GetBufferSize_16s32s_Sfs(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L2_16s32s_Sfs.
Declaration
public static NppStatus nppsNormL2GetBufferSize_16s32s_Sfs(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL2GetBufferSize_32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L2_32f.
Declaration
public static NppStatus nppsNormL2GetBufferSize_32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL2GetBufferSize_32fc64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L2_32fc64f.
Declaration
public static NppStatus nppsNormL2GetBufferSize_32fc64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL2GetBufferSize_64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L2_64f.
Declaration
public static NppStatus nppsNormL2GetBufferSize_64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL2GetBufferSize_64fc64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L2_64fc64f.
Declaration
public static NppStatus nppsNormL2GetBufferSize_64fc64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsNormL2SqrGetBufferSize_16s64s_Sfs(Int32, ref Int32)
Device-buffer size (in bytes) for nppsNorm_L2Sqr_16s64s_Sfs.
Declaration
public static NppStatus nppsNormL2SqrGetBufferSize_16s64s_Sfs(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |