Class NPPNativeMethods.NPPi.Dup
Functions for duplicating a single channel image in a multiple channel image.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Dup
Methods
nppiDup_16s_C1AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit signed integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.
Declaration
public static NppStatus nppiDup_16s_C1AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_16s_C1C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit signed integer source image duplicated in all 3 channels of destination image.
Declaration
public static NppStatus nppiDup_16s_C1C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_16s_C1C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit signed integer source image duplicated in all 4 channels of destination image.
Declaration
public static NppStatus nppiDup_16s_C1C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_16u_C1AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit unsigned integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.
Declaration
public static NppStatus nppiDup_16u_C1AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_16u_C1C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit unsigned integer source image duplicated in all 3 channels of destination image.
Declaration
public static NppStatus nppiDup_16u_C1C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_16u_C1C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit unsigned integer source image duplicated in all 4 channels of destination image.
Declaration
public static NppStatus nppiDup_16u_C1C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_32f_C1AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit floating point source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.
Declaration
public static NppStatus nppiDup_32f_C1AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_32f_C1C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit floating point source image duplicated in all 3 channels of destination image.
Declaration
public static NppStatus nppiDup_32f_C1C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_32f_C1C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit floating point source image duplicated in all 4 channels of destination image.
Declaration
public static NppStatus nppiDup_32f_C1C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_32s_C1AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit signed integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.
Declaration
public static NppStatus nppiDup_32s_C1AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_32s_C1C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit signed integer source image duplicated in all 3 channels of destination image.
Declaration
public static NppStatus nppiDup_32s_C1C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_32s_C1C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit signed integer source image duplicated in all 4 channels of destination image.
Declaration
public static NppStatus nppiDup_32s_C1C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_8u_C1AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 8-bit unsigned integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.
Declaration
public static NppStatus nppiDup_8u_C1AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_8u_C1C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 8-bit unsigned integer source image duplicated in all 3 channels of destination image.
Declaration
public static NppStatus nppiDup_8u_C1C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDup_8u_C1C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 8-bit unsigned integer source image duplicated in all 4 channels of destination image.
Declaration
public static NppStatus nppiDup_8u_C1C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |