F.Sluiter
3a9611d623
avfilter: add remap filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Marios Titas
c1f9734f97
avfilter/src_movie: fix how we check for overflows with seek_point
Currently, if the movie source filter is used and a seek_point is
specified on a file that has a negative start time, ffmpeg will fail.
An easy way to reproduce this is as follows:
$ ffmpeg -vsync passthrough -filter_complex 'color=d=10,setpts=PTS-1/TB' test.mp4
$ ffmpeg -filter_complex 'movie=filename=test.mp4:seek_point=2' -f null -
The problem is caused by checking for int64_t overflow the wrong way.
In general, to check whether a + b overflows, it is not enough to do:
a > INT64_MAX - b
because b might be negative; the correct way is:
b > 0 && > a > INT64_MAX - b
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
4a80a6ad21
avfilter/vf_waveform: optimize lowpass filter even more
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Lou Logan
06eef96b69
fix some a/an typos
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Paul B Mahol
a55c953ef0
avfilter/af_sofalizer: allow user to setup custom virtual speakers positions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
c2bbcf1607
avfilter/vf_waveform: optimize 16bit lowpass filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
48be92e5b6
avfilter/vf_waveform: optimize lowpass 8bit filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0b9957c301
avfilter/vf_waveform: move mirror variable into function argument
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Thilo Borgmann
4d251723c0
lavfi: Add coreimage filter for GPU based image filtering on OSX.
9 years ago
Ganesh Ajjanagadde
db1a642cd2
all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.h
The idea is to use ffmath.h for internal implementations of math functions.
Currently, it is used for variants of libm functions, but is by no means
limited to such things.
Note that this is not exported; use lavu/mathematics for such purposes.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
9 years ago
Paul B Mahol
8f66a2da38
avfilter/vf_vectorscope: always flip output vertically
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
50f4b64c54
avfilter/vf_waveform: set color range for output frames
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
959c7dad88
avfilter/vf_waveform: add graticule to aflat filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
c91b20c464
avfilter/vf_waveform: add subsampling input support for remaining filters
Remove achroma filter, as same output can be done with lowpass filter
and multiple components with overlay display.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
48bda6c5f7
avfilter/vf_detelecine: Remove redundant declaration
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Benjamin Steffes
c411e90bc3
Fix start_frame handling in detelecine filter
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Benjamin Steffes
be482e5165
Fix detelecine filter for patterns containing 1
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
93c6c52ad7
avfilter/vf_waveform: add subsampled input support for (a)color filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Benjamin Steffes
06267afe1c
Fix detelecine filter for patterns like 3444 or 33333334.
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
9 years ago
Thomas Mundt
d0a9114f99
avfilter/vf_bwdif: Add yadif base information to copyright header
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
a68d4bf235
avfilter/vf_waveform: add forgotten color and acolor filter to switch case
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
af5559ab67
avfilter/vf_waveform: add graticule for chroma and flat filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
c34250178b
avfilter/af_sofalizer: Fix "warning: ISO C90 forbids mixed declarations and code"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
29d106e751
avfilter/vf_waveform: remove mirroring from chroma filter
It is not really useful.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
9f6e63f6f2
avfilter/vf_waveform: add >8 bit support for other filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
370cecc1e8
avfilter/vf_vectorscope: less aggressive memory allocation
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
55c872146d
avfilter/vf_vectorscope: process alpha at end
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
8097455929
avfilter/vf_vectorscope: copy frame props, mainly for bench filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
912fec3e54
avfilter/vf_waveform: add acolor filter
Useful in combination with color filter.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Thomas Mundt
5024a82e95
avfilter/vf_bwdif: add x86 SIMD
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
9 years ago
Michael Niedermayer
58cb1fb1fe
avfilter/vf_decimate: Use the correct frame in difference calculation
Fixes Ticket4964
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
52e7f6b17e
Revert "avfilter/vf_decimate: Check that input parameters match"
ill commit a better solution
This reverts commit 30fe3fd527 .
10 years ago
Paul B Mahol
4a7c705fde
avfilter/vf_vectorscope: make it possible to override colorspace
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
a61cd42c8d
avfilter/smptebars: fix some 75% color values
They where slightly off.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
817d0c6da2
avfilter/vf_waveform: add parade display mode
Rename old parade display mode to stacked.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
867637caea
avfilter/vf_waveform: fix and extend millivolts grat lines
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
119c108b31
avfilter/vf_waveform: fix ire8 for 25%
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
1a5895757d
avfilter/vf_waveform: fix indentation
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
681f833610
avfilter/vf_waveform add support for other scalers for graticule
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
953b8c5a43
avfilter/vf_waveform: use intensity for other components too
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
b3e0371818
avfilter/vf_waveform: make it possible to draw dots instead of lines
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
209cff2d9c
avfilter/vf_waveform: make sure that x/y for text position is positive
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Muhammad Faiz
fd0c9789cf
avfilter/avf_showcqt: add performance debugging log
for easier development
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Paul B Mahol
f78ef2d885
avfilter/vf_vectorscope: short for Magenta is Mg
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
f20cdcbc05
avfilter/vf_vectorscope: draw color points names
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
f659b70eb0
avfilter/vf_waveform: draw graticule for color filter too
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Carl Eugen Hoyos
bba9bed3f3
lavfi/extractplanes: Add RGB0 and friends as supported pix_fmts.
9 years ago
Carl Eugen Hoyos
0ba844a053
lavfi/extractplanes: Fix in_pixfmts.
If the original pix_fmt was >8 bit and not supported by the filter,
the filter system could choose a pix_fmt with different endianness
as input for extractplanes which broke the output because the output
always used the endianness of the original pix_fmt.
9 years ago
Carl Eugen Hoyos
b872b98bb4
lavfi/extractplanes: Move endianness calculation up.
Needed for next commit.
9 years ago
Paul B Mahol
6e19120ea2
avfilter/vf_vectorscope: add 12bit depth support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago