YCbCr411ToRGBLS_MCU

Creates an YCbCr image from 411 MCU and converts it to the RGB color model.

Syntax

IppStatus ippiYCbCr411ToRGBLS_MCU_16s8u_P3C3R(const Ipp16s* pSrcMCU[3], Ipp8u* pDstRGB, int dstStep);

Parameters

pSrcMCU

Array of 3 pointers to the source image blocks.

pDstRGB

Pointer to the destination image ROI.

dstStep

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

Description

The function ippiYCbCr411ToRGBLS_MCU is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP). This function creates YCbCr 16x16 image from 411 MCU and converts it to the RGB format using the same formulas as the ippiYCbCrToRGB_JPEG function for computing R, G, and B component values.

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).

Upsampling is performed by replication of the neighbor value.

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 dstStep has a zero or negative value.

Submit feedback on this help topic

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