Michael Niedermayer
b09ea25fec
avfilter/vf_lenscorrection: fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 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>
11 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>
11 years ago
Michael Niedermayer
c1b663bc92
avfilter/vf_lenscorrection: get rid of some floats
11 years ago
Clément Bœsch
e298b2f5d6
avfilter/showwaves: align const mode values (cosmetics)
11 years ago
Clément Bœsch
e35fb5add4
avfilter/showwaves: add split_channels option
12 years ago
Clément Bœsch
ba29746feb
avfilter/showwaves: split out draw sample code
12 years ago
Clément Bœsch
f2f6d45dbd
avfilter/showwaves: add "cline" mode (centered line)
12 years ago
Michael Niedermayer
a5cbff22b2
avfilter/avf_showspectrum: fix colums typo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
cb0524f7a0
lavfi/apad: fix if_( style
11 years ago
Diego Biurrun
67a7695c14
avfilter: Remove unused variable from ff_get_video_buffer()
11 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.
11 years ago
Pavel Koshevoy
6380f2e367
avfilter/atempo: Flush all buffered input samples
Fixes ticket #3829
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Timothy Gu
32c712f143
vidstabutils: fix indentation
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 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>
11 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>
11 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>
11 years ago
Clément Bœsch
37bfeca78c
avfilter/select: larger pixel sad computation
11 years ago
Clément Bœsch
10d96d8d66
avfilter/select: re-align a few comments
11 years ago
Nicolas George
638eec2ac3
lavfi/avf_showspectrum: check RDFT context init.
Fix a segfault with large window size.
11 years ago
Nicolas George
7c10e32ae5
lavfi/avf_showspectrum: add full frame sliding mode.
11 years ago
Nicolas George
ec33df6045
lavfi/avf_showspectrum: use automatic framing.
The framework can ensure that each input frame has exactly
the correct number of samples, except the last one.
11 years ago
Nicolas George
d4de6d4fad
lavfi/avf_showspectrum: do not push the frame at EOF.
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.
11 years ago
Nicolas George
65b284a4ae
lavfi/avf_showspectrum: fix output pts computation.
11 years ago
Nicolas George
a3aaaec891
lavfi/avf_showspectrum: set output frame rate.
11 years ago
Clément Bœsch
c85e0ca68a
avfilter/dctdnoiz: add slice threading
11 years ago
Paul B Mahol
e3212bfd14
avfitler/vf_perspective: support slice threading
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
James Almer
7cafdfe9c7
lavfi: duplicate ff_log2_tab
Fixes compilation failures on msvc/icl shared builds
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
James Almer
744f15b6b3
lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()
It was wrongly being exported and used by libavfilter.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Daniel Oberhoff
9f617a14a0
avfilter: ported lenscorrection filter from frei0r
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
James Almer
6985ef7813
lavfi: stop exporting internal functions
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
36bce999f5
libavfilter/af_amerge: Do not depend on SWR_CH_MAX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
ce1bb4b75d
avfilter/af_pan: Do not use SWR_CH_MAX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
ced765ceb3
avfilter/af_pan: check if the number of channels where sucessfully set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
d7594beede
avfilter/dctdnoiz: remove a few indirections in idcts
No change in the generated asm.
11 years ago
Anton Khirnov
1985c2e75c
Bump major versions of all libraries.
11 years ago
Anton Khirnov
f4c444e17d
Postpone API-incompatible changes until the next bump.
11 years ago
Clément Bœsch
1ba7c6ead2
avfilter/dctdnoiz: use 32-bit (float) operations instead of 64 (double) for DCTs
This makes the code about 1.5x faster without any noticeable difference
in the output.
11 years ago
Clément Bœsch
eb16a6d229
avfilter/dctdnoiz: remove forward declarations after previous commit
11 years ago
Clément Bœsch
aaf82dc0fa
avfilter/dctdnoiz: make color [de]correlation less clumsy
This has no impact on overall performance, since the block DCT taking
most of the time anyway.
11 years ago
Muhammad Faiz
94494dab91
avfilter/showcqt: add and extend tlength and volume options
Add a tlength option with frequency and timeclamp variable
Add to the volume option support for frequency and timeclamp variable,
a_weighting, b_weighting and c_weighting functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
cec59eb63f
avfilter/dctdnoiz: add 8x8 dct and make it the default
8x8 is about 5x faster than 16x16 on 1080p input. Since a block size of
8x8 makes the filter almost usable (time wise) and it's not obvious if
8x8 or 16x16 is better from a quality PoV (it really depends on the
input and parameters), the filter now defaults to 8x8, and as a result
libavfilter is micro bumped.
11 years ago
Clément Bœsch
06362ab750
avfilter/dctdnoiz: rewrite [f/i]dct
This removes the avcodec dependency and make the code almost twice as
fast. More to come.
The DCT factorization is based on "Fast and numerically stable
algorithms for discrete cosine transforms" from Gerlind Plonkaa &
Manfred Tasche (DOI: 10.1016/j.laa.2004.07.015).
11 years ago
Clément Bœsch
97478ef5fe
avfilter/select: fix "t" eval variable comment
11 years ago
Clément Bœsch
eaeb61c3a6
avfilter/select: remove optional avcodec dependency
11 years ago
Clément Bœsch
164b7ccf21
avfilter/mp_decimate: remove avcodec dependency
11 years ago
Clément Bœsch
def03d3439
avfilter/deshake: remove avcodec dependency
11 years ago
Michael Niedermayer
2569227689
avfilter/vf_noise: make constant things const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
mrskman
6f3e15af84
avfilter/avf_showwaves: New p2p mode for showwaves filter
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Kieran Kunhya
2a3c36e920
Deprecate AFD field and add AFD as side-data
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago