summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* 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>
* avfilter/avfiltergraph: Add assert to write down in machine readable form ↵Michael Niedermayer2017-01-21
| | | | | | | | what is assumed about sample rates in swap_samplerates_on_filter() Fixes CID1397292 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter:vf_drawtext: add new line space size set parameterSteven Liu2017-01-19
| | | | | | | | add line_spacing parameter to set the space between two lines Based on an idea by: Leandro Santiago <leandrosansilva@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* libavfilter/af_biquads: warn about clipping only after frame with clippingSergey Kudryashov2017-01-12
|
* lavfi: remove stray semicolons.Nicolas George2017-01-12
| | | | Hopefully fix compilation with suncc.
* lavfi: reindent after previous commit.Nicolas George2017-01-12
|
* lavfi/buffersink: move to the new design.Nicolas George2017-01-12
|
* lavfi: do not call ff_filter_frame() with activate.Nicolas George2017-01-12
| | | | | | | | | | | | | | avfilter_graph_request_oldest() does work that should be done by either the filter or the application. The principle of this function, calling ff_request_frame() from outside the filter was always shaky. This version is less elegant since it requires making special cases for each filter, but it is more robust since it no longer calls ff_request_frame() directly without notifying the filter. Eventually, avfilter_graph_request_oldest() will be deprecated for a function to just run the graph.
* lavfi: make two functions static.Nicolas George2017-01-12
| | | | | ff_request_frame_to_filter() and ff_filter_frame_to_filter() are only used in avfilter.c.
* lavfi: disallow ff_request_frame for filters using activate.Nicolas George2017-01-12
| | | | | Having two different functions allows to have stricter tests and detect errors earlier.
* lavfi: add ff_inlink_request_frame().Nicolas George2017-01-12
|
* lavfi: move ff_update_link_current_pts() into the utility functions.Nicolas George2017-01-12
| | | | | | It does not change anything for the existing filters and makes better code fatrorization when future code will use the utility functions.
* lavfi: cosmetic: remove forward declaration.Nicolas George2017-01-12
|
* lavfi: add AVFilter.activate.Nicolas George2017-01-12
|
* lavfi: use the consume helpers in ff_filter_frame_to_filter().Nicolas George2017-01-12
|
* lavfi: add helpers to consume frames from link FIFOs.Nicolas George2017-01-12
|
* lavfi: pass min explicitly to samples_ready().Nicolas George2017-01-12
|
* lavfi: add ff_inlink_evaluate_timeline_at_frame().Nicolas George2017-01-12
|
* lavfi: add ff_inlink_process_commands().Nicolas George2017-01-12
|
* lavfi: merge two variables after a recent commit.Nicolas George2017-01-12
|
* lavfi: implement ff_inlink_make_frame_writable().Nicolas George2017-01-12
| | | | | | | | Unlike av_frame_is_writable(), it uses the link's alloc callback, making direct rendering possible. The code comes from ff_filter_frame_framed(), moved with mostly trivial changes.
* lavfi: export ff_filter_set_ready() to the library.Nicolas George2017-01-12
|
* lavfi: add ff_inlink_acknowledge_status().Nicolas George2017-01-12
| | | | | Also introduce libavfilter/filters.h for all functions needed to implement filters.
* lavfi: document that AVFilterLink is not for applications.Nicolas George2017-01-12
|
* lavfi/tests/filtfmts: include internal.h.Nicolas George2017-01-12
|