NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.0.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

RGB to YUV422 color conversion. More...

Functions

NppStatus  nppiRGBToYUV422_8u_C3C2R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YUV422 color conversion. More...
 
NppStatus  nppiRGBToYUV422_8u_C3C2R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiRGBToYUV422_8u_P3R_Ctx (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV422 color conversion. More...
 
NppStatus  nppiRGBToYUV422_8u_P3R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI)
 
NppStatus  nppiRGBToYUV422_8u_C3P3R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV422 color conversion. More...
 
NppStatus  nppiRGBToYUV422_8u_C3P3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI)
 

Detailed Description

RGB to YUV422 color conversion.

NPP converts YUV to gamma corrected BGR the same way as in YUVToBGR.

Function Documentation

NppStatus nppiRGBToYUV422_8u_C3C2R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiRGBToYUV422_8u_C3C2R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YUV422 color conversion.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nppStreamCtx Application Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiRGBToYUV422_8u_C3P3R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI 
)
NppStatus nppiRGBToYUV422_8u_C3P3R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Planar-Image Pointer Array.
rDstStep Destination-Planar-Image Line Step Array.
oSizeROI Region-of-Interest (ROI).
nppStreamCtx Application Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiRGBToYUV422_8u_P3R ( const Npp8u *const  pSrc[3],
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI 
)
NppStatus nppiRGBToYUV422_8u_P3R_Ctx ( const Npp8u *const  pSrc[3],
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.

images.

Parameters
pSrc Source-Planar-Image Pointer Array.
nSrcStep Source-Image Line Step.
pDst Destination-Planar-Image Pointer Array.
rDstStep Destination-Planar-Image Line Step Array.
oSizeROI Region-of-Interest (ROI).
nppStreamCtx Application Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes