summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* avfilter/avf_showfreqs: make it possible to split channelsPaul B Mahol2015-12-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_dynaudnorm: use av_malloc_array()Paul B Mahol2015-12-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: add interleave columns input supportPaul B Mahol2015-12-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/vsrc_mandelbrot: replace round by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | lrint is at least as fast, and is more accurate. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_cropdetect: replace round by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | lrint is at least as fast, and more accurate. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_idet: replace round and cast by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | | lrint is faster and conveys the intent better here. It is safe as long int has at least 32 bits. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/vf_delogo: change the definition of logo_x2 and logo_y2Jean Delvare2015-12-19
| | | | | | | | | In the code we keep using logo_x2-1 and logo_y2-1 rather than logo_x2 and logo_y2 themselves. Define them to be what we need instead, to avoid the repeated subtractions. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_stereo3d: fix interleaved columns outputPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: multiply linesize only once for interleaved row to monoPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: add fast path for interleave rows to monoPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: fix interleave rows outputPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: add fast path for interleave rows to alternatingPaul B Mahol2015-12-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: Fix occured typoMichael Niedermayer2015-12-17
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_sofalizer: use SIMD in compensate_volume()Paul B Mahol2015-12-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: get rid of ts_unit hackPaul B Mahol2015-12-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_ladspa: unbreak Mch -> Nch plugins, where M < NPaul B Mahol2015-12-15
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: add direct (faster) path:Paul B Mahol2015-12-15
| | | | | | | for above below and side by side to alternating format for above below and side by side to mono format Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: use a video frame pool for each link of the filtergraphMatthieu Bouron2015-12-15
|
* avfilter/af_sofalizer: check av_fft_init return codePaul B Mahol2015-12-15
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_decimate: fix typo in fractionMichael Niedermayer2015-12-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_sofalizer: add frequency domain processing and use it by defaultPaul B Mahol2015-12-14
| | | | | | Code ported from SOFAlizer patch for VLC. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_decimate: Check that input parameters matchMichael Niedermayer2015-12-14
| | | | | | Fixes Ticket4964 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_decimate: change ts_unit to AVRationalMichael Niedermayer2015-12-14
| | | | | | This might help with rounding differences between platforms Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_mpdecimate: Add missing emms_c()Michael Niedermayer2015-12-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_delogo: fix show option when clippingJean Delvare2015-12-14
| | | | | | | | The show option did not take clipping into account, so the borders on the clipped side wouldn't show up. Fix it. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_sofalizer: switch comments positions to correct orderPaul B Mahol2015-12-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/ebur128: apply I dual mono correction only if I availableClément Bœsch2015-12-13
| | | | Spotted-by: jamrial & gcc 6
* avfilter/af_sofalizer: fix calculation of split pointPaul B Mahol2015-12-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: remove reorder hackPaul B Mahol2015-12-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: move modulo operation out of loopPaul B Mahol2015-12-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: make it possible to configure speaker elevationPaul B Mahol2015-12-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: display some info when loading sofa filePaul B Mahol2015-12-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add SOFAlizer audio filterPaul B Mahol2015-12-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_delogo: Use AVPixFmtDescriptor.nb_componentsJean Delvare2015-12-12
| | | | | | | | | Relying on AVPixFmtDescriptor.nb_components is cleaner and faster than checking data and linesize for every possible plane. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/formats: fix segfault when allocation failsGanesh Ajjanagadde2015-12-11
| | | | | | | This is a somewhat subtle failure that can occur when the realloc_array fails in FORMATS_REF. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/af_aemphasis: more declarations abovePaul B Mahol2015-12-11
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/vf_alphamerge: fix unitialized pointersGanesh Ajjanagadde2015-12-10
| | | | | | Missed in commit 31f0d555e07797df1a0a141fa5e022648d480a49. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_overlay: fix unitialized pointersGanesh Ajjanagadde2015-12-10
| | | | | | | Missed in commit 301c2784b35036945cd9a7049808deecce149916. Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/x86/vf_maskedmerge: move %define out of .nextrowPaul B Mahol2015-12-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showfreqs: avoid wasteful powGanesh Ajjanagadde2015-12-09
| | | | | | | pow is a ridiculous function for computing a simple Gaussian. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/af_amix: fix memory leakGanesh Ajjanagadde2015-12-09
| | | | | | | | | | | | | | | | | Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1250334. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/af_channelmap: fix memory leakGanesh Ajjanagadde2015-12-09
| | | | | | | | | | | | | | | | | | Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1338330. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_alphamerge: fix memory leaksGanesh Ajjanagadde2015-12-09
| | | | | | | | | | | | | | | | | Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1338326, 1338329. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_overlay: fix memory leaksGanesh Ajjanagadde2015-12-09
| | | | | | | | | | | | | | | | | Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1338327. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/show_palette: fix memory leakGanesh Ajjanagadde2015-12-09
| | | | | | | | | | | | | | | | | | | | | Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Unfortunately, even leaving aside this subtle intermediate failure aspect, commit 8087632027d755cd32ccc9e91ea025e276197055 was only partially successful in addressing memleaks. Hopefully, this commit fixes the issue completely. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1270818. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/vf_delogo: round to the closest valueJean Delvare2015-12-09
| | | | | | | | | | | | | When the interpolated value is divided by the sum of weights, no rounding is done, which means the value is truncated. This results in a slight bias towards dark green in the interpolated area. Rounding properly removes the bias. I measured this change to reduce the interpolation error by 1 to 2 % on average on a number of sample input and logo area combinations. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_biquads: pass filter ctx to av_log callsPaul B Mahol2015-12-07
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/showcqt: BASEFREQ and ENDFREQ cast to doubleMuhammad Faiz2015-12-07
| | | | | | | | | | | fix default basefreq/endfreq comparison on platform that does not do comparison in double type found on zeranoe 32-bit build, where default freq range is detected as non-default Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_alimiter: add 3 more optionsPaul B Mahol2015-12-06
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: fix logic failPaul B Mahol2015-12-06
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>