Add8x8

Adds two blocks with saturation.

Syntax

IppStatus ippiAdd8x8_16s8u_C1IRS(const Ipp16s* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep);

Parameters

pSrc

Pointer to the source block.

srcStep

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

pSrcDst

Pointer to the second source/destination block.

srcDstStep

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

Description

The function ippiAdd8x8_16s8u_C1IRS is declared in the ippvc.h file. This function adds 16s data from pSrc block to the 8u data from pSrcDst block with saturation and stores the result in pSrcDst block. It can be used in motion compensation process to add a reconstructed block of prediction errors to the predictor.

This function is used in the H.261, H.263, and MPEG-4 encoders and decoders included into Intel IPP Samples. See introduction to Motion Compensation.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one input pointer is NULL.


Submit feedback on this help topic

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