diff options
author | David Conrad <lessen42@gmail.com> | 2010-07-02 21:04:45 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-07-02 21:04:45 +0000 |
commit | 5245c04da332ab9585133ad55f8ec7a06d43b0b0 (patch) | |
tree | 13d31246daf301461e2add90128d308490a4ccc6 /libavcodec/vp8dsp.c | |
parent | b67a8f49a47e632814c2892dae96d7d54aac9530 (diff) | |
download | ffmpeg-5245c04da332ab9585133ad55f8ec7a06d43b0b0.tar.gz |
VP8: Move calculation of outer filter limit out of dsp functions for normal
filter to match the simple loop filter
Originally committed as revision 24010 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp8dsp.c')
-rw-r--r-- | libavcodec/vp8dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8dsp.c b/libavcodec/vp8dsp.c index 81825b031f..0d2dc01e70 100644 --- a/libavcodec/vp8dsp.c +++ b/libavcodec/vp8dsp.c @@ -162,7 +162,7 @@ static av_always_inline int simple_limit(uint8_t *p, int stride, int flim) 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; } |