InterpolateBlock_H264, Bidir_H264

Calculate average value for each source pair values in block.

Syntax

IppStatus ippiInterpolateBlock_H264_8u_P2P1R(const Ipp8u* pSrc1, const Ipp8u* pSrc2, Ipp8u* pDst, Ipp32u width, Ipp32u height, Ipp32u pitch);

IppStatus ippiInterpolateBlock_H264_8u_P3P1R(const Ipp8u* pSrc1, const Ipp8u* pSrc2, Ipp8u* pDst, Ipp32u width, Ipp32u height, Ipp32s srcStep1, Ipp32s srcStep2, Ipp32s dstStep);

IppStatus ippiBidir_H264_16u_P2P1R(IppVCBidir_16u* bidirInfo);

Parameters

pSrc1

Pointer to the first input block.

pSrc2

Pointer to the second input block.

pDst

Pointer to the first output block.

width

Number of values in the block line.

height

Number of lines in the block.

srcStep1

Distance in items between starts of the consecutive lines in the first input block.

srcStep2

Distance in items between starts of the consecutive lines in the second input block.

dstStep

Distance in items between starts of the consecutive lines in the first output block.

pitch

Memory pitch.

bidirInfo

Pointer to the IppVCBidir_16u structure.

Description

The functions ippiInterpolateBlock_H264_8u_P2P1R, ippiInterpolateBlock_H264_8u_P3P1R, and ippiBidir_H264_16u_P2P1R are declared in the ippvc.h file. These functions calculate the average value for each corresponding source pair values in a block with height lines and width values per line.



These functions are used in the H.264 decoder included into Intel IPP Samples. See introduction to H.264.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if at least one of the specified pointers is NULL.


Submit feedback on this help topic

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