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

YCbCr to RGB batch color conversion with a single Region-of-Interest (ROI) for all pairs of input/output images provided in batches. More...

Functions

NppStatus nppiYCbCrToRGBBatch_8u_C3R_Ctx (const NppiImageDescriptor *pSrcBatchList, NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned packed YCbCr to 3 channel 8-bit unsigned packed RGB batch color conversion for a single ROI. More...
 
NppStatus nppiYCbCrToRGBBatch_8u_C3R (const NppiImageDescriptor *pSrcBatchList, NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oSizeROI)
 
NppStatus nppiYCbCrToRGBBatch_8u_P3C3R_Ctx (const NppiImageDescriptor *const pSrcBatchList[3], NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed RGB batch color conversion for a single ROI. More...
 
NppStatus nppiYCbCrToRGBBatch_8u_P3C3R (const NppiImageDescriptor *const pSrcBatchList[3], NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oSizeROI)
 

Detailed Description

YCbCr to RGB batch color conversion with a single Region-of-Interest (ROI) for all pairs of input/output images provided in batches.

NPP converts YCbCr to gamma corrected RGB the same way as in YCbCrToRGB.

Function Documentation

NppStatus nppiYCbCrToRGBBatch_8u_C3R ( const NppiImageDescriptor pSrcBatchList,
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oSizeROI 
)
NppStatus nppiYCbCrToRGBBatch_8u_C3R_Ctx ( const NppiImageDescriptor pSrcBatchList,
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned packed YCbCr to 3 channel 8-bit unsigned packed RGB batch color conversion for a single ROI.

Provided oSizeROI will be used for all pairs of input and output images passed in pSrcBatchList and pSrcBatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrcBatchListSource-Batch-Images Pointer.
pDstBatchListDestination-Batch-Images Pointer.
nBatchSizeNumber of NppiImageDescriptor structures processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiYCbCrToRGBBatch_8u_P3C3R ( const NppiImageDescriptor *const  pSrcBatchList[3],
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oSizeROI 
)
NppStatus nppiYCbCrToRGBBatch_8u_P3C3R_Ctx ( const NppiImageDescriptor *const  pSrcBatchList[3],
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed RGB batch color conversion for a single ROI.

Provided oSizeROI will be used for all pairs of input planes making input images and output packed images passed in pSrcBatchList and pSrcBatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrcBatchListAn array where each element is a batch of images representing one of planes in planar images, Source-Batch-Images Pointer. The first element of array (pSrcBatchList[0]) represents a batch of Y planes. The second element of array (pSrcBatchList[1]) represents a batch of Cb planes. The third element of array (pSrcBatchList[2]) represents a batch of Cr planes.
pDstBatchListDestination-Batch-Images Pointer.
nBatchSizeA number of NppiImageDescriptor structures processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2020 NVIDIA Corporation