31 const int16_t *h_weights,
const int16_t *v_weights)
39 for (y=0; y<11; y++) {
41 t[x] = av_clip_uint8(( src[x-1] * h_weights[0]
42 + src[x ] * h_weights[1]
43 + src[x+1] * h_weights[2]
44 + src[x+2] * h_weights[3] + 64) >> 7);
53 dst[x] = av_clip_uint8(( t[x-8 ] * v_weights[0]
54 + t[x ] * v_weights[1]
55 + t[x+8 ] * v_weights[2]
56 + t[x+16] * v_weights[3] + 64) >> 7);
void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride, const int16_t *h_weights, const int16_t *v_weights)
common internal and external API header