Paul B Mahol
de8a1d8d4d
avfilter/af_aiir: add polar zeros/poles format variant
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
de5b12c93f
avfilter/af_aiir: unbreak clipping detection
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
3c29f68b4d
avfilter/af_aiir: do not leak memory on failure in convert_zp2tf()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
e9edd61965
avfilter/af_aiir: refactor code so it uses IIRChannel struct
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
21c99f4b40
avfilter/af_aiir: make default processing to serially cascaded
Also add several helpfull log messages.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
d9a3074b93
avfilter/af_aiir: add slice threading support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
7add1ca2b5
avfilter/af_aiir: add cascaded biquads support
Also add precision option.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
3f234a0b22
avfilter/af_aiir: do not forget to free gains too
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
205046420d
avfilter/af_aiir: fix typo which may cause overread
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Mark Thompson
dfdc146161
lavfi: Add filters to run arbitrary OpenCL programs
8 years ago
Mark Thompson
202b59cd3d
lavfi/opencl: Use filter device if no input device is available
This allows implementing sources as well as filters.
8 years ago
Paul B Mahol
2d3df8e2e9
avfilter/af_aiir: rename options, provide gains in separate option
This way it can be also used for other format.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
6c65de3db0
avfilter/af_aiir: add support for alternative coefficients format
Support for zeros/poles syntax on Z-plane.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
b2c42fc6dc
avfilter: deprecate avfilter_link_get_channels()
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
50b3cd22dd
avfilter/av_biquads: scale a0 too
Fixes bug when using commands to alter coefficients.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
da5b05c833
Revert "avfilter: deprecate avfilter_link_get_channels()"
This reverts commit 798dcf2432 .
It was applied by accident before it could be reviewed.
8 years ago
James Almer
798dcf2432
avfilter: deprecate avfilter_link_get_channels()
And move the channels field to the public section of the struct.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
52c959a237
avfilter/af_aiir: do not crash with invalid options
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
167e659b28
avfilter: use a mutex instead of atomics in avfilter_register()
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
7bb1be9af0
avfilter: add arbitrary audio IIR filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Marc-Antoine Arnaud
e425047a47
avfilter: rename variables in geq
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Marc-Antoine Arnaud
ac6b0bba79
avfilter: slice processing for geq
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Marc-Antoine Arnaud
206b25f9f4
avfilter: reorder variable definition in geq
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Marton Balint
f528c49c7c
avfilter/vf_framerate: calculate interpolation as integer
It was truncated to int later on anyway. Fate test changes are due to rounding
instead of truncation.
Fixes fate test failures on x86-32 (gcc 4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1))
after 090b740680 .
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Paul B Mahol
89bbf5c7ec
avfilter: add hilbert source FIR filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
88cbd25b19
avfilter: pass outlink to ff_get_audio_buffer()
This is more correct.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Nicolas George
29b5f3115d
lavfi/framesync: remove an invalid free.
8 years ago
Nicolas George
9ace76697a
lavfi/framesync: document frame ownership for dualinput.
8 years ago
Paul B Mahol
09b24a807a
avfilter: add entropy filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Derek Buitenhuis
631fa0432b
vf_paletteuse: Don't free the second frame from ff_framesync_dualinput_get_writable on error
This fixes a double free in he error case.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years ago
Derek Buitenhuis
6470abc740
vf_paletteuse: Add error checking to apply_palette
This fixes a segfault caused by passing NULL to ff_filter_frame
when an error occurs.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years ago
Paul B Mahol
9f7dbaad7e
avfilter/af_crystalizer: use outlink instead of inlink
Doesn't change anything but is more correct.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
f3552c3b9d
avfilter/af_afir: rework FIR gain measurement
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Carl Eugen Hoyos
ad73b32d29
lavfi/minterpolate: Split struct Pixel to allow higher resolutions.
Raises the maximum resolution from 2716x2707 to approximately 4096x4095.
Fixes ticket #6795 .
8 years ago
Paul B Mahol
8c9a91ac82
avfilter: add deconvolve filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
87f148d526
avfilter/vf_convolve: remove padding, its unused and not needed
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
caacbfa773
avfilter/vf_convolve: cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
wm4
9b121dfc32
w32pthreads: always use Vista+ API, drop XP support
This removes the XP compatibility code, and switches entirely to SWR
locks, which are available starting at Windows Vista.
This removes CRITICAL_SECTION use, which allows us to add
PTHREAD_MUTEX_INITIALIZER, which will be useful later.
Windows XP is hereby not a supported build target anymore. It was
decided in a project vote that this is OK.
8 years ago
Paul B Mahol
e712d30173
avfilter/vf_convolve: add threading for complex multiplication
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
c59e49f9b2
avfilter/vf_convolve: implement slice threading
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
f9f1b2a927
avfilter/vf_convolve: split input/output operations from fft
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
86e3eebfb7
avfilter/vf_convolve: use shorter variants for pointers
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
ec6608f51b
avfilter/vf_convolve: clear coefficients only when needed
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
5533cbfc84
avfilter/vf_convolve: fix various issues
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
175122fcd5
avfilter/vf_convolve: fix convolution of borders
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
b5958ff82e
avfilter/vf_convolve: unbreak non-power of 2 width&height filtering
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
b943bc343d
avfilter/vf_fftfilt: support >8 bit depth formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
f6608f4725
avfilter/vf_aspect: change outlink sample aspect ratio instead of inlink
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
4754d70a23
avfilter/video: pick sar from link
It should not be needed for each filter that sets sample aspect ratio
to set it explicitly also for each and every frame, instead that is
automatically done in get_buffer call.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
d2a2bc9a9f
avfilter/vf_lut: add support for gray formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago