|
NVIDIA Performance Primitives (NPP)
Version 9.2
|
RGB to YCbCr color conversion. More...
Functions | |
| NppStatus | nppiRGBToYCbCr_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
| 3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit packed YCbCr color conversion. More... |
|
| NppStatus | nppiRGBToYCbCr_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
| 4 channel 8-bit unsigned packed RGB with alpha to 4 channel unsigned 8-bit packed YCbCr with alpha color conversion, not affecting alpha. More... |
|
| NppStatus | nppiRGBToYCbCr_8u_P3R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int nDstStep, NppiSize oSizeROI) |
| 3 channel planar 8-bit unsigned RGB to 3 channel planar 8-bit YCbCr color conversion. More... |
|
| NppStatus | nppiRGBToYCbCr_8u_C3P3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst[3], int nDstStep, NppiSize oSizeROI) |
| 3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit planar YCbCr color conversion. More... |
|
| NppStatus | nppiRGBToYCbCr_8u_AC4P3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst[3], int nDstStep, NppiSize oSizeROI) |
| 4 channel 8-bit unsigned packed RGB with alpha to 3 channel 8-bit unsigned planar YCbCr color conversion. More... |
|
RGB to YCbCr color conversion.
Here is how NPP converts gamma corrected RGB or BGR to YCbCr. In the YCbCr model, Y is defined to have a nominal range [16..235], while Cb and Cr are defined to have a range [16..240], with the value of 128 as corresponding to zero.
| NppStatus nppiRGBToYCbCr_8u_AC4P3R | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst[3], | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
4 channel 8-bit unsigned packed RGB with alpha to 3 channel 8-bit unsigned planar YCbCr color conversion.
| pSrc | Source-Image Pointer. |
| nSrcStep | Source-Image Line Step. |
| pDst | Destination-Planar-Image Pointer Array. |
| nDstStep | Destination-Image Line Step. |
| oSizeROI | Region-of-Interest (ROI). |
| NppStatus nppiRGBToYCbCr_8u_AC4R | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
4 channel 8-bit unsigned packed RGB with alpha to 4 channel unsigned 8-bit packed YCbCr with alpha color conversion, not affecting alpha.
| pSrc | Source-Image Pointer. |
| nSrcStep | Source-Image Line Step. |
| pDst | Destination-Image Pointer. |
| nDstStep | Destination-Image Line Step. |
| oSizeROI | Region-of-Interest (ROI). |
| NppStatus nppiRGBToYCbCr_8u_C3P3R | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst[3], | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit planar YCbCr color conversion.
images.
| pSrc | Source-Image Pointer. |
| nSrcStep | Source-Image Line Step. |
| pDst | Destination-Image Pointer. |
| nDstStep | Destination-Image Line Step. |
| oSizeROI | Region-of-Interest (ROI). |
| NppStatus nppiRGBToYCbCr_8u_C3R | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit packed YCbCr 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 nppiRGBToYCbCr_8u_P3R | ( | const Npp8u *const | pSrc[3], |
| int | nSrcStep, | ||
| Npp8u * | pDst[3], | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
3 channel planar 8-bit unsigned RGB to 3 channel planar 8-bit YCbCr 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). |