Revision 5245c04d libavcodec/vp8dsp.c

View differences:

libavcodec/vp8dsp.c
162 162
static av_always_inline int normal_limit(uint8_t *p, int stride, int E, int I)
163 163
{
164 164
    LOAD_PIXELS
165
    return simple_limit(p, stride, 2*E+I)
165
    return simple_limit(p, stride, E)
166 166
        && FFABS(p3-p2) <= I && FFABS(p2-p1) <= I && FFABS(p1-p0) <= I
167 167
        && FFABS(q3-q2) <= I && FFABS(q2-q1) <= I && FFABS(q1-q0) <= I;
168 168
}

Also available in: Unified diff