Creates an YCCK image from 4224 MCU and converts it to the CMYK color model.
IppStatus ippiYCCK422ToCMYKLS_MCU_16s8u_P4C4R(const Ipp16s* pSrcMCU[4], Ipp8u* pDstCMYK, int dstStep);
pSrcMCU |
Array of 4 pointers to the source image blocks. |
pDstCVBYK |
Pointer to the destination image ROI. |
dstStep |
Distance in bytes between starts of consecutive lines in the destination image. |
The function ippiYCCK422ToCMYKLS_MCU is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP). This function creates YCCK 16x8 image from 4224 MCU and converts it to the CMYK color model in the same way as the function ippiYCCKToCMYK_JPEG does. Upsampling is performed by replication of the neighbor value.
Additionally, this function converts data from the signed Ipp16s range [-128..127] to the unsigned Ipp8u range [0..255] performing level shift operation (by adding 128).
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsStepErr |
Indicates an error condition if dstStep has a zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.