aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/bwdif.h
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/bwdif: Add proper BWDIFDSPContextAndreas Rheinhardt2023-09-281-63/+0
| | | | | | | | This already avoids unnecessary indirectly included headers in the arch-specific vf_bwdif_init.c files; it is also in preparation for splitting the actual functions out of vf_bwdif.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_bwdif: Add a filter_line3 method for optimisationJohn Cox2023-07-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | Add an optional filter_line3 to the available optimisations. filter_line3 is equivalent to filter_line, memcpy, filter_line filter_line shares quite a number of loads and some calculations in common with its next iteration and testing shows that using aarch64 neon filter_line3s performance is 30% better than two filter_lines and a memcpy. Adds a test for vf_bwdif filter_line3 to checkasm Rounds job start lines down to a multiple of 4. This means that if filter_line3 exists then filter_line will not sometimes be called once at the end of a slice depending on thread count. The final slice may do up to 3 extra lines but filter_edge is faster than filter_line so it is unlikely to create any noticable thread load variation. Signed-off-by: John Cox <jc@kynesim.co.uk> Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/vf_bwdif: Add neon for filter_lineJohn Cox2023-07-061-0/+5
| | | | | | | | Exports C filter_line needed for tail fixup of neon code Adds neon for filter_line Signed-off-by: John Cox <jc@kynesim.co.uk> Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/vf_bwdif: Add neon for filter_edgeJohn Cox2023-07-061-0/+4
| | | | | | | | | 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>
* avfilter/vf_bwdif: Add neon for filter_intraJohn Cox2023-07-061-0/+4
| | | | | | | | | | Adds an outline for aarch neon functions Adds common macros and consts for aarch64 neon Exports C filter_intra needed for tail fixup of neon code Adds neon for filter_intra Signed-off-by: John Cox <jc@kynesim.co.uk> Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/bwdif: move filter_line init to a dedicated functionJames Darnley2023-03-251-1/+2
|
* avfilter/vf_bwdif: Use common yadif frame management logicPhilip Langdale2018-11-141-32/+2
| | | | | After adding field type management to the common yadif logic, we can remove the duplicate copy of that logic from bwdif.
* avfilter/vf_bwdif: add x86 SIMDThomas Mundt2016-03-131-0/+72
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>