CMYKToYCCK411LS_MCU

Converts a CMYK image to the YCCK color model and creates 4114 MCU.

Syntax

IppStatus ippiCMYKToYCCK411LS_MCU_8u16s_C4P4R(const Ipp8u* pSrcCMYK, int srcStep, Ipp16s* pDstMCU[4]);

Parameters

pSrcCMYK

Pointer to the source image ROI.

srcStep

Distance in bytes between starts of consecutive lines in the source image.

pDstMCU

Array of 4 pointers to the destination image blocks.

Description

The function ippiCMYKToYCCK411LS_MCU is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP). This function converts a CMYK image to the YCCK image in the same way as the function ippiCMYKToYCCK_JPEG does.

Additionally, this function converts data from unsigned Ipp8u range [0..255] to the signed Ipp16s range [-128..127] performing level shift operation (by subtracting 128) and creates 4114 MCU.

Downsampling is performed by plain averaging.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

ippStsStepErr

Indicates an error condition if srcStep has a zero or negative value.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.