NVIDIA Performance Primitives (NPP)
Version 9.2
|
Methods for copying images and padding borders with a replicates of the nearest source image pixel color. More...
Functions | |
NppStatus | nppiCopyReplicateBorder_8u_C1R (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
1 channel 8-bit unsigned integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_8u_C3R (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
3 channel 8-bit unsigned integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_8u_C4R (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 8-bit unsigned integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_8u_AC4R (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 8-bit unsigned integer image copy with nearest source image pixel color with alpha channel unaffected. More... |
|
NppStatus | nppiCopyReplicateBorder_16u_C1R (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
1 channel 16-bit unsigned integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_16u_C3R (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
3 channel 16-bit unsigned integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_16u_C4R (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 16-bit unsigned integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_16u_AC4R (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 16-bit unsigned image copy with nearest source image pixel color with alpha channel unaffected. More... |
|
NppStatus | nppiCopyReplicateBorder_16s_C1R (const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
1 channel 16-bit signed integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_16s_C3R (const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
3 channel 16-bit signed integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_16s_C4R (const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 16-bit signed integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_16s_AC4R (const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 16-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected. More... |
|
NppStatus | nppiCopyReplicateBorder_32s_C1R (const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
1 channel 32-bit signed integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_32s_C3R (const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
3 channel 32-bit signed image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_32s_C4R (const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 32-bit signed integer image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_32s_AC4R (const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 32-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected. More... |
|
NppStatus | nppiCopyReplicateBorder_32f_C1R (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
1 channel 32-bit floating point image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_32f_C3R (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
3 channel 32-bit floating point image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_32f_C4R (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 32-bit floating point image copy with nearest source image pixel color. More... |
|
NppStatus | nppiCopyReplicateBorder_32f_AC4R (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth) |
4 channel 32-bit floating point image copy with nearest source image pixel color with alpha channel unaffected. More... |
|
Methods for copying images and padding borders with a replicates of the nearest source image pixel color.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
oSrcSizeROI | Size of the source region of pixels. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with data from the source image (inner part) and nearest source image pixel color (outer part). |
nTopBorderHeight | Height (in pixels) of the top border. The number of pixel rows at the top of the destination ROI that will be filled with the nearest source image pixel color. nBottomBorderHeight = oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height. |
nLeftBorderWidth | Width (in pixels) of the left border. The width of the border at the right side of the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width. |
NppStatus nppiCopyReplicateBorder_16s_AC4R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 16-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_16s_C1R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
1 channel 16-bit signed integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_16s_C3R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
3 channel 16-bit signed integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_16s_C4R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 16-bit signed integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_16u_AC4R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 16-bit unsigned image copy with nearest source image pixel color with alpha channel unaffected.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_16u_C1R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
1 channel 16-bit unsigned integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_16u_C3R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
3 channel 16-bit unsigned integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_16u_C4R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 16-bit unsigned integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32f_AC4R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 32-bit floating point image copy with nearest source image pixel color with alpha channel unaffected.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32f_C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
1 channel 32-bit floating point image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32f_C3R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
3 channel 32-bit floating point image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32f_C4R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 32-bit floating point image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32s_AC4R | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 32-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32s_C1R | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
1 channel 32-bit signed integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32s_C3R | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
3 channel 32-bit signed image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_32s_C4R | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp32s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 32-bit signed integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_8u_AC4R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 8-bit unsigned integer image copy with nearest source image pixel color with alpha channel unaffected.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_8u_C1R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
1 channel 8-bit unsigned integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_8u_C3R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
3 channel 8-bit unsigned integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.
NppStatus nppiCopyReplicateBorder_8u_C4R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
NppiSize | oSrcSizeROI, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oDstSizeROI, | ||
int | nTopBorderHeight, | ||
int | nLeftBorderWidth | ||
) |
4 channel 8-bit unsigned integer image copy with nearest source image pixel color.
For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions.