Join422LS_MCU

Creates 422 interleaved data from 422 MCU with level shift.

Syntax

IppStatus ippiJoin422LS_MCU_16s8u_P3C2R(const Ipp16s* pSrcMCU[3], Ipp8u* pDst, int dstStep);

Parameters

pSrcMCU

Pointer to the array of 3 pointers to the source blocks.

pDst

Pointer to the destination image ROI.

dstStep

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

Description

The function ippiJoin422LS_MCU is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).

This function creates 422 interleaved data (see Table “Pixel-order Image Formats”) from 422 MCU (see Figure “MCU Structure for Different JPEG Sampling Formats”), that is, converts planar data to pixel-order form without re-sampling. Output data is a repetitive sequence of pixels Ch1Ch2Ch1Ch3...

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

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers are 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.