NVIDIA Performance Primitives (NPP)
Version 9.2
|
YCbCr to RGB color conversion. More...
Functions | |
NppStatus | nppiYCbCrToRGB_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
3 channel 8-bit unsigned packed YCbCr to 3 channel 8-bit unsigned packed RGB color conversion. More... |
|
NppStatus | nppiYCbCrToRGB_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
4 channel 8-bit unsigned packed YCbCr with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion, not affecting alpha. More... |
|
NppStatus | nppiYCbCrToRGB_8u_P3R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int nDstStep, NppiSize oSizeROI) |
3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned planar RGB color conversion. More... |
|
NppStatus | nppiYCbCrToRGB_8u_P3C3R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed RGB color conversion. More... |
|
NppStatus | nppiYCbCrToRGB_8u_P3C4R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nAval) |
3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha. More... |
|
YCbCr to RGB color conversion.
Here is how NPP converts YCbCr to gamma corrected RGB or BGR. The output RGB values are saturated to the range [0..255].
NppStatus nppiYCbCrToRGB_8u_AC4R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
4 channel 8-bit unsigned packed YCbCr with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion, not affecting alpha.
Alpha channel is the last channel and is not processed.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
NppStatus nppiYCbCrToRGB_8u_C3R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
3 channel 8-bit unsigned packed YCbCr to 3 channel 8-bit unsigned packed RGB color conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
NppStatus nppiYCbCrToRGB_8u_P3C3R | ( | const Npp8u *const | pSrc[3], |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed RGB color conversion.
pSrc | Source-Planar-Image Pointer Array. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
NppStatus nppiYCbCrToRGB_8u_P3C4R | ( | const Npp8u *const | pSrc[3], |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
Npp8u | nAval | ||
) |
3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.
pSrc | Source-Planar-Image Pointer Array. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nAval | 8-bit unsigned alpha constant. |
NppStatus nppiYCbCrToRGB_8u_P3R | ( | const Npp8u *const | pSrc[3], |
int | nSrcStep, | ||
Npp8u * | pDst[3], | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned planar RGB color conversion.
pSrc | Source-Planar-Image Pointer Array. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Planar-Image Pointer Array. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |