Routines for performing complement color key replacement.
More...
|
Complement color key replacement.
|
| NppStatus | nppiCompColorKey_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nColorKeyConst) |
| | 1 channel 8-bit unsigned packed color complement color key replacement of source image 1 by source image 2. More...
|
| |
| NppStatus | nppiCompColorKey_8u_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nColorKeyConst[3]) |
| | 3 channel 8-bit unsigned packed color complement color key replacement of source image 1 by source image 2. More...
|
| |
| NppStatus | nppiCompColorKey_8u_C4R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nColorKeyConst[4]) |
| | 4 channel 8-bit unsigned packed color complement color key replacement of source image 1 by source image 2. More...
|
| |
| NppStatus | nppiAlphaCompColorKey_8u_AC4R (const Npp8u *pSrc1, int nSrc1Step, Npp8u nAlpha1, const Npp8u *pSrc2, int nSrc2Step, Npp8u nAlpha2, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nColorKeyConst[4], NppiAlphaOp nppAlphaOp) |
| | 4 channel 8-bit unsigned packed color complement color key replacement of source image 1 by source image 2 with alpha blending. More...
|
| |
Routines for performing complement color key replacement.
| NppStatus nppiAlphaCompColorKey_8u_AC4R |
( |
const Npp8u * |
pSrc1, |
|
|
int |
nSrc1Step, |
|
|
Npp8u |
nAlpha1, |
|
|
const Npp8u * |
pSrc2, |
|
|
int |
nSrc2Step, |
|
|
Npp8u |
nAlpha2, |
|
|
Npp8u * |
pDst, |
|
|
int |
nDstStep, |
|
|
NppiSize |
oSizeROI, |
|
|
Npp8u |
nColorKeyConst[4], |
|
|
NppiAlphaOp |
nppAlphaOp |
|
) |
| |
4 channel 8-bit unsigned packed color complement color key replacement of source image 1 by source image 2 with alpha blending.
- Parameters
-
| pSrc1 | source1 packed pixel format image pointer. |
| nSrc1Step | source1 packed pixel format image line step. |
| nAlpha1 | source1 image alpha opacity (0 - max channel pixel value). |
| pSrc2 | source2 packed pixel format image pointer. |
| nSrc2Step | source2 packed pixel format image line step. |
| nAlpha2 | source2 image alpha opacity (0 - max channel pixel value). |
| pDst | Destination-Image Pointer. |
| nDstStep | Destination-Image Line Step. |
| oSizeROI | Region-of-Interest (ROI). |
| nColorKeyConst | color key constant array |
| nppAlphaOp | NppiAlphaOp alpha compositing operation selector (excluding premul ops). |
- Returns
- Image Data Related Error Codes, ROI Related Error Codes