Paul B Mahol
f2e2456294
avfilter/af_afir: adjust min partition size
Minimal value allowed by our FFT is 16 thus min partition size is 8.
6 years ago
James Almer
82043dfd2e
avfilter/af_afir: split off fcmul_add into a DSP context
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Paul B Mahol
86555a2fbf
avfilter/af_afir: fix overhead for small partitions
6 years ago
Paul B Mahol
ea3a980a61
avfilter/af_afir: do not over allocate fft buffer
6 years ago
Paul B Mahol
ba3d983c95
avfilter/af_afir: stop using as much threads as stream have it
6 years ago
Paul B Mahol
72270d5bd0
avfilter/af_afir: optimize code a little more
Avoid memset.
6 years ago
Paul B Mahol
a53a9f1c8d
avfilter/af_afir: implement non-uniform partitioned convolution
Using multiple frequency delay lines.
6 years ago
Paul B Mahol
300dc45fdc
avfilter/af_afir: properly split IR into multiple segments
6 years ago
Paul B Mahol
3c3eb4930e
avfilter/af_afir: make part_index values per channel
6 years ago
Paul B Mahol
31c9d693aa
avfilter/af_afir: make number of segments extendable
6 years ago
Paul B Mahol
6095356d5b
avfilter/af_afir: use AVFrame for coeff too
6 years ago
Paul B Mahol
1ba909fabe
avfilter/af_afir: use segment pointer
6 years ago
Paul B Mahol
30bf54b9f3
avfilter/af_afir: introduce uninit_segment() and use it
6 years ago
Paul B Mahol
8007e8fc67
avfilter/af_afir: fix minp/maxp range and change default value for maxp
6 years ago
Paul B Mahol
c343e81ffd
avfilter/af_afir: introduce init_segment() and use it
6 years ago
Paul B Mahol
e57053417a
avfilter/af_afir: move allocation stuff where it belongs
6 years ago
Paul B Mahol
7312e027d6
avfilter/af_afir: introduce AudioFIRSegment structure and use it
6 years ago
Paul B Mahol
dbf43ace21
afilter/af_afir: remove invalid delay
6 years ago
Paul B Mahol
f266d2ac90
avfilter/af_afir: remove not needed nb_samples from filter context
6 years ago
Paul B Mahol
ff0b4d5af7
avfilter/af_afir: remove not needed operations
6 years ago
Paul B Mahol
d702600350
avfilter/af_afir: remove dead store variable
6 years ago
Paul B Mahol
8443462e4a
avfilter/af_afir: remove unused variable
6 years ago
Paul B Mahol
29fdaaa80d
avfilter/af_afir: fix hang because video is first requested
6 years ago
Paul B Mahol
16d91b7e99
avfilter/af_afir: kill useless code which increases latency for no reason
6 years ago
Paul B Mahol
36348d77b8
avfilter/af_afir: add minp/maxp options to control latency and speed
6 years ago
Paul B Mahol
698e67bef2
avfilter/af_afir: do not leak frame and clear pointer to freed frame
6 years ago
Paul B Mahol
1d9fe1fdf6
avfilter/af_afir: implement rate option
6 years ago
Paul B Mahol
8dc5eb43b0
avfilter/af_afir: return early when giving video frame
6 years ago
Paul B Mahol
fcbde5e6a4
avfilter/af_afir: remove redundant code
6 years ago
Paul B Mahol
0939c33b54
avfilter/af_afir: calculate group delay too
6 years ago
Paul B Mahol
7a6d88ee62
avfilter/af_afir: remove again option, merge it with gtype
6 years ago
Paul B Mahol
0baca07759
avilter/af_afir: add irfmt option
6 years ago
Paul B Mahol
4901fa1fb8
avfilter/af_afir: use internal lavfi queue
6 years ago
Paul B Mahol
9e45364a80
avfilter/af_afir: make IR gain control more flexible
For this reason introduce two more options.
6 years ago
Paul B Mahol
876101cf41
avfilter/af_afir: switch to activate
6 years ago
Paul B Mahol
da7a0ac979
avfilter/af_afir: check return value of ff_insert_outpad()
6 years ago
Carl Eugen Hoyos
9cb3d8fcb7
lavfi/af_afir,af_aiir: Remove a variable that is always -1.
Fixes two warnings:
libavfilter/af_afir.c:194:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1;
~~~~~~~~~~~~^~~~
libavfilter/af_aiir.c:689:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1;
~~~~~~~~~~~~^~~~
6 years ago
Paul B Mahol
d0e740b8fb
avfilter/af_afir: fix picking of IR channel
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
73438dbbbc
avfilter/af_afir: draw IR frequency response
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
6e05a11e89
avfilter/af_afir: make max IR length configurable
Also increase max allowed dry/wet value.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
f3552c3b9d
avfilter/af_afir: rework FIR gain measurement
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
d1b284119b
avfilter/af_afir: add missing error check
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
bd404e3949
avfilter/af_afir: workaround nonsense limitation in vector_fmul_scalar()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
49bbfb9d13
avfilter: add arbitrary audio FIR filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago