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.
2019-01-05 09:40:41 +01:00
James Almer
ef67af31ff
x86/af_afir: use three operand form forat some instructions
...
Fixes compilation with old yasm versions.
Signed-off-by: James Almer <jamrial@gmail.com>
2019-01-03 23:36:19 -03:00
James Almer
5402c1886b
x86/af_afir: add ff_fcmul_add_avx()
...
fcmul_add_c: 1228.8
fcmul_add_sse3: 334.3
fcmul_add_avx: 186.3
Tested on a Core i5 4460 @ 3.2GHz
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-01-03 10:12:19 -03:00
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>
2019-01-03 10:12:18 -03:00
James Almer
9b5bd665e1
x86/af_afir: fix processing the last element
...
ff_fcmul_add_sse3() is now identical to the C version.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-01-03 10:12:18 -03:00
Paul B Mahol
af5b6b45b4
avfilter/vf_detelecine: fix obvious frame memory leaks
2019-01-02 15:34:41 +01:00
Michael Niedermayer
1b6695354d
avfilter/af_biquads: minor simplification by using ff_exp10()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
5785e0e9c4
avfilter/af_crossfeed: Use ff_exp10()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
796807022c
avfilter/ebur128: Simplify by using log10()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
47c3a10b16
avfilter/vf_tonemap_opencl: Make static tables const
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Paul B Mahol
35a8179149
avfilter/af_adelay: allow setting delays in seconds
2019-01-01 13:33:16 +01:00
Paul B Mahol
e1f7881d92
afilter/af_sofalizer: check explicitly other type
2019-01-01 12:29:19 +01:00
Paul B Mahol
51b356eef8
avfilter/af_sofalizer: stop allocating never used buffers
2018-12-31 19:40:18 +01:00
Paul B Mahol
86555a2fbf
avfilter/af_afir: fix overhead for small partitions
2018-12-31 18:07:46 +01:00
Paul B Mahol
3e8f211d86
avfilter/vf_chromashift: remove invalid offset
2018-12-30 22:31:52 +01:00
Paul B Mahol
ea3a980a61
avfilter/af_afir: do not over allocate fft buffer
2018-12-30 22:11:46 +01:00
Marton Balint
f9e947845f
avfilter/af_asetnsamples: fix last frame props
...
Frame properties were not copied, so e.g. PTS was not set for the last frame.
Regression since ef3babb2c7
.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-30 20:05:34 +01:00
Zachary Zhou
b6b3159b04
lavfi/vaapi: Add constant VAAPI_VPP_BACKGROUND_BLACK
...
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
2018-12-30 18:10:16 +00:00
Paul B Mahol
ba3d983c95
avfilter/af_afir: stop using as much threads as stream have it
2018-12-30 17:50:44 +01:00
Paul B Mahol
72270d5bd0
avfilter/af_afir: optimize code a little more
...
Avoid memset.
2018-12-30 17:50:44 +01:00
Paul B Mahol
a53a9f1c8d
avfilter/af_afir: implement non-uniform partitioned convolution
...
Using multiple frequency delay lines.
2018-12-30 13:40:29 +01:00
Paul B Mahol
300dc45fdc
avfilter/af_afir: properly split IR into multiple segments
2018-12-29 10:57:58 +01:00
Paul B Mahol
3c3eb4930e
avfilter/af_afir: make part_index values per channel
2018-12-29 10:46:25 +01:00
Paul B Mahol
31c9d693aa
avfilter/af_afir: make number of segments extendable
2018-12-29 10:39:19 +01:00
Paul B Mahol
6095356d5b
avfilter/af_afir: use AVFrame for coeff too
2018-12-29 10:17:39 +01:00
Paul B Mahol
1ba909fabe
avfilter/af_afir: use segment pointer
2018-12-29 08:35:23 +01:00
Paul B Mahol
30bf54b9f3
avfilter/af_afir: introduce uninit_segment() and use it
2018-12-29 08:35:23 +01:00
Paul B Mahol
8007e8fc67
avfilter/af_afir: fix minp/maxp range and change default value for maxp
2018-12-29 08:35:23 +01:00
Paul B Mahol
c343e81ffd
avfilter/af_afir: introduce init_segment() and use it
2018-12-29 08:35:23 +01:00
Paul B Mahol
e57053417a
avfilter/af_afir: move allocation stuff where it belongs
2018-12-29 08:35:23 +01:00
Paul B Mahol
7312e027d6
avfilter/af_afir: introduce AudioFIRSegment structure and use it
2018-12-29 08:35:23 +01:00
Paul B Mahol
dbf43ace21
afilter/af_afir: remove invalid delay
2018-12-27 18:02:31 +01:00
Paul B Mahol
f266d2ac90
avfilter/af_afir: remove not needed nb_samples from filter context
2018-12-27 14:11:12 +01:00
Paul B Mahol
ff0b4d5af7
avfilter/af_afir: remove not needed operations
2018-12-27 12:55:07 +01:00
Paul B Mahol
b5e0a0fe3a
avfilter/af_sofalizer: use av_log2()
2018-12-27 12:31:01 +01:00
Paul B Mahol
aece1eb1e9
avfilter/af_headphone: use av_log2()
2018-12-27 12:30:04 +01:00
Paul B Mahol
d702600350
avfilter/af_afir: remove dead store variable
2018-12-26 22:30:10 +01:00
Paul B Mahol
8443462e4a
avfilter/af_afir: remove unused variable
2018-12-26 21:57:59 +01:00
Paul B Mahol
9ce96a744d
avfilter/af_headphone: fix regression after 7c201e420
2018-12-26 10:41:41 +01:00
Paul B Mahol
92ed9316bb
avfilter/af_sofalizer: fix regression after 7ea4b928a2
2018-12-26 10:18:19 +01:00
Paul B Mahol
60e9007be2
avfilter/af_sofalizer: fix typo in comments
2018-12-26 10:01:06 +01:00
Paul B Mahol
8e4e2c9e40
avfilter/af_sofalizer: use float constants
2018-12-26 10:01:06 +01:00
Paul B Mahol
530fc345ec
avfilter/af_sofalizer: add fltp sample format support
2018-12-26 10:01:06 +01:00
Paul B Mahol
6c7eb0708e
avfilter/af_headphone: speed up fast convolution
...
Do IFFT only once per output channel.
2018-12-25 19:17:25 +01:00
Paul B Mahol
8d0b8c50bd
avfilter/af_sofalizer: speed up fast convolution
...
Do inverse FFT only once per output channel.
2018-12-25 18:56:55 +01:00
Paul B Mahol
d6fc20a3ba
avfilter/af_surround: fix code indentation
2018-12-24 20:58:12 +01:00
Paul B Mahol
3bc711a267
avfilter/af_headphone: do not reduce LFE gain too much
2018-12-24 15:24:20 +01:00
Paul B Mahol
84d1adb118
avfilter/af_sofalizer: do not reduce LFE by 6dB
...
It is already reduced enough.
2018-12-24 15:24:20 +01:00
Paul B Mahol
7d5bb3a4d3
avfilter/af_sofalizer: fix memory leaks
2018-12-23 21:49:30 +01:00
Paul B Mahol
ee64b64c02
avfilter/af_sofalizer: set delays when interpolation is disabled
2018-12-23 21:40:07 +01:00