summaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '1339009c4924a20e872aa62897097bf5d071157c'Hendrik Leppkes2015-11-111-7/+6
|\ | | | | | | | | | | | | * commit '1339009c4924a20e872aa62897097bf5d071157c': vf_showinfo: show timebase & framerate too Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * vf_showinfo: show timebase & framerate tooMichael Niedermayer2015-11-091-1/+26
| | | | | | | | | | (cherry picked from ffmpeg commit fdb93996811bacfa7b82995cdc0f93c46f3dc6cc) Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_frei0r: also set AVFilterLink.frame_rateMichael Niedermayer2015-11-091-0/+1
| | | | | | | | | | (cherry picked from ffmpeg commit 353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '7d12cba95ca15198a930c05458dc414ac00c578b'Hendrik Leppkes2015-11-111-10/+10
|\ \ | |/ | | | | | | | | | | * commit '7d12cba95ca15198a930c05458dc414ac00c578b': vf_framepack: Check and update frame_rate Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * vf_framepack: Check and update frame_rateMichael Niedermayer2015-11-091-10/+21
| | | | | | | | | | (cherry picked from ffmpeg commit a46a23d30fea9c8a5570e07ec4d9c9b4eaa6eb4f) Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_interlace: implement frame rateMichael Niedermayer2015-11-091-0/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from ffmpeg commit 227b4458fb434875b127a0c2306fa3b899a770bf) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '018bdaed37d2f1735dbecfc58309a1a164abadd5'Hendrik Leppkes2015-11-111-2/+3
|\ \ | |/ | | | | | | | | | | * commit '018bdaed37d2f1735dbecfc58309a1a164abadd5': setpts: add FRAME_RATE constant Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * setpts: add FRAME_RATE constantStefano Sabatini2015-11-091-0/+9
| | | | | | | | | | | | | | | | Useful for dealing with constant frame-rate video. (cherry picked from ffmpeg commit 722762f7e1212b4d02142778fabfdd73375722e0) Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * testsrc: set output framerateStefano Sabatini2015-11-091-8/+6
| | | | | | | | | | | | (cherry picked from ffmpeg commit 7cd5fa35fecc2717223459d04822faed6bbd40fa) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '9df477e03ef74068f3de130adc4dd34349a16ef2'Hendrik Leppkes2015-11-111-2/+3
|\ \ | |/ | | | | | | | | | | * commit '9df477e03ef74068f3de130adc4dd34349a16ef2': yadif: update frame rate Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * yadif: update frame rateMichael Niedermayer2015-11-091-0/+4
| | | | | | | | | | (cherry picked from ffmpeg commit 31619584556466e4beab98e9b04ed4c5ba0db178) Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_fps: set frame_rate.Nicolas George2015-11-091-3/+4
| | | | | | | | | | | | (cherry picked from ffmpeg commit 0d249316043fb69a3972029bff3a2969689ba8b6) Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * buffersrc: accept the frame rate as argument.Nicolas George2015-11-091-0/+3
| | | | | | | | | | | | (cherry picked from ffmpeg commit 9ca440679dc535b31edd569393d8d3dda59db90e) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '48ff6683ba5d40b629428673b1028e8ec542a9fa'Hendrik Leppkes2015-11-112-5/+5
|\ \ | |/ | | | | | | | | | | * commit '48ff6683ba5d40b629428673b1028e8ec542a9fa': lavfi: add a frame_rate field to AVFilterLink. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavfi: add a frame_rate field to AVFilterLink.Nicolas George2015-11-093-1/+15
| | | | | | | | | | | | (cherry picked from ffmpeg commit 7b42036b3b23c85f473bf9369e37fa8da22eaf93) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avfilter/avf_showcqt: Fix uninitialized return codeMichael Niedermayer2015-11-111-1/+1
| | | | | | | | | | | | Fixes CID1322329 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | aviflter/vf_waveform: speed up non-color filtersPaul B Mahol2015-11-101-140/+56
| | | | | | | | | | | | Remove loops, output is also more interesting. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '2ec112f71cd03ccab1b6f9a00d29199a57bcc7a5'Hendrik Leppkes2015-11-101-5/+5
|\ \ | |/ | | | | | | | | | | * commit '2ec112f71cd03ccab1b6f9a00d29199a57bcc7a5': vf_pad: fix x, y option expression evaluation Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * vf_pad: fix x, y option expression evaluationJohn Stebbins2015-11-061-5/+5
| | | | | | | | | | | | | | | | Calculation of x an y based on width and height did not work when width == 0 or height == 0. "0" substitutes the input width and height, but did so too late for x, y expression evaluation. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-261-2/+2
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* | avfilter: add anoisesrcKyle Swanson2015-11-084-2/+211
| | | | | | | | | | Signed-off-by: Kyle Swanson <k@ylo.ph> Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/af_asyncts: remove looping on request_frame().Nicolas George2015-11-071-2/+1
| |
* | lavfi/af_amix: mostly fix scheduling.Nicolas George2015-11-071-80/+62
| |
* | lavfi/vf_framepack: fix scheduling.Nicolas George2015-11-071-3/+15
| |
* | lavfi/af_join: partially fix scheduling.Nicolas George2015-11-071-17/+33
| |
* | lavfi/fifo: do not assume request_frame() returns a frame.Nicolas George2015-11-071-2/+4
| |
* | lavfi/avf_concat: return immediately after requesting a frame on input.Nicolas George2015-11-071-3/+2
| |
* | lavfi: remove astreamsync.Nicolas George2015-11-073-245/+0
| | | | | | | | | | It was only useful for very specific testing purposes and appears to be currently partially broken.
* | lavfi: add realtime filter.Nicolas George2015-11-073-0/+136
| | | | | | | | | | Similar to the -re option in ffmpeg that only works for input files. Can be used at any place in the filter graph.
* | lavfi: add testsrc2 test source.Nicolas George2015-11-073-0/+273
| | | | | | | | | | | | | | | | Similar to testsrc, but using drawutils and therefore supporting a lot of pixel formats instead of just rgb24. This allows using it as input for other tests without requiring a format conversion. It is also slightly faster than testsrc for some reason.
* | avfilter/showcqt: remove yuv offsetMuhammad Faiz2015-11-031-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this makes draw_bar faster slightly different result with old version check result (with ~3 minutes audio file): old: real 0m49.611s user 0m49.260s sys 0m0.073s new: real 0m47.606s user 0m47.378s sys 0m0.068s PSNR between old and new: yuv444p PSNR y:109.519298 u:107.506485 v:104.746878 average:106.816074 min:99.167305 max:inf yuv422p PSNR y:109.519298 u:108.025801 v:104.489734 average:107.279817 min:98.007467 max:inf yuv420p PSNR y:109.519298 u:108.363875 v:105.290200 average:108.261511 min:97.461812 max:inf Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | all: use FFDIFFSIGN to resolve possible undefined behavior in comparatorsGanesh Ajjanagadde2015-11-034-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FFDIFFSIGN was created explicitly for this purpose, since the common return a - b idiom is unsafe regarding overflow on signed integers. It optimizes to branchless code on common compilers. FFDIFFSIGN also has the subjective benefit of being easier to read due to lack of ternary operators. Tested with FATE. Things not covered by this are unsigned integers, for which overflows are well defined, and also places where overflow is clearly impossible, e.g an instance where the a - b was being done on 24 bit values. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/vf_rotate: correct log messageGanesh Ajjanagadde2015-11-031-2/+2
| | | | | | | | | | | | | | There seems to be some typos in the log messages that are fixed by this. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/vf_frei0r: use av_strtod instead of strtod for added flexibilityGanesh Ajjanagadde2015-11-021-1/+2
| | | | | | | | | | | | | | | | | | This converts the usage of strtod to av_strtod in order to unify and make number parsing more consistent. This also adds support for SI postfixes. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | vf_boxblur: Templatize blur{8,16}Timothy Gu2015-11-011-66/+44
| | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_deshake: replace qsort with AV_QSORTGanesh Ajjanagadde2015-10-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qsort is called indirectly in filter_frame, suggesting its performance criticality. AV_QSORT is substantially faster due to the inlining of the comparison callback. Thus, the increase in performance should be worth the increase in binary size. This optimization is just a low hanging fruit. The trac ticket 1430 is a request for an improved deshake filter. Sample benchmark (x86-64, Haswell, GNU/Linux): File: original from https://trac.ffmpeg.org/ticket/1430 command: ffmpeg -stream_loop 8 -i file.webm -vf deshake=rx=64:ry=64 -f null - Timer truncated at 1024 runs. new: 28260 decicycles in qsort, 1 runs, 0 skips 35570 decicycles in qsort, 2 runs, 0 skips 39010 decicycles in qsort, 4 runs, 0 skips 46897 decicycles in qsort, 8 runs, 0 skips 40442 decicycles in qsort, 16 runs, 0 skips 41611 decicycles in qsort, 32 runs, 0 skips 40345 decicycles in qsort, 64 runs, 0 skips 38967 decicycles in qsort, 128 runs, 0 skips 38647 decicycles in qsort, 256 runs, 0 skips 40238 decicycles in qsort, 512 runs, 0 skips 39676 decicycles in qsort, 1024 runs, 0 skips old: 1740280 decicycles in qsort, 1 runs, 0 skips 923560 decicycles in qsort, 2 runs, 0 skips 511330 decicycles in qsort, 4 runs, 0 skips 309720 decicycles in qsort, 8 runs, 0 skips 194900 decicycles in qsort, 16 runs, 0 skips 142686 decicycles in qsort, 32 runs, 0 skips 112516 decicycles in qsort, 64 runs, 0 skips 98166 decicycles in qsort, 128 runs, 0 skips 88147 decicycles in qsort, 256 runs, 0 skips 88706 decicycles in qsort, 512 runs, 0 skips 86783 decicycles in qsort, 1024 runs, 0 skips Reviewed-by: Nicolas George <george@nsup.org> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/avf_showcqt: Replace all fmin* and fmax* by FFMIN/FFMAXMichael Niedermayer2015-10-311-8/+8
| | | | | | | | | | | | | | | | Should fix build on x86_32-msvc2012 The alternative of emulating fmin/fmax* turns out to be non trivial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/showcqt: fix dependency with avformatMuhammad Faiz2015-10-301-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vf_lut: Add support for RGB48 and RGBA64.Steven Robertson2015-10-301-2/+48
| | | | | | | | | | | | Signed-off-by: Steven Robertson <steven@strobe.cc> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/avf_showvolume: use log10 instead of log()/M_LN10Ganesh Ajjanagadde2015-10-291-1/+1
| | | | | | | | | | | | | | This is likely more precise and conveys the intent better. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/vf_ssim: use log10 instead of log()/log(10)Ganesh Ajjanagadde2015-10-291-1/+1
| | | | | | | | | | | | | | This is likely more precise and conveys the intent better. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/avf_showspectrum: use log10 instead of log()/...Ganesh Ajjanagadde2015-10-291-1/+1
| | | | | | | | | | | | | | This is likely more precise and conveys the intent better. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/vf_psnr: use log10 instead of log()/log(10)Ganesh Ajjanagadde2015-10-291-1/+1
| | | | | | | | | | | | | | This is likely more precise and conveys the intent better. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/af_volume: use log10 instead of log()/M_LN10Ganesh Ajjanagadde2015-10-291-1/+1
| | | | | | | | | | | | | | This is likely more precise and conveys the intent better. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/tremolo: fix wavetable buffer sizeKyle Swanson2015-10-291-3/+3
| | | | | | | | | | | | Signed-off-by: Kyle Swanson <k@ylo.ph> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/asrc_sine: fix options typosKyle Swanson2015-10-291-2/+2
| | | | | | | | | | | | Signed-off-by: Kyle Swanson <k@ylo.ph> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/showcqt: fix compilation with libswscale disabledJames Almer2015-10-291-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/avf_showcqt: Fix ;;Michael Niedermayer2015-10-281-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/avf_showcqt: rewrite showcqt and add featuresMuhammad Faiz2015-10-283-486/+1174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add yuv444p, yuv422p, and yuv420p output format (lower cpu usage on ffplay playback because it does not do format conversion) custom size with size/s option (fullhd option is deprecated) custom layout with bar_h, axis_h, and sono_h option support rational frame rate (within fps/r/rate option) relaxed frame rate restriction (support fractional sample step) support all input sample rates separate sonogram and bargraph volume (with volume/sono_v and volume2/bar_v) timeclamp option alias (timeclamp/tc) fcount option gamma option alias (gamma/sono_g and gamma2/bar_g) support custom frequency range (basefreq and endfreq) support drawing axis using external image file (axisfile option) alias for disabling drawing to axis (text/axis) possibility to optimize it using arch specific asm code Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-274-6/+6
| |
OpenPOWER on IntegriCloud