summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-09-26 15:39:43 +0200
committerPaul B Mahol <onemda@gmail.com>2021-09-26 20:27:23 +0200
commit34102f8c07dee33e3dcd954f43dd15fc9925aee4 (patch)
tree320ec6bf1245494c59e853c42438e92a8885a60b /doc
parent4727e30ec3372ea3d758c28338d65f0c67539b02 (diff)
avfilter/vf_colorlevels: add preserve color option
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a10f5e71d1..b309e8c737 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8540,6 +8540,25 @@ Adjust red, green, blue and alpha output white point.
Allowed ranges for options are @code{[0, 1.0]}. Defaults are @code{1}.
Output levels allows manual selection of a constrained output level range.
+
+@item preserve
+Set preserve color mode. The accepted values are:
+@table @samp
+@item none
+Disable color preserving, this is default.
+@item lum
+Preserve luminance.
+@item max
+Preserve max value of RGB triplet.
+@item avg
+Preserve average value of RGB triplet.
+@item sum
+Preserve sum value of RGB triplet.
+@item nrm
+Preserve normalized value of RGB triplet.
+@item pwr
+Preserve power value of RGB triplet.
+@end table
@end table
@subsection Examples