summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_perspective.c
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_perspective: Free out AVFrame on errorMichael Niedermayer2017-02-031-0/+1
| | | | | | | Fixes memleak Fixes part of CID1197065 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi: split frame_count between input and output.Nicolas George2016-11-131-2/+2
| | | | | | | | | | | | 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.
* avfilter: make use of ff_filter_get_nb_threadsPaul B Mahol2016-08-291-1/+1
|
* lavfi/perspective: Add basic timeline editing.Thilo Borgmann2016-04-171-23/+59
| | | | | | Add number of input and output frames to possible variables. Add option eval to reevaluate coordinate expressions during initialization or for every frame.
* avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-271-1/+1
| | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avfilter/vf_perspective: use lrint instead of floor hackGanesh Ajjanagadde2015-12-021-5/+5
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter: handle error in query_formats() in bunch of filtersPaul B Mahol2015-04-081-2/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_perspective: Use av_clip_uint8()Michael Niedermayer2015-02-211-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_perspective: add av_assert0() to help gcc see that there are no ↵Michael Niedermayer2014-12-101-0/+3
| | | | | | uninitialized variables Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavfi: added option to vf_perspective to specify transformation by giving ↵Nicholas Robbins2014-10-191-20/+65
| | | | | | | destinations of corners of source. Signed-off-by: Nicholas Robbins <nickrobbins@yahoo.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfitler/vf_perspective: support slice threadingPaul B Mahol2014-08-131-18/+53
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: do not export the filters from shared objects Conflicts: libavfilter/af_amix.c libavfilter/af_anull.c libavfilter/asrc_anullsrc.c libavfilter/f_select.c libavfilter/f_settb.c libavfilter/split.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_blackframe.c libavfilter/vf_colorbalance.c libavfilter/vf_copy.c libavfilter/vf_crop.c libavfilter/vf_cropdetect.c libavfilter/vf_drawbox.c libavfilter/vf_format.c libavfilter/vf_framestep.c libavfilter/vf_frei0r.c libavfilter/vf_hflip.c libavfilter/vf_libopencv.c libavfilter/vf_lut.c libavfilter/vf_null.c libavfilter/vf_overlay.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_unsharp.c libavfilter/vf_vflip.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter: various cosmeticsPaul B Mahol2013-09-121-7/+7
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_perspective: factor u cliping codeMichael Niedermayer2013-08-091-8/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: port perspective filter from libmpcodecsPaul B Mahol2013-07-141-0/+407
Signed-off-by: Paul B Mahol <onemda@gmail.com>
OpenPOWER on IntegriCloud