Paul B Mahol
376ac5b7a8
avfilter/vf_convolve: switch to TX FFT from avutil
2021-08-17 09:15:06 +02:00
Andreas Rheinhardt
1b20853fb3
avfilter/internal: Factor out executing a filter's execute_func
...
The current way of doing it involves writing the ctx parameter twice.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-08-15 21:33:25 +02:00
Andreas Rheinhardt
18ec426a86
avfilter/formats: Factor common function combinations out
...
Several combinations of functions happen quite often in query_format
functions; e.g. ff_set_common_formats(ctx, ff_make_format_list(sample_fmts))
is very common. This commit therefore adds functions that are equivalent
to commonly used function combinations in order to reduce code
duplication.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-08-13 17:36:22 +02:00
Andreas Rheinhardt
a04ad248a0
avfilter: Constify all AVFilters
...
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27 11:48:05 -03:00
Paul B Mahol
7e08a92370
avfilter/vf_convolve: reset fft/ifft pointers after free
2020-02-25 17:35:09 +01:00
Paul B Mahol
bd6c57d532
avfilter: add support for gray14 format
2018-09-09 19:10:44 +02:00
Paul B Mahol
8c9a91ac82
avfilter: add deconvolve filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-27 11:54:22 +01:00
Paul B Mahol
87f148d526
avfilter/vf_convolve: remove padding, its unused and not needed
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-27 11:10:12 +01:00
Paul B Mahol
caacbfa773
avfilter/vf_convolve: cosmetics
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-27 11:08:57 +01:00
Paul B Mahol
e712d30173
avfilter/vf_convolve: add threading for complex multiplication
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-25 15:46:04 +01:00
Paul B Mahol
c59e49f9b2
avfilter/vf_convolve: implement slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-25 11:53:54 +01:00
Paul B Mahol
f9f1b2a927
avfilter/vf_convolve: split input/output operations from fft
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-25 11:05:26 +01:00
Paul B Mahol
86e3eebfb7
avfilter/vf_convolve: use shorter variants for pointers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-25 10:19:47 +01:00
Paul B Mahol
ec6608f51b
avfilter/vf_convolve: clear coefficients only when needed
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-25 10:06:07 +01:00
Paul B Mahol
5533cbfc84
avfilter/vf_convolve: fix various issues
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-24 18:24:48 +01:00
Paul B Mahol
175122fcd5
avfilter/vf_convolve: fix convolution of borders
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-24 10:15:26 +01:00
Paul B Mahol
b5958ff82e
avfilter/vf_convolve: unbreak non-power of 2 width&height filtering
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-23 17:44:52 +01:00
Nicolas George
5f5dcf44e3
lavfi: rename framesync2 to framesync.
2017-09-12 11:03:51 +02:00
James Almer
27a86b8ece
avfilter/vf_convolve: use av_clip_uint8
...
Fixes fate-source.
2017-09-09 22:02:25 -03:00
Paul B Mahol
4d41db7a31
avfilter: add generic FFT video convolve filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-09 17:09:37 +02:00