Andreas Cadhalpun
739f179dd6
vf_deshake: rename Transform.vector to Transform.vec to avoid compiler confusion
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>
10 years ago
James Almer
fffc9a077d
avfilter: remove obsolete FF_API_FILL_FRAME cruft
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
James Almer
d1c49bcae9
avfilter: remove obsolete FF_API_ACONVERT_FILTER cruft
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Clément Bœsch
4b58349bc8
avfilter/ass: add shaping option
The documentation is mostly based on ass.h public header.
10 years ago
Clément Bœsch
8a9c5db29e
avfilter/ass: better log level mapping
10 years ago
Clément Bœsch
a87527ad67
avfilter/ass: make sure the log level are in available range
10 years ago
James Almer
ad1dadac86
avfilter: remove obsolete FF_API_BUFFERSRC_BUFFER cruft
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Pascal Massimino
649b7a9946
av_filter/x86/idet: use HADDD where appropriate
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Pascal Massimino
e3fd6a3a4e
av_filter/x86/idet: MMX/SSE2 implementation of 16bits filter_line()
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>
10 years ago
Michael Niedermayer
02946120fc
avfilter/vf_cropdetect: Do not check lines or columns twice on black frames
Idea from patch by: hjiodjf 97xgw46 <jfbvxt@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
1b2390e2bc
avfilter/af_silenceremove: remove dead code
Fixes CID1237284
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
b2c0b80f62
avfilter/ebur128: rework channel weighting definition code
Should fix CID1194399 (Bad bit shift operation)
10 years ago
Paul B Mahol
422619646e
add silenceremove filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
James Darnley
db8970d7b6
vfi/x86/vf_idet: fix incorrect use of paddq
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>
10 years ago
Pascal Massimino
161fc0f463
avfilter/x86/idet: fix license header (GPL -> LGPL)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
skal
406a9ccffe
avfilter/vf_idet: MMX/MMXEXT/SSE2 implementation of idet's filter_line()
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>
10 years ago
Reimar Döffinger
098af26067
vf_deshake: Avoid doing a malloc+free for every single frame.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Reimar Döffinger
4ea8406e38
vf_deshake: reduce stack usage.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Reimar Döffinger
6d7aa437e1
vf_drawtext: move "static const" before "struct".
This is consistent with all other occurrences.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Reimar Döffinger
c9a4ec7969
lavfi: add const/static const to pix_fmts arrays.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Michael Niedermayer
0daff3ce76
avfilter/vf_mp: remove incorrect usage of AVFrame.type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Reimar Döffinger
d9e2aceb7f
Add missing "const" all over the place.
Only "./configure --enable-gpl" on x86 was tested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Clément Bœsch
f888331769
avfilter: add codecview filter
10 years ago
Muhammad Faiz
c82a288f87
avfilter/showcqt: add fontcolor option
10 years ago
Timothy Gu
8495c6086d
vidstabutils: improve documentation
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
6e51e746c4
vidstab*: Remove accidentally exported av_2_vs_pixel_format()
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>
10 years ago
Stefano Sabatini
aade9884e9
lavfi/apad: fix logic when whole_len or pad_len options are specified
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.
10 years ago
Michael Niedermayer
b09ea25fec
avfilter/vf_lenscorrection: fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Diego Biurrun
593aaee953
setpts: Add missing inttypes.h #include for PRId64
Also convert a debug av_log() to av_dlog().
10 years ago
Diego Biurrun
11cd727fbd
vsrc_movie: Adjust a silly typo from b977b287f6
10 years ago
Michael Niedermayer
32cb6c1fe2
avfilter/vf_lenscorrection: get rid of floats in init code
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>
10 years ago
Michael Niedermayer
2450ca0f33
avfilter/vf_lenscorrection: get rid of all floats per frame
there are some still left for 1 time initialization
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
c1b663bc92
avfilter/vf_lenscorrection: get rid of some floats
10 years ago
Clément Bœsch
e298b2f5d6
avfilter/showwaves: align const mode values (cosmetics)
10 years ago
Clément Bœsch
e35fb5add4
avfilter/showwaves: add split_channels option
11 years ago
Clément Bœsch
ba29746feb
avfilter/showwaves: split out draw sample code
11 years ago
Clément Bœsch
f2f6d45dbd
avfilter/showwaves: add "cline" mode (centered line)
11 years ago
Michael Niedermayer
a5cbff22b2
avfilter/avf_showspectrum: fix colums typo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Stefano Sabatini
cb0524f7a0
lavfi/apad: fix if_( style
10 years ago
Diego Biurrun
67a7695c14
avfilter: Remove unused variable from ff_get_video_buffer()
10 years ago
Diego Biurrun
b977b287f6
vsrc_movie: Avoid a variable indirection in movie_get_frame()
This avoids an unused variable warning with MSVC since the variable is
only used in a debug mode printf statement.
10 years ago
Pavel Koshevoy
6380f2e367
avfilter/atempo: Flush all buffered input samples
Fixes ticket #3829
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
32c712f143
vidstabutils: fix indentation
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Reimar Döffinger
a0941c8a2b
Use new av_dict_set_int helper function.
Get rid of the many, slightly differing, implementations
of basically the same thing.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Michael Niedermayer
65f05eff0a
avfilter/lavfutils/ff_load_image: Return error if no frame could be decoded
Based-on suggestion by JULIAN GARDNER <joolzg@btinternet.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
81a663f49e
Drop remaining unneeded != NULL
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
37bfeca78c
avfilter/select: larger pixel sad computation
10 years ago
Clément Bœsch
10d96d8d66
avfilter/select: re-align a few comments
10 years ago
Nicolas George
638eec2ac3
lavfi/avf_showspectrum: check RDFT context init.
Fix a segfault with large window size.
10 years ago
Nicolas George
7c10e32ae5
lavfi/avf_showspectrum: add full frame sliding mode.
10 years ago