Paul B Mahol
ed93ed5ee3
avfilter: don't anonymously typedef structs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Nicolas George
183ce55b0d
lavfi: split frame_count between input and output.
AVFilterLink.frame_count is supposed to count the number of frames
that were passed on the link, but with min_samples, that number is
not always the same for the source and destination filters.
With the addition of a FIFO on the link, the difference will become
more significant.
Split the variable in two: frame_count_in counts the number of
frames that entered the link, frame_count_out counts the number
of frames that were sent to the destination filter.
8 years ago
Derek Buitenhuis
21f9468402
avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT
Libav, for some reason, merged this as a public API function. This will
aid in future merges.
A define is left for backwards compat, just in case some person
used it, since it is in a public header.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Clément Bœsch
9f4e096496
avfilter/vignette: use AV_OPT_TYPE_BOOL for dither option
9 years ago
Clément Bœsch
40cc3be73c
avfilter: fix a few 5 spaces indent
10 years ago
Michael Niedermayer
f8fa392a2e
avfilter/vf_vignette: force per frame evaluation if per frame variables are used
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Paul B Mahol
a0854c084e
avfilter: handle error in query_formats() in bunch of filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Michael Niedermayer
1019a1cb0a
avfilter/vf_vignette: Change enum to int, which is accessed via AVOption as int
This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
d90ad5b2bb
avfilter/vf_vignette: Use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
bac08cf086
avfilter/vignette: reindent after previous commit.
11 years ago
Clément Bœsch
ed7bc5471b
avfilter/vignette: add direct rendering.
11 years ago
Clément Bœsch
8a0ba44e1a
vignette: reuse already declared ctx.
11 years ago
Masa Utashiro
491d602283
avfilter/vignette: fix input frame memory leak.
Fixes Ticket #3642 .
11 years ago
Michael Niedermayer
e43a0a232d
avfilter: fix plane validity checks
Fixes out of array accesses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
d64f3b72e0
replace some deprecated defines
Signed-off-by: Paul B Mahol <onemda@gmail.com>
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