diff options
author | Peter Ross <pross@xvid.org> | 2019-01-13 15:15:29 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2019-01-26 23:49:04 +1100 |
commit | 160ebe0a8d780f6db7c18e824d8ec6f437da33a2 (patch) | |
tree | ee73ea2f72016d83d963d06bd03098c999c490ab /libavcodec/vp56dsp.c | |
parent | 10a57f55e60902ab91388b8a46b73f1f4532f737 (diff) | |
download | ffmpeg-160ebe0a8d780f6db7c18e824d8ec6f437da33a2.tar.gz |
avcodec/vp6: use ff_vp3dsp_[hv]_loop_filter_12
Partially fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
Diffstat (limited to 'libavcodec/vp56dsp.c')
-rw-r--r-- | libavcodec/vp56dsp.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libavcodec/vp56dsp.c b/libavcodec/vp56dsp.c index 9f299dc60f..e8d93d6680 100644 --- a/libavcodec/vp56dsp.c +++ b/libavcodec/vp56dsp.c @@ -72,27 +72,8 @@ av_cold void ff_vp5dsp_init(VP56DSPContext *s) #endif /* CONFIG_VP5_DECODER */ #if CONFIG_VP6_DECODER -static int vp6_adjust(int v, int t) -{ - int V = v, s = v >> 31; - V ^= s; - V -= s; - if (V-t-1 >= (unsigned)(t-1)) - return v; - V = 2*t - V; - V += s; - V ^= s; - return V; -} - -VP56_EDGE_FILTER(vp6, hor, 1, stride) -VP56_EDGE_FILTER(vp6, ver, stride, 1) - av_cold void ff_vp6dsp_init(VP56DSPContext *s) { - s->edge_filter_hor = vp6_edge_filter_hor; - s->edge_filter_ver = vp6_edge_filter_ver; - s->vp6_filter_diag4 = ff_vp6_filter_diag4_c; if (ARCH_ARM) |