From 34102f8c07dee33e3dcd954f43dd15fc9925aee4 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 26 Sep 2021 15:39:43 +0200 Subject: avfilter/vf_colorlevels: add preserve color option --- doc/filters.texi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3