aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_scale: Allow chroma samples to be above and to the left of luma ↵Michael Niedermayer2014-09-211-4/+4
| | | | | | | | | | | | samples Found-by: Kierank Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e927682e1b258501f3ddecef85801282267277c7) Conflicts: libavfilter/version.h
* vf_deshake: rename Transform.vector to Transform.vec to avoid compiler confusionAndreas Cadhalpun2014-09-182-26/+26
| | | | | | | | | | | | The token 'vector' is a keyword in the Vector/SIMD Multimedia Extension data types and thus should not be used as a variable name. This fixes building on powerpc/ppc64el. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 739f179dd6a21f3fcbd3d23d3d14cde9bb587ead) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* av_filter/x86/idet: use HADDD where appropriatePascal Massimino2014-09-091-16/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* av_filter/x86/idet: MMX/SSE2 implementation of 16bits filter_line()Pascal Massimino2014-09-094-14/+103
| | | | | | | | tested on http://ps-auxw.de/10bit-h264-sample/10bit-eldorado.mkv MMX: ~30% faster decoding overall SSE2:~40% faster Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_cropdetect: Do not check lines or columns twice on black framesMichael Niedermayer2014-09-091-2/+2
| | | | | Idea from patch by: hjiodjf 97xgw46 <jfbvxt@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/af_silenceremove: remove dead codeMichael Niedermayer2014-09-061-5/+2
| | | | | | | Fixes CID1237284 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/ebur128: rework channel weighting definition codeClément Bœsch2014-09-061-11/+3
| | | | Should fix CID1194399 (Bad bit shift operation)
* add silenceremove filterPaul B Mahol2014-09-054-2/+486
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vfi/x86/vf_idet: fix incorrect use of paddqJames Darnley2014-09-051-1/+1
| | | | | | | | | paddq is an SSE2 instruction so it cannot be used for MMX. This was probably just a typo because the sums are dwords anyway. Reviewed-by: Pascal Massimino <pascal.massimino@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/x86/idet: fix license header (GPL -> LGPL)Pascal Massimino2014-09-053-31/+34
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_idet: MMX/MMXEXT/SSE2 implementation of idet's filter_line()skal2014-09-045-32/+250
| | | | | | | | integration by Neil Birkbeck, with help from Vitor Sessak. core SSE2 loop by Skal (pascal.massimino@gmail.com) Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vf_deshake: Avoid doing a malloc+free for every single frame.Reimar Döffinger2014-09-022-4/+8
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* vf_deshake: reduce stack usage.Reimar Döffinger2014-09-022-8/+8
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* vf_drawtext: move "static const" before "struct".Reimar Döffinger2014-08-311-2/+2
| | | | | | This is consistent with all other occurrences. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* lavfi: add const/static const to pix_fmts arrays.Reimar Döffinger2014-08-314-4/+4
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* avfilter/vf_mp: remove incorrect usage of AVFrame.typeMichael Niedermayer2014-08-301-2/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add missing "const" all over the place.Reimar Döffinger2014-08-297-8/+8
| | | | | | Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* avfilter: add codecview filterClément Bœsch2014-08-243-0/+246
|
* avfilter/showcqt: add fontcolor optionMuhammad Faiz2014-08-232-32/+72
|
* vidstabutils: improve documentationTimothy Gu2014-08-221-3/+14
| | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vidstab*: Remove accidentally exported av_2_vs_pixel_format()Timothy Gu2014-08-224-11/+12
| | | | | | | | | Also correctly namespace other functions in vidstabutils, and decrease difference from Libav. Initial-patch-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '593aaee953f8b07c141ff115e67bae85ef0350c7'Michael Niedermayer2014-08-211-12/+14
|\ | | | | | | | | | | | | | | | | | | * commit '593aaee953f8b07c141ff115e67bae85ef0350c7': setpts: Add missing inttypes.h #include for PRId64 Conflicts: libavfilter/setpts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * setpts: Add missing inttypes.h #include for PRId64Diego Biurrun2014-08-211-9/+8
| | | | | | | | Also convert a debug av_log() to av_dlog().
| * vsrc_movie: Adjust a silly typo from b977b287f61fea48ecd6251d54a26334213b7ec6Diego Biurrun2014-08-211-1/+1
| |
* | lavfi/apad: fix logic when whole_len or pad_len options are specifiedStefano Sabatini2014-08-212-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, allow pad_len and whole_len to have value set to 0, which means that no padding will be added. Previously a value set to 0 meant that that the filter had to pad forever. The new semantics is clearer, also simplifies scripting since the option value might be automatically computed, so that no checks need to be done in case it is 0. The old semantics was never documented and the logic was broken (the filter was always adding samples indefinitely), so this should not break backward compatibility.
* | avfilter/vf_lenscorrection: fix memleakMichael Niedermayer2014-08-211-0/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_lenscorrection: get rid of floats in init codeMichael Niedermayer2014-08-211-6/+7
| | | | | | | | | | | | | | The only remaining floats are in the user interface, they are left as they should not cause a problem in practice Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_lenscorrection: get rid of all floats per frameMichael Niedermayer2014-08-211-13/+32
| | | | | | | | | | | | there are some still left for 1 time initialization Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_lenscorrection: get rid of some floatsMichael Niedermayer2014-08-211-12/+12
| |
* | avfilter/showwaves: align const mode values (cosmetics)Clément Bœsch2014-08-201-4/+4
| |
* | avfilter/showwaves: add split_channels optionClément Bœsch2014-08-202-5/+11
| |
* | avfilter/showwaves: split out draw sample codeClément Bœsch2014-08-201-45/+74
| |
* | avfilter/showwaves: add "cline" mode (centered line)Clément Bœsch2014-08-201-5/+19
| |
* | avfilter/avf_showspectrum: fix colums typoMichael Niedermayer2014-08-201-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/apad: fix if_( styleStefano Sabatini2014-08-201-1/+1
| |
* | Merge commit '67a7695c142561fe60f21adffe89c133385d37c9'Michael Niedermayer2014-08-201-1/+0
|\| | | | | | | | | | | | | | | | | | | * commit '67a7695c142561fe60f21adffe89c133385d37c9': avfilter: Remove unused variable from ff_get_video_buffer() Conflicts: libavfilter/video.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avfilter: Remove unused variable from ff_get_video_buffer()Diego Biurrun2014-08-191-1/+0
| |
| * vsrc_movie: Avoid a variable indirection in movie_get_frame()Diego Biurrun2014-08-191-2/+2
| | | | | | | | | | This avoids an unused variable warning with MSVC since the variable is only used in a debug mode printf statement.
* | avfilter/atempo: Flush all buffered input samplesPavel Koshevoy2014-08-191-1/+7
| | | | | | | | | | | | Fixes ticket #3829 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vidstabutils: fix indentationTimothy Gu2014-08-171-5/+5
| | | | | | | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Use new av_dict_set_int helper function.Reimar Döffinger2014-08-162-6/+2
| | | | | | | | | | | | | | Get rid of the many, slightly differing, implementations of basically the same thing. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avfilter/lavfutils/ff_load_image: Return error if no frame could be decodedMichael Niedermayer2014-08-161-0/+2
| | | | | | | | | | Based-on suggestion by JULIAN GARDNER <joolzg@btinternet.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Drop remaining unneeded != NULLMichael Niedermayer2014-08-152-5/+5
| | | | | | | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39'Michael Niedermayer2014-08-151-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39': cosmetics: Write NULL pointer equality checks more compactly Conflicts: cmdutils.c ffmpeg_opt.c ffplay.c libavcodec/dvbsub.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/dxa.c libavcodec/libxvid_rc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/rv10.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/vc1dec.c libavcodec/zmbv.c libavdevice/v4l2.c libavformat/matroskadec.c libavformat/movenc.c libavformat/sdp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cigaes/master'Michael Niedermayer2014-08-141-50/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cigaes/master: lavfi/avf_showspectrum: check RDFT context init. lavfi/avf_showspectrum: add full frame sliding mode. lavfi/avf_showspectrum: use automatic framing. lavfi/avf_showspectrum: do not push the frame at EOF. lavfi/avf_showspectrum: fix output pts computation. lavfi/avf_showspectrum: set output frame rate. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | lavfi/avf_showspectrum: check RDFT context init.Nicolas George2014-08-141-0/+5
| | | | | | | | | | | | Fix a segfault with large window size.
| * | lavfi/avf_showspectrum: add full frame sliding mode.Nicolas George2014-08-141-18/+32
| | |
| * | lavfi/avf_showspectrum: use automatic framing.Nicolas George2014-08-141-31/+17
| | | | | | | | | | | | | | | The framework can ensure that each input frame has exactly the correct number of samples, except the last one.
| * | lavfi/avf_showspectrum: do not push the frame at EOF.Nicolas George2014-08-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | It is always identical to the last pushed frame. The samples in the last incomplete window were ignored, this is unchanged. Possible enhancement: pad the last incomplete window with silence.
| * | lavfi/avf_showspectrum: fix output pts computation.Nicolas George2014-08-141-1/+1
| | |