Anton Khirnov
1e7d2007c3
all: use designated initializers for AVOption.unit
...
Makes it robust against adding fields before it, which will be useful in
following commits.
Majority of the patch generated by the following Coccinelle script:
@@
typedef AVOption;
identifier arr_name;
initializer list il;
initializer list[8] il1;
expression tail;
@@
AVOption arr_name[] = { il, { il1,
- tail
+ .unit = tail
}, ... };
with some manual changes, as the script:
* has trouble with options defined inside macros
* sometimes does not handle options under an #else branch
* sometimes swallows whitespace
2024-02-14 14:53:41 +01:00
Michael Niedermayer
0c7a0514e3
avfilter/window_func: Use av_bessel_i0()
...
Old code needed about 6 times as long as new with defaults in afftfilt
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2023-05-29 00:55:52 +02:00
Paul B Mahol
754d52cf42
avfilter/window_func: add kaiser window
2022-10-20 12:13:37 +02:00
Andreas Rheinhardt
84f16bb5e6
avutil/avassert: Don't include avutil.h
...
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-02-24 12:56:49 +01:00
Paul B Mahol
767f162432
avfilter/window_func: unify all filters win_func option that use this header
2021-10-15 10:45:50 +02:00
Paul B Mahol
fa045c3ce2
avfilter/window_func: clarify intention in dolph window calculation
2019-09-16 10:57:09 +02:00
Paul B Mahol
40ac622460
avfilter/window_func: add bohman window
2018-10-27 13:36:00 +02:00
Rostislav Pehlivanov
039ebaa5f3
lavfi: make window_func an inline function
...
Eliminate lavc->lavfi dependency. The function isn't big and doesn't
deserve its own file.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-09-23 14:35:06 +01:00
Paul B Mahol
b438c2025c
avfilter/window_func: add cauchy, parzen and poisson window function
2016-08-16 18:09:50 +02:00
Paul B Mahol
ea58dd2beb
avfilter/window_func: add dolph window
2016-08-16 15:56:12 +02:00
Paul B Mahol
c13216ac08
avfilter/window_func: add tukey window function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-05 11:37:11 +01:00
Paul B Mahol
45b3e6e04e
avfilter: move window function generation into separate file
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-28 18:54:55 +01:00