summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* vf_drawtext: Fix memory leakKieran Kunhya2017-03-21
|
* add signature filter for MPEG7 video signatureGerion Entrup2017-03-21
| | | | | | | | This filter does not implement all features of MPEG7. Missing features: - compression of signature files - work only on (cropped) parts of the video Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'bdf7610eb266fd3de650040c97328791868abd82'Clément Bœsch2017-03-20
|\ | | | | | | | | | | | | * commit 'bdf7610eb266fd3de650040c97328791868abd82': vf_scale_vaapi: Crop input surface to active region Merged-by: Clément Bœsch <u@pkh.me>
| * vf_scale_vaapi: Crop input surface to active regionMark Thompson2016-09-14
| | | | | | | | | | | | If the input has been decoded from a stream which uses edge cropping then the whole surface need not be valid. This defines an input region for the scaler so we only use the active area of the frame.
| * High Definition Compatible Digital (HDCD) decoder filter, using libhdcdBurt P2016-08-29
| | | | | | | | | | | | Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | lavfi: deprecate AVFilterGraph->resample_lavr_optsRostislav Pehlivanov2017-03-18
| | | | | | | | | | | | | | Not used by anything at all since we don't auto insert lavr filters. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | lavf/vf_framerate: Fix frame leak when increasing framerate.Alexis Ballier2017-03-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_lut3d: actually skip lines when encountering DOMAIN_ stringPaul B Mahol2017-03-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | vf_hwupload: Add missing return value checkJun Zhao2017-03-12
| | | | | | | | | | | | | | | | | | | | | | Add missing return value checks to suppress build warning and remove noop ff_formats_unref() calling. Note: most filters using ff_formats_ref() didn't have a suitable error handling, it's a potential memory leak issue. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | Merge commit 'ad71d3276fef0ee7e791e62bbfe9c4e540047417'Mark Thompson2017-03-12
|\| | | | | | | | | | | | | | | | | * commit 'ad71d3276fef0ee7e791e62bbfe9c4e540047417': lavfi: add a QSV deinterlacing filter Minor fixup for lavfi differences. Merged-by: Mark Thompson <sw@jkqxz.net>
| * lavfi: add a QSV deinterlacing filterAnton Khirnov2016-07-22
| |
| * vf_scale_vaapi: Respect driver quirks around buffer destructionMark Thompson2016-07-02
| |
* | lavfi: add a QSV scaling filterAnton Khirnov2017-03-12
| | | | | | | | | | | | | | | | This merges libav commit ac7bfd69678f3966e38debdb27f4bde94dc0345c, which was previously skipped. (cherry picked from commit ac7bfd69678f3966e38debdb27f4bde94dc0345c) Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | avfilter/af_firequalizer: add av_restrict on convolution funcMuhammad Faiz2017-03-12
| | | | | | | | | | | | | | slightly improved speed Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | libavfilter/avf_showwaves: make sqrt and cbrt scale option values available ↵Moritz Barsnick2017-03-11
| | | | | | | | | | | | | | | | | | | | | | to showwavespic by name The 'sqrt' and 'cbrt' scalers were added in commit 80262d8c86e94ff9a4bb3a9e3c2d734e04ccb399, but their symbolic option values only made available to the showwaves filter, not showwavespic, despite the scalers working properly by their numerical option values. Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
* | avfilter/allfilters: make avfilter_register_all thread safeMuhammad Faiz2017-03-07
| | | | | | | | | | | | | | use ff_thread_once Suggested-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | avfilter/aeval: trim last frame's number of samples to match requested durationPaul B Mahol2017-02-25
| | | | | | | | | | | | Fixes #6181. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi: Add VAAPI deinterlacerMark Thompson2017-02-23
| | | | | | | | | | (cherry picked from commit ade370a4d7eab1866b6023c91c135d27c77ca465) (cherry picked from commit 2d518aec4c781316092be65893b47922c8f71b67)
* | lavfi/buffersrc: fix directly setting channel layoutRostislav Pehlivanov2017-02-21
| | | | | | | | | | | | | | | | | | When setting the channel layout directly using AVBufferSrcParameters the channel layout was correctly set however the init function still expected the old string format to set the number of channels (when it hadn't already been specified). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avfilter/af_atempo: fix drift calculation, ticket #6157Pavel Koshevoy2017-02-20
| | | | | | | | | | | | | | ticket #6157 Reported-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com>
* | avfilter/f_setcmd: fix null pointer dereference on using dash as intervalMarton Balint2017-02-19
| | | | | | | | | | | | | | Fixes Coverity CID 1396259. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/vf_lut: make it possible to clip pixel values that are out of valid ↵Paul B Mahol2017-02-13
| | | | | | | | | | | | | | | | range Previous behavior was not useful at all as such pixels where all mapped to 0. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_lut: do not always explicitly clip pixelsPaul B Mahol2017-02-13
| | | | | | | | | | | | | | Old behaviour was not useful at all. New behaviour only emulate old behaviour with default options. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/minterpolate: Remove an unused variable.Carl Eugen Hoyos2017-02-11
| |
* | avfilter/vf_scale: Fix chroma positioning for 4:2:0 pixel formatMaksym Veremeyenko2017-02-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_midequalizer: Remove duplicate includeMichael Niedermayer2017-02-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/af_pan: fix null pointer dereference on empty tokenMarton Balint2017-02-05
| | | | | | | | | | | | Fixes Coverity CID 1396254. Signed-off-by: Marton Balint <cus@passwd.hu>
* | vf_scale_vaapi: Add missing return value checksMark Thompson2017-02-05
| | | | | | | | Fixes CID 1374119.
* | avfilter/ebur128: fix relative threshold calculation for multiple contextsMarton Balint2017-02-04
| | | | | | | | | | | | | | | | This reworks the code a bit and also disallows NULL contexts. Fixes Coverity CID 1396273, 1396279. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/ebur128: do not allow null ebur128 context in ↵Marton Balint2017-02-04
| | | | | | | | | | | | | | | | | | | | ff_ebur128_relative_threshold The user should supply a proper context. Fixes Coverity CID 1396246. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter: add midequalizer filterPaul B Mahol2017-02-04
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_unsharp: Free out AVFrame on errorMichael Niedermayer2017-02-03
| | | | | | | | | | | | | | Fixes memleak Fixes part of CID1197065 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_perspective: Free out AVFrame on errorMichael Niedermayer2017-02-03
| | | | | | | | | | | | | | Fixes memleak Fixes part of CID1197065 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_fieldhint: Free out AVFrame on errorMichael Niedermayer2017-02-03
| | | | | | | | | | | | | | Fixes memleak Fixes part of CID1197065 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_deshake: Free out AVFrame on errorMichael Niedermayer2017-02-03
| | | | | | | | | | | | | | Fixes memleak Fixes part of CID1197065 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_ciescope: Free out AVFrame on errorMichael Niedermayer2017-02-03
| | | | | | | | | | | | | | Fixes memleak Fixes part of CID1197065 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/scale: refactor common code for scaling height/width expressionsAman Gupta2017-02-02
| | | | | | | | | | | | | | Implements support for height/width expressions in vf_scale_vaapi, by refactoring common code into a new libavfilter/scale.c Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | avfilter/overlay: add gbrp output formatPaul B Mahol2017-01-31
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: add threshold filterPaul B Mahol2017-01-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/showcqt: make minimum timeclamp option lowerMuhammad Faiz2017-01-30
| | | | | | | | | | | | high basefreq does not require high timeclamp Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | lavfi: make ff_framequeue_skip_samples() more useful.Nicolas George2017-01-29
| | | | | | | | | | | | | | | | | | | | Instead of just updating statistics and leaving the work to the call site, have it actually do the work. Also: skip the samples by updating the frame data pointers instead of moving the samples. More efficient and avoid writing into shared frames. Found-By: Muhammad Faiz <mfcc64@gmail.com>
* | avfilter/vf_remap: add . at end of long descriptionPaul B Mahol2017-01-29
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_gblur: Increase supported pixel count from 31bit to 32bit in ↵Michael Niedermayer2017-01-27
| | | | | | | | | | | | | | | | filter_postscale() Fixes CID1396252 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/avf_showspectrum: fix 2 possible crashesPaul B Mahol2017-01-27
| | | | | | | | | | | | | | Make sure no division by zero is done. Make sure there are actually samples available. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: add abitscope multimedia filterPaul B Mahol2017-01-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/formats: do not allow unknown layouts in ff_parse_channel_layout if ↵Marton Balint2017-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | nret is not set Current code returned the number of channels as channel layout in that case, and if nret is not set then unknown layouts are typically not supported. Also use the common parsing code. Use a temporary workaround to parse an unknown channel layout such as '13c', after a 1 year grace period only '13C' will work. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter: add EIA-608 line extractorPaul B Mahol2017-01-24
| | | | | | | | | | Signed-off-by: Dave Rice <dave@dericed.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/af_hdcd: Fix leak of memory allocated by ff_make_format_list()Michael Niedermayer2017-01-22
| | | | | | | | | | | | Fixes CID1396265 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/avf_showspectrum: Fix memleak of text allocated by av_asprintf()Michael Niedermayer2017-01-21
| | | | | | | | | | | | Fixes CID1396261 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_palettegen: Fix leak and simplify codeMichael Niedermayer2017-01-21
| | | | | | | | | | | | Fixes CID1270818 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>