Revision c29ff23c libavcodec/vp6.c

View differences:

libavcodec/vp6.c
343 343
        }
344 344
        src += 2*stride;
345 345
    }
346
    return (16*square_sum - sum*sum) / (16*16);
346
    return (16*square_sum - sum*sum) >> 8;
347 347
}
348 348

  
349 349
static void vp6_filter_hv2(vp56_context_t *s, uint8_t *dst, uint8_t *src,

Also available in: Unified diff