Mercurial > libavcodec.hg
diff vp8dsp.c @ 12081:812e23197d64 libavcodec
VP8: Move calculation of outer filter limit out of dsp functions for normal
filter to match the simple loop filter
author | conrad |
---|---|
date | Fri, 02 Jul 2010 21:04:45 +0000 |
parents | f96187e79438 |
children | 80b142c2e9f7 |
line wrap: on
line diff
--- a/vp8dsp.c Fri Jul 02 19:26:27 2010 +0000 +++ b/vp8dsp.c Fri Jul 02 21:04:45 2010 +0000 @@ -162,7 +162,7 @@ static av_always_inline int normal_limit(uint8_t *p, int stride, int E, int I) { LOAD_PIXELS - return simple_limit(p, stride, 2*E+I) + return simple_limit(p, stride, E) && FFABS(p3-p2) <= I && FFABS(p2-p1) <= I && FFABS(p1-p0) <= I && FFABS(q3-q2) <= I && FFABS(q2-q1) <= I && FFABS(q1-q0) <= I; }