Hi, I use the IPP 5.3, but the result of "FilterDeblocking8x8HorEdge_MPEG4" is different of mine, Who can help me?
I found the difference is how to round the "Integer division". How does Ipp implement this?
According the MPEG4 Video Verification Model, "//" means integer division and round to infinite, perhaps this isthe reason why my result is different from IPP. I think the a30 is different.
This is my code
int a30 = roundInfinite((((v - v) << 1) + 5 * (v - v))/8.0);
inline int roundInfinite(float v)
return ((v>=0) ? (int)(v + 0.5) : (int)(v - 0.5));