summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* avfilter/af_amerge: properly handle unknown input layoutsMarton Balint2016-12-25
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_w3fdif: add >8 but <16 bit supportPaul B Mahol2016-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/buffersrc: push the frame deeper if requested.Nicolas George2016-12-24
| | | | Reduce peak memory consumption with ffmpeg in certain cases.
* lavf/framesync: detect EOF immediately.Nicolas George2016-12-24
| | | | Fix an infinite loop in forward_status_change().
* avfilter/framequeue: add missing check for ASSERT_LEVELJames Almer2016-12-24
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_deband: do not use uninitialized valuePaul B Mahol2016-12-23
| | | | | | Fixes coverity report. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: avfilter_graph_request_oldest: request a frame again before returning.Nicolas George2016-12-23
| | | | | | | | | With min_samples, if a frame arrives but is too small, it clears frame_wanted_out. In most cases, the destination filter would be activated again later because of frame_wanted_out on its own outputs, but not sinks. avfilter_graph_request_oldest() is doing the work of the sink itself, and is therefore allowed to use frame_blocked_in.
* avfilter/af_amerge: detect EOF immediatelyNicolas George2016-12-23
| | | | | | | Fix an infinite loop in forward_status_change(). Signed-off-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_deband: add planes coupling modePaul B Mahol2016-12-22
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: take_samples: free frames after taking all samples.Nicolas George2016-12-22
|
* avfilter/vf_psnr: add gray10 and gray12 supportPaul B Mahol2016-12-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/framequeue: avoid empty structs.Nicolas George2016-12-20
| | | | Fix compilation on MSVC.
* lavfi/atempo: avoid false triggering an assertion failurePavel Koshevoy2016-12-19
| | | | | | | Steps to reproduce: ./ffmpeg_g -f s16be -i /dev/null -af atempo=0.5 -y /tmp/atempo.wav Signed-off-by: Marton Balint <cus@passwd.hu>
* lavfi: make filter_frame non-recursive.Nicolas George2016-12-18
| | | | | | | | | | | | | | | | | | | | | | | | A lot of changes happen at the same time: - Add a framequeue fifo to AVFilterLink. - split AVFilterLink.status into status_in and status_out: requires changes to the few filters and programs that use it directly (f_interleave, split, filtfmts). - Add a field ready to AVFilterContext, marking when the filter is ready and its activation priority. - Add flags to mark blocked links. - Change ff_filter_frame() to enqueue the frame. - Change all filtering functions to update the ready field and the blocked flags. - Update ff_filter_graph_run_once() to use the ready field. - buffersrc: always push the frame immediately.
* lavfi: add FFFrameQueue API.Nicolas George2016-12-18
|
* avfilter/vf_ssim: add >8 bit depth suppportPaul B Mahol2016-12-17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vsrc_testsrc: draw_bar: make sure width is not negativePaul B Mahol2016-12-15
| | | | | Reported-by: Josh de Kock Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: warn if user gives unknown channel namesPaul B Mahol2016-12-14
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avfilter: fix filtering frames with unknown channel layouts for ↵Marton Balint2016-12-13
| | | | | | | filters needing writable frames Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_ashowinfo: properly show input channel layout for unknown ↵Marton Balint2016-12-10
| | | | | | | channel layouts Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_channelmap: add support for unknown input channel layoutsMarton Balint2016-12-10
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_atempo: add support for unknown channel layoutsMarton Balint2016-12-10
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/formats: allow unknown channel layouts by defaultMarton Balint2016-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the default in the libav fork is to only allow known layouts, making unknown layouts allowed by default here can be a security risk for filters directly merged from libav. However, usually it is simple to detect such cases, use of av_get_channel_layout_nb_channels is a good indicator, so I suggest we change this regardless. See http://ffmpeg.org/pipermail/ffmpeg-devel/2016-November/203204.html. This patch indirectly adds unknown channel layout support for filters where query_formats is not specified: abench afifo ainterleave anullsink apad aperms arealtime aselect asendcmd asetnsamples asetpts asettb ashowinfo azmq It introduces a query_formats callback for the asyncts filter, which only supports known channel layouts since it is using libavresample. And it removes .query_formats callback from filters where it was only there to support unknown layouts, as this is now the default: aloop ametadata anull asidedata asplit atrim Acked-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_deband: fix silly mistakesPaul B Mahol2016-12-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_hwupload_cuda: Add min/max limits for the 'device' optionSrinath K R2016-12-08
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avfilter/vf_premultiply: remove redundant semicolonsMichael Niedermayer2016-12-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add premultiply filterPaul B Mahol2016-12-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: Fix aix compilation.Carl Eugen Hoyos2016-12-01
| | | | | | Rename hz in af_apulsator.c and avf_showspectrum.c as hertz. The aix header sys/m_param.h defines hz as __hz.
* avfilter/vf_hwupload_cuda: fix potential leakTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: check ff_set_common_formats return valueTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: move aspect ratio correction after av_frame_copy_propsMiroslav Slugeň2016-11-30
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avfilter/vf_masked*: add gray10 and gray12 supportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_bitplanenoise: add gray10 and gray12 suppportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: add extract support for 10bit and 12bit formatsPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_waveform: add gray10 and gray12 supportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_colorspace: Forbid odd dimensionsVittorio Giovara2016-11-28
| | | | | | This prevents writing past bounds. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavfi/f_ebur128: relicense to LGPLClément Bœsch2016-11-27
| | | | | | | | | | | | | | All copyright holders have agreed to the relicensing. Approved-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Approved-by: David Sedacca <sedacca@comcast.net> Approved-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Approved-by: Jean First <jeanfirst@gmail.com> Approved-by: Kyle Swanson <k@ylo.ph> Approved-by: Michael Niedermayer <michael@niedermayer.cc> Approved-by: Nicolas George <george@nsup.org> Approved-by: Paul B Mahol <onemda@gmail.com> Approved-by: Thilo Borgmann <thilo.borgmann@mail.de>
* avfilter/vf_zscale: export approximate gamma option and enable it by defaultPaul B Mahol2016-11-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/tests/.gitignore: add integralWan-Teh Chang2016-11-24
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/pan: allow negative gain parameters also for other inputs than the ↵Moritz Barsnick2016-11-24
| | | | | | | | | | | | | | first named Expands the parser to also accept the separator '-' in addition to '+', and take the negative sign into consideration. The optional sign for the first factor in the expression is already covered by parsing for an integer. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_zscale: add support for some recent new additionsPaul B Mahol2016-11-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_hwupload_cuda: check ff_formats_ref for errorsTimo Rothenpieler2016-11-22
|
* avfilter/vf_hwupload_cuda: use new hwdevice allocation APITimo Rothenpieler2016-11-22
|
* avfilter/vf_scale_npp: use dynamically loaded CUDATimo Rothenpieler2016-11-22
|
* lavfi/ebur128: use ff_ prefixKyle Swanson2016-11-13
| | | | Signed-off-by: Kyle Swanson <k@ylo.ph>
* Merge commit 'c3f113d58488df7594a489bdbb993a69ad47063c'Hendrik Leppkes2016-11-13
|\ | | | | | | | | | | | | * commit 'c3f113d58488df7594a489bdbb993a69ad47063c': vf_hwdownload: allocate the destination frame for the pool size Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * vf_hwdownload: allocate the destination frame for the pool sizeAnton Khirnov2016-06-28
| | | | | | | | The reasoning is the same as for the previous commit.
* | vf_scale_vaapi: Respect driver quirks around buffer destructionMark Thompson2016-11-13
| | | | | | | | (cherry picked from commit 582d4211e00015b68626f77ce4af53161e2b1713)
* | lavfi: split frame_count between input and output.Nicolas George2016-11-13
| | | | | | | | | | | | | | | | | | | | | | | | AVFilterLink.frame_count is supposed to count the number of frames that were passed on the link, but with min_samples, that number is not always the same for the source and destination filters. With the addition of a FIFO on the link, the difference will become more significant. Split the variable in two: frame_count_in counts the number of frames that entered the link, frame_count_out counts the number of frames that were sent to the destination filter.
* | lavfi/ebur128: specify scaling_factor directlyMarton Balint2016-11-13
| | | | | | | | | | | | | | This should fix build with Solaris CC. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>