Convert an YCbCr image to the RGB color model.
IppStatus ippiYCbCrToRGB565_JPEG_8u16u_P3C3R(const Ipp8u* pSrc[3], int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize);
IppStatus ippiYCbCrToRGB555_JPEG_8u16u_P3C3R(const Ipp8u* pSrc[3], int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize);
pSrc |
An array of pointers to the ROIs in the separate source color planes. |
srcStep |
Distance in bytes between starts of consecutive lines in the source image. |
pDst |
Pointer to the destination image ROI. |
dstStep |
Distance in bytes between starts of consecutive lines in the destination image. |
roiSize |
Size of the source and destination ROI in pixels. |
The functions ippiYCbCrToRGB565_JPEG and ippiYCbCrToRGB565_JPEG are declared in the ippj.h file. They operate with ROI (see Regions of Interest in Intel IPP).
These functions convert an YCbCr image to the RGB format using the same formulas as the ippiYCbCrToRGB_JPEG function for computing R, G, and B component values.The destination image pDstRGB has a reduced bit depth of 16 bits per pixel (see Figure “16-bit pixel formats”), and it can be in one of two possible formats : RGB565 (5 bits for red, 6 bits for green, 5 bits for blue), or RGB555 (5 bits for red, green, blue).
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with zero or negative value. |
ippStsStepErr |
Indicates an error condition if srcStep or dstStep has a zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.