Split422LS_MCU

Creates 422 MCU from 422 interleaved data with level shift.

Syntax

IppStatus ippiSplit422LS_MCU_8u16s_C2P3R(const Ipp8u* pSrc, int SrcStep, Ipp16s* pDstMCU[3]);

Parameters

pSrc

Pointer to the source image ROI.

srcStep

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

pDstMCU

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

Description

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

This function creates 422 MCU from 422 pixel-order data (see Figure “Plane Size and Layout - 3-planes Images”), that is, converts pixel-order data to planar form without re-sampling. Final MCU consists of four blocks - two 8x8 blocks for channel 1, one 8x8 block for channel 2, and one 8x8 block for channel 3 (see Figure “MCU Structure for Different JPEG Sampling Formats”).

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

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

Submit feedback on this help topic

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