summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-04-09 20:02:56 +0200
committerNiklas Haas <git@haasn.dev>2022-04-23 21:51:55 +0200
commit5cfeaeef0c2e0970f64d3188375a525c17f4621b (patch)
tree3f0d845c21f2bd63ac71ba7efda6a41bffc70cb3 /doc
parentb9a25963f7232433c9370ac369fb668ac0d5cb53 (diff)
lavfi: add vf_iccgen for generating ICC profiles
This filter is designed to specifically cover the task of generating ICC profiles (and attaching them to output frames) on demand. Other tasks, such as ICC profile loading/stripping, or ICC profile application, are better left to separate filters (or included into e.g. vf_setparams). Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 039b25bae1..67765a1ff9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -14384,6 +14384,27 @@ By default value is 0.
The @code{hysteresis} filter also supports the @ref{framesync} options.
+@section iccgen
+
+Generate ICC profiles and attach them to frames.
+
+This filter accepts the following options:
+
+@table @option
+@item color_primaries
+@item color_trc
+Configure the colorspace that the ICC profile will be generated for. The
+default value of @code{auto} infers the value from the input frame's metadata,
+defaulting to BT.709/sRGB as appropriate.
+
+See the @ref{setparams} filter for a list of possible values, but note that
+@code{unknown} are not valid values for this filter.
+
+@item force
+If true, an ICC profile will be generated even if it would overwrite an
+already existing ICC profile. Disabled by default.
+@end table
+
@section identity
Obtain the identity score between two input videos.