Anton Khirnov
eeeb5c291d
vsrc_movie: do not free avoption variables in uninit()
...
The generic code frees them as well. Since av_free was used to free them
instead of av_freep, this would result in a double free.
12 years ago
Jean Delvare
b08cd2fb94
delogo: Fix function description
...
The algorithm works on src and writes to dst, not the other way
around.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mark Visser
2090abcc43
add the start_number offset to var_values[VAR_N] directly, instead of adding it in func_frame_num
12 years ago
Anton Khirnov
c9c7bc4493
lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer()
...
This simplifies the code and avoids using libavcodec-specific
avcodec_fill_audio_frame().
12 years ago
Alexander Strasser
ac604e446b
lavfi/src_movie: Use movie_common_init instead individual wrappers
...
Makes it easier to understand that there is no difference in init
callback for movie and amovie. Also saves a few lines of code.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
12 years ago
Alexander Strasser
c679a1c358
lavfi/src_movie: Check pointer is not NULL before deref
...
Also do not check against empty string, the lower levels should
be able to deal with it.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
12 years ago
Vittorio Giovara
cd0faeee62
lavfi: math typo in interlace filter
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Mark Visser
0defc77e9d
added start_number parameter to drawtext to permit an offset to n/frame_num var
12 years ago
Clément Bœsch
147adf2c4f
lavfi/spp: fix description.
12 years ago
Jean Delvare
cef42ded8d
drawbox: Respect thickness parameter
...
The drawbox video filter is drawing lines one pixel thinner than
requested. The default thickness is 4 pixel but in fact the lines
drawn by default are only 3 pixel wide.
Change the comparisons in the code to fix this off-by-one bug. Also
change the default thickness from 4 to 3 to minimize the unexpected
changes from the user's perspective.
As I was already touching these lines, I also removed the "maximum" in
the thickness parameter description, as I don't think it was adding
any value and I even found it confusing.
Reviewed-by: Andrey Utkin <andrey.krieger.utkin@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
852f74bd85
lavfi/mp: remove mp=spp.
...
The filter was ported to a native libavfilter filter.
12 years ago
Clément Bœsch
a2c547ffec
lavfi: add spp filter.
12 years ago
Stefano Sabatini
e0135a4bcd
lavfi/rotate: add angle command
12 years ago
Stefano Sabatini
dc5e26d67f
lavfi: add rotate filter
...
Based on the libavfilter SOC filter by Vitor Sessak, with the following additions:
* integer arithmetic
* bilinear interpolation
* RGB path
* configurable parametric angle, output width and height
Address trac issue #1500 .
See thread:
Subject: [FFmpeg-devel] [WIP] rotate filter(s)
Date: 2010-10-03 17:35:49 GMT
12 years ago
Michael Niedermayer
d3e89f2641
vf_sab: Fix memleak
...
Fixes CID1030353
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
b77e58aad3
lavfi/pp: set out frame size.
...
w/h from input frame are not copied in av_frame_copy_props(). This
commit avoids a mismatch between aligned_[wh] and outbuf->{width,height}
(and thus avoids triggering an assert in avfilter because of this).
12 years ago
Clément Bœsch
f97e28ebe5
lavfi/lut3d: add sanity checks.
...
Should fix CID1026775 and CID1026774.
12 years ago
Paul B Mahol
3554238863
lavfi/il: add timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
7d01533371
lavfi/framestep: cosmetics: reindent AVFilter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
27d3d61343
lavfi/framestep: add timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Stefano Sabatini
449558d34a
lavfi/mp: remove mp=sab
...
The filter was ported to a native libavfilter filter.
12 years ago
Stefano Sabatini
841df7bf86
lavfi: port sab filter from libmpcodecs
12 years ago
Anton Khirnov
8b7dffc2d6
lavfi doxy: improve/extend AVFilter doxy.
12 years ago
Michael Niedermayer
43487bc5c1
avfilter/vf_mcdeint: free frame on error
...
Fixes CID1026766
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3ed56b3b39
avfilter/process_options: fix memleak
...
Fixes CID1026765
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7e7d090907
avfilter/af_astats: rename stat()
...
See CID1026741
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
50a4d076ce
lavfi/trim: mark link closed on EOF.
...
Fix trac ticket #2620 .
12 years ago
Stefano Sabatini
ec34963276
lavfi/mp: drop mcdeint wrapper
...
It was ported to a native libavfilter filter.
12 years ago
Stefano Sabatini
e89182fc94
lavfi: port mcdeint filter from libmpcodecs
12 years ago
Stefano Sabatini
3a2b9911bf
lavfi/mp/mcdeint: avoid uninited data read
...
Do not read padding or out-of-buffer values when computing the output
value for a pixel close to the image buffer edge.
This avoids non visible artifacts which affected the output checksum.
See thread:
Subject: [FFmpeg-devel] [PATCH] lavfi/mp/mcdeint: avoid uninited data read
Date: Thu, 30 May 2013 18:57:14 +0200
12 years ago
Clément Bœsch
1fb52bf920
lavfi/mptestsrc: fix chroma subsampling with odd sizes.
...
This makes no difference in practice since w & h are hardcoded to 512.
12 years ago
Clément Bœsch
7ba04b3c48
lavfi/pixdesctest: fix chroma subsampling with odd sizes.
12 years ago
Clément Bœsch
7de8a38160
lavfi/vignette: remove extra semi-colon.
12 years ago
Clément Bœsch
2886e8065e
lavfi/vignette: add aspect option.
12 years ago
Clément Bœsch
33620e243f
lavfi/vignette: add some scaling debug.
12 years ago
Clément Bœsch
bfafcc4ebe
lavfi/vignette: simplify dmax definition.
12 years ago
Clément Bœsch
cf6f179044
lavfi/vignette: fix scale with aspects smaller than one.
12 years ago
Clément Bœsch
4a85390d29
lavfi/vignette: make sure a sane sar is set.
12 years ago
Clément Bœsch
0ab9362fcb
lavfi: add vignette filter.
12 years ago
Paul B Mahol
f8f42f4821
lavfi/noise: fix out of array access
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
83f9735592
lavfi/noise: support slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
1f1df07ce5
lavfi/drawutils: attempt to fix subsampling.
12 years ago
Dave Yeo
e615a77799
os2threads: move from lavc to compat/
...
For useage in other places besides lavc. Needed after commit
90f9a5830b
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
160ea26560
lavfi/haldclutsrc: 10l remove size options.
12 years ago
Clément Bœsch
92a2d12a71
lavfi/overlay: remove do_blend forward declaration.
12 years ago
Clément Bœsch
ae5738248a
lavfi/lut3d: move lut3d init to its definition scope.
12 years ago
Clément Bœsch
158d96e3f0
lavfi: add haldclut filter.
...
Fixes Ticket #2517 .
12 years ago
Clément Bœsch
4328602890
lavfi: add dual input helpers.
12 years ago
Clément Bœsch
3cec29cf59
lavfi: add haldclutsrc filter.
12 years ago
Paul B Mahol
a1873f35f8
lavfi/ocv: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago