summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-07-16 13:46:32 +0200
committerClément Bœsch <u@pkh.me>2016-07-24 12:18:30 +0200
commit5c14018fc4f6ae9fcce7eaf8dd2d66cb6fbfc7bc (patch)
tree3b0d0dc0c10453b359696bcb2b7513d841535954 /doc
parent783a2568b28dfb87cd6026191de46fda923cb6d0 (diff)
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
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi10
1 files changed, 3 insertions, 7 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 24abdda095..03da9b094c 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5710,10 +5710,6 @@ strictly increasing over the x-axis, and their @var{x} and @var{y} values must
be in the @var{[0;1]} interval. If the computed curves happened to go outside
the vector spaces, the values will be clipped accordingly.
-If there is no key point defined in @code{x=0}, the filter will automatically
-insert a @var{(0;0)} point. In the same way, if there is no key point defined
-in @code{x=1}, the filter will automatically insert a @var{(1;1)} point.
-
The filter accepts the following options:
@table @option
@@ -5765,13 +5761,13 @@ defined using the following syntax: @code{x0/y0 x1/y1 x2/y2 ...}.
@item
Increase slightly the middle level of blue:
@example
-curves=blue='0.5/0.58'
+curves=blue='0/0 0.5/0.58 1/1'
@end example
@item
Vintage effect:
@example
-curves=r='0/0.11 .42/.51 1/0.95':g='0.50/0.48':b='0/0.22 .49/.44 1/0.8'
+curves=r='0/0.11 .42/.51 1/0.95':g='0/0 0.50/0.48 1/1':b='0/0.22 .49/.44 1/0.8'
@end example
Here we obtain the following coordinates for each components:
@table @var
@@ -5798,7 +5794,7 @@ curves=vintage
@item
Use a Photoshop preset and redefine the points of the green component:
@example
-curves=psfile='MyCurvesPresets/purple.acv':green='0.45/0.53'
+curves=psfile='MyCurvesPresets/purple.acv':green='0/0 0.45/0.53 1/1'
@end example
@end itemize