Paul B Mahol
ed93ed5ee3
avfilter: don't anonymously typedef structs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
a0a57072c9
avfilter: make use of ff_filter_get_nb_threads
8 years ago
Clément Bœsch
c6e900e925
lavfi/curves: fix meaningless const int returned value
Spotted-by: James Almer <jamrial@gmail.com>
8 years ago
Clément Bœsch
b470d81f4e
lavfi/curves: prefix init and uninit function names
8 years ago
Clément Bœsch
62a31aecf6
lavfi/curves: pass log ctx as void* instead of AVFilterContext*
8 years ago
Clément Bœsch
39c6d4a8c5
lavfi/curves: reindent after previous commit
8 years ago
Clément Bœsch
e30cdac14b
lavfi/curves: add 16-bit support
8 years ago
Clément Bœsch
f19f5b906d
lavfi/curves: move alloc and init of LUTs inside config_input()
This is needed in order to have different sizes of LUTs according to the
input.
8 years ago
Clément Bœsch
050f790594
lavfi/curves: dynamically allocate LUTs
This simplifies following commits.
8 years ago
Clément Bœsch
4eee06ae87
lavfi/curves: add various const where it makes sense
8 years ago
Clément Bœsch
51a873d441
lavfi/curves: remove pointless logging since the addition of plot option
8 years ago
Clément Bœsch
4a8f5f1fd8
lavfi/curves: add plot option
8 years ago
Clément Bœsch
5c14018fc4
lavfi/curves: do not automatically insert points at x=0 and x=1
There is actually a need for the origin and end point not to be defined.
We can not automatically insert them with the y value of the first and
last point as it will influence the curves in a wrong way.
Fixes #5397
8 years ago
Clément Bœsch
fd682b1892
avfilter: handle error in query_formats() of a bunch of random video filters
10 years ago
Michael Niedermayer
08880c1f71
avfilter/vf_curves: Change enums to int, which are accessed via AVOption as int
This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
b2cfd1fde7
avfilter/curves: fix resource leaks.
Fixes CID1206650
11 years ago
Clément Bœsch
0e97ec54de
avfilter/curves: support slice threading.
11 years ago
Paul B Mahol
811b17fbad
lavfi: cosmetics: fix vertical alignment for pads in some filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
1776177b7f
lavfi: replace passthrough_filter_frame with a flag.
With the introduction of AVFilterContext->is_disabled, we can simplify
the custom passthrough mode in filters.
This commit is technically a small compat break, but the timeline was
introduced very recently.
Doxy by Stefano Sabatini.
12 years ago
Clément Bœsch
a9705e4de9
lavfi/curves: avoid ctx pointer indirection.
12 years ago
Paul B Mahol
09250e3445
lavfi/curves: add support for more rgb formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
fdd93eabfb
lavfi: add timeline support.
Flag added in a few simple filters. A bunch of other filters can likely
use the feature as well.
12 years ago
Clément Bœsch
9ecdd76679
lavfi/curves: fix memleak after master component dition.
12 years ago
Clément Bœsch
1cb02d4fbc
lavfi/curves: add support for Photoshop curves files (.acv).
12 years ago
Clément Bœsch
99dac39339
lavfi/curves: add support for master component.
12 years ago
Michael Niedermayer
fd6228e657
lavfi: remove now unused args parameter from AVFilter.init and init_opaque
This is mostly automated global search and replace
The deprecated aconvert filter is disabled, if it still has users
it should be updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
2844ea86c8
lavfi/curves: introduce "all" field in presets and use it.
12 years ago
Clément Bœsch
7e7dc1489f
lavfi/curves: make possible to customize presets.
12 years ago
Clément Bœsch
a1e798ef0a
lavfi/curves: fix a spacing weirdness.
12 years ago
Clément Bœsch
34610e11e7
lavfi/curves: switch to an AVOptions-based system.
12 years ago
Michael Niedermayer
9280fc7da1
vf_curves: add option to set all curves at once
Reviewed-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
6278bc8a6c
lavfi/curves: make use of options to store the preset names.
12 years ago
Clément Bœsch
133035c40d
lavfi/curves: add forgotten strong_contrast preset.
12 years ago
Clément Bœsch
183f3450fd
lavfi/curves: support preset shorthand.
12 years ago
Clément Bœsch
dc65d784df
lavfi/curves: add presets support.
Except for the vintage preset, the values are defined by Lou Logan based
on the ones found in Adobe Photoshop CS6.
Signed-off-by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Lou Logan <lou@lrcd.com>
12 years ago
Clément Bœsch
65fc80f012
lavfi: add curves filter.
12 years ago