Average two blocks.
IppStatus ippiAverage8x8_8u_C1IR(Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep);
IppStatus ippiAverage8x8_8u_C1R(const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep);
IppStatus ippiAverage16x16_8u_C1IR(Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep);
IppStatus ippiAverage16x16_8u_C1R(const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep);
pSrc, pSrc1, pSrc2 |
Pointers to the source blocks. |
pDst |
Pointer to the destination block. |
pSrcDst |
Pointer to the source and destination blocks. |
srcStep, src1Step, src2Step |
Width in bytes through the source planes. |
dstStep |
Width in bytes through the destination planes. |
srcDstStep |
Width in bytes through the source and destination planes. |
The functions ippiAverage8x8_8u_C1IR, ippiAverage8x8_8u_C1R, ippiAverage16x16_8u_C1IR, and ippiAverage16x16_8u_C1R are declared in the ippvc.h file. These functions average two blocks pixel-by-pixel, as specified by [ISO14496], subclause 7.6.9.4. The functions can be used in the B-frame reconstruction.
These functions are used in the MPEG-4 encoders and decoders included into Intel IPP Samples. See introduction to Motion Compensation.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.