Convert an YCbCr image to the BGR color model.
IppStatus ippiYCbCrToBGR565_JPEG_8u16u_P3C3R(const Ipp8u* pSrcYCbCr[3], int srcStep, Ipp16u* pDstBGR, int dstStep, IppiSize roiSize);
IppStatus ippiYCbCrToBGR555_JPEG_8u16u_P3C3R(const Ipp8u* pSrcYCbCr[3], int srcStep, Ipp16u* pDstBGR, int dstStep, IppiSize roiSize);
pSrcYCbCr |
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. |
pDstBGR |
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 ippiYCbCrToBGR565_JPEG and ippiYCbCrToBGR565_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 BGR format using the same formulas as the ippiYCbCrToRGB_JPEG function for computing R, G, and B component values .The destination image pDstBGR 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 : BGR565 (5 bits for blue, 6 bits for green, 5 bits for red), or BGR555 (5 bits for blue, green, red).
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.