SampleUp411LS_MCU

Creates pixel-order image from 411 MCU and performs level shift.

Syntax

IppStatus ippiSampleUp411LS_MCU_16s8u_P3C3R(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 ippiSampleUp411LS_MCU is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).

This function creates pixel-order image from 411 MCU (see Figure “MCU Structure for Different JPEG Sampling Formats”). Upsampling is performed as a simple box filter.

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