aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_bwdif.c
diff options
context:
space:
mode:
authorJohn Cox <jc@kynesim.co.uk>2023-07-04 14:04:42 +0000
committerMartin Storsjö <martin@martin.st>2023-07-06 00:21:05 +0300
commit8130df83e0fbd3264fe990fb4e084ecbd452d0b1 (patch)
treedc248d1c9e9bf161964e389d5d3fbebb41b9ac12 /libavfilter/vf_bwdif.c
parent7ed7c00f55a50ac88589f9e17c172d4a4fce0581 (diff)
downloadffmpeg-8130df83e0fbd3264fe990fb4e084ecbd452d0b1.tar.gz
avfilter/vf_bwdif: Add neon for filter_edge
Adds clip and spatial macros for aarch64 neon Exports C filter_edge needed for tail fixup of neon code Adds neon for filter_edge Signed-off-by: John Cox <jc@kynesim.co.uk> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/vf_bwdif.c')
-rw-r--r--libavfilter/vf_bwdif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c
index 035fc58670..bec83111b4 100644
--- a/libavfilter/vf_bwdif.c
+++ b/libavfilter/vf_bwdif.c
@@ -150,9 +150,9 @@ static void filter_line_c(void *dst1, void *prev1, void *cur1, void *next1,
FILTER2()
}
-static void filter_edge(void *dst1, void *prev1, void *cur1, void *next1,
- int w, int prefs, int mrefs, int prefs2, int mrefs2,
- int parity, int clip_max, int spat)
+void ff_bwdif_filter_edge_c(void *dst1, void *prev1, void *cur1, void *next1,
+ int w, int prefs, int mrefs, int prefs2, int mrefs2,
+ int parity, int clip_max, int spat)
{
uint8_t *dst = dst1;
uint8_t *prev = prev1;
@@ -364,7 +364,7 @@ av_cold void ff_bwdif_init_filter_line(BWDIFContext *s, int bit_depth)
} else {
s->filter_intra = ff_bwdif_filter_intra_c;
s->filter_line = filter_line_c;
- s->filter_edge = filter_edge;
+ s->filter_edge = ff_bwdif_filter_edge_c;
}
#if ARCH_X86