summaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* lavfi: Rename local variables "main" as "master".Carl Eugen Hoyos2017-10-074-22/+22
| | | | | Silences several warnings: main is usually a function
* lavfi/avfilter.c: Correct guess_status_pts to account for differing link ↵Sasi Inguva2017-10-071-4/+4
| | | | | | timebases. Signed-off-by: Sasi Inguva <isasi@google.com>
* avfilter/vf_fps: add eof_action filter optionTobias Rapp2017-10-062-2/+14
| | | | | | | | | | | | | | | Allows to specify the action to be performed when reading the last frame from the internal FIFO buffer. By default the last frame is written to filter output depending on the timestamp rounding method. When using "pass" action the last frame is passed through if input duration has not been reached yet. Examples using an input file with 25Hz, 1.4sec duration: - "fps=fps=1:round=near" generates an output file of 1sec - "fps=fps=1:round=near:eof_action=pass" generates an output file of 2sec Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* avfilter/vf_fps: clean-up filter optionsTobias Rapp2017-10-051-6/+6
| | | | | | | Add missing AV_OPT_FLAG_FILTERING_PARAM flag to "start_time" option. Fix indent of "round" named constants and clear unused field values. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* lavfi/vmafmotion: Allow more pix_fmts.Carl Eugen Hoyos2017-10-011-9/+13
|
* avfilter/vf_thumbnail_cuda: Avoid mixing declaration and statementsMichael Niedermayer2017-10-011-1/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vmaf_motion: use correct header guardsJames Almer2017-09-301-3/+3
| | | | | | Fixes fate-source Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter: add vmafmotion filterAshish Singh2017-09-304-0/+425
| | | | | Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Merge commit '5c8a5765dc5f4e29afb85b95be393c30f45412a8'James Almer2017-09-271-3/+3
|\ | | | | | | | | | | | | | | | | * commit '5c8a5765dc5f4e29afb85b95be393c30f45412a8': scale_npp: explicitly set the output frames context for passthrough mode See 62b75537db15816fde8b8a33976ffc4a8277f1fc Merged-by: James Almer <jamrial@gmail.com>
| * scale_npp: explicitly set the output frames context for passthrough modeAnton Khirnov2017-02-111-3/+5
| | | | | | | | | | This is no longer done automatically for filters marked as hwframe-aware.
| * Mark some arrays that never change as const.Anton Khirnov2017-02-014-5/+5
| |
* | avfilter/f_metadata: avoid trailing whitespace in filter outputTobias Rapp2017-09-271-2/+2
| | | | | | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | avfilter/interlace: rename two variables for consistencyThomas Mundt2017-09-252-10/+10
| | | | | | | | Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
* | avfilter/af_headphone: increase max ir lengthPaul B Mahol2017-09-251-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/interlace: add support for 10 and 12 bitThomas Mundt2017-09-237-56/+311
| | | | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/tinterlace: use drawutils for pad modeThomas Mundt2017-09-232-9/+10
| | | | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | lavfi: make window_func an inline functionRostislav Pehlivanov2017-09-237-188/+166
| | | | | | | | | | | | | | Eliminate lavc->lavfi dependency. The function isn't big and doesn't deserve its own file. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avfilter/thumbnail_cuda: add cuda thumbnail filterYogender Gupta2017-09-225-1/+526
| | | | | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | lavfi/stereo3d: Set SAR for every output frame.Carl Eugen Hoyos2017-09-201-10/+12
| | | | | | | | Fixes ticket #6672.
* | avfilter/tinterlace: Simplify checks for lowpass filtering flagsJames Almer2017-09-181-8/+4
| |
* | vf_fps: Fix memory leak introduced by eea64ef4Thierry Foucu2017-09-151-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/interlace: simplify codeThomas Mundt2017-09-152-42/+18
| | | | | | | | | | Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/interlace: prevent over-sharpening with the complex low-pass filterThomas Mundt2017-09-153-30/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The complex vertical low-pass filter slightly over-sharpens the picture. This becomes visible when several transcodings are cascaded and the error potentises, e.g. some generations of HD->SD SD->HD. To prevent this behaviour the destination pixel must not exceed the source pixel when the average of the pixels above and below is less than the source pixel. And the other way around. Tested and approved in a visual transcoding cascade test by video professionals. SSIM/PSNR test with the first generation of an HD->SD file as a reference against the 6th generation(3 x SD->HD HD->SD): Results without the patch: SSIM Y:0.956508 (13.615881) U:0.991601 (20.757750) V:0.993004 (21.551382) All:0.974405 (15.918463) PSNR y:31.838009 u:48.424280 v:48.962711 average:34.759466 min:31.699297 max:40.857847 Results with the patch: SSIM Y:0.970051 (15.236232) U:0.991883 (20.905857) V:0.993174 (21.658049) All:0.981290 (17.279202) PSNR y:34.412108 u:48.504454 v:48.969496 average:37.264644 min:34.310637 max:42.373392 Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vf_fps: when reading EOF, using current_pts to duplicate the last frame if ↵Thierry Foucu2017-09-151-5/+39
| | | | | | | | | | | | | | | | | | needed. Fix ticket #2674 Tested with examples from ticket 2674. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_despill: fix assigmentPaul B Mahol2017-09-141-1/+1
| | | | | | | | | | Reported-by: Moritz Barsnick Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/af_dcshift: do not leak out framePaul B Mahol2017-09-121-2/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/framesync: remove dead code.Nicolas George2017-09-121-3/+1
| | | | | | | | Fix CID 1416960.
* | lavfi/framesync: reword repeatlast option help.Nicolas George2017-09-121-1/+1
| |
* | lavfi: rename framesync2 to framesync.Nicolas George2017-09-1224-197/+197
| |
* | lavfi: remove framesync.Nicolas George2017-09-122-640/+0
| |
* | lavfi/af_sidechaincompress: use helper macros.Nicolas George2017-09-121-10/+5
| |
* | lavfi/af_agate: use helper macros.Nicolas George2017-09-121-10/+5
| |
* | lavfi: add helper functions and macros for activate.Nicolas George2017-09-122-0/+98
| |
* | avfilter/vf_convolve: use av_clip_uint8James Almer2017-09-091-1/+1
| | | | | | | | Fixes fate-source.
* | avfilter: add generic FFT video convolve filterPaul B Mahol2017-09-094-1/+421
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImageClément Bœsch2017-09-081-1/+1
| | | | | | | | | | | | What is required by the filter is CoreImage, there is no QuartzCore usage. QuartzCore/CoreImage.h is simply an include to CoreImage/CoreImage.h.
* | avfilter: add Haas stereo enhancerPaul B Mahol2017-09-084-1/+231
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/buffersrc: add av_buffersrc_close().Nicolas George2017-09-083-11/+21
| |
* | lavfi: guess a timestamp for compat status change.Nicolas George2017-09-081-1/+19
| | | | | | | | | | | | | | | | | | Use the earliest input with the same status. If that fails, print a warning and use the earliest source. With this change, simple filter forward correctly the timestamp of EOF. Filters that are supposed to change it should be updated to actually forward it.
* | avfilter/vf_zoompan: fix specific corner case when no frame was ever ↵Paul B Mahol2017-09-071-0/+1
| | | | | | | | | | | | | | requested from input Reported-by: Nicolas George Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/atempo: Avoid false triggering an assertion failurePavel Koshevoy2017-09-061-0/+5
| | | | | | | | | | | | | | | | Steps to reproduce: 1. revert 4240e5b047379b29c33dd3f4438bc4e610527b83 2. ./ffmpeg -f lavfi -i sine=d=1 -af aselect=e=0,atempo=0.5 -y atempo.wav Signed-off-by: Marton Balint <cus@passwd.hu>
* | Revert "lavfi/atempo: avoid false triggering an assertion failure"Pavel Koshevoy2017-09-061-2/+2
| | | | | | | | | | | | | | | | This reverts commit 4240e5b047379b29c33dd3f4438bc4e610527b83. Fixes ticket #6540. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/af_dcshift: add direct pathPaul B Mahol2017-09-061-5/+11
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_overlay: Restore shorthand option orderMichael Niedermayer2017-09-053-6/+14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/lavfutils: remove usage of AVStream->codecJames Almer2017-09-051-3/+17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/avf_avectorscope: fix mistake in previous commitPaul B Mahol2017-09-051-2/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/avf_avectorscope: add possibility to auto zoomPaul B Mahol2017-09-051-2/+31
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: add despill filterPaul B Mahol2017-09-054-1/+186
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_fftfilt: make it possible to evaluate expressions per framePaul B Mahol2017-09-041-17/+38
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_fftfilt: add generic timeline supportPaul B Mahol2017-09-041-0/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
OpenPOWER on IntegriCloud