Detects edges inside 16X16 block.
IppStatus ippiEdgesDetect16x16_8u_C1R(const Ipp8u* pSrc, Ipp32u srcStep, Ipp8u EdgePelDifference, Ipp8u EdgePelCount, Ipp8u* pRes);
pSrc |
Pointer to a 16x16 block in the current plan. |
srcStep |
Step of the current block, specifying width of the plane in bytes. |
EdgePelDifference |
The value for estimation of difference between neighboring elements. This value must be within the range of [0, 128]. |
EdgePelCount |
The value for estimation of number of pairs of elements with ‘big difference'. This value must be within the range of [0, 128]. |
pRes |
Pointer to output value. (*pRes) is equal to 1, if edges are detected, and is equal to 0 if edges are not detected. |
This function is declared in the ippvc.h header file. The function ippiEdgesDetect16x16_8u_C1R detects edges inside a 16x16 block: finds pair of neighboring (horizontal and vertical) elements with difference greater than EdgePelDifference.
If the number of pairs is greater than EdgePelCount, edges are detected and flag (*pRes ) is set to 1. Otherwise, edges are not detected ((*pRes) is set to 0).
This function is used in the H.264 encoder included into Intel IPP Samples. See introduction to Motion Estimation.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.