aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-09-03 15:19:35 +0200
committerPaul B Mahol <onemda@gmail.com>2016-09-04 13:11:32 +0200
commit5df993f3b129b6fe0a9ef6d16dc51a31bce81e13 (patch)
tree4c3826f0acf86db2084b95848742d029c328bba3 /doc/filters.texi
parentb6e8efb082c284091e267a29b6060b97692d1740 (diff)
downloadffmpeg-5df993f3b129b6fe0a9ef6d16dc51a31bce81e13.tar.gz
vf_colorspace: Allow overriding input color properties
The filter needs input frames with color properties filled out by the decoder. Since this is not always possible, add input options to the filter so that user may override color space, color primaries, transfer characteristics, and color range, as well as a generic option to set all properties at once. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index c12b093487..00ec1ea038 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5235,6 +5235,7 @@ Convert colorspace, transfer characteristics or color primaries.
The filter accepts the following options:
@table @option
+@anchor{all}
@item all
Specify all color properties at once.
@@ -5266,6 +5267,7 @@ BT.2020
@end table
+@anchor{space}
@item space
Specify output colorspace.
@@ -5291,6 +5293,7 @@ BT.2020 with non-constant luminance
@end table
+@anchor{trc}
@item trc
Specify output transfer characteristics.
@@ -5319,6 +5322,7 @@ BT.2020 for 12-bits content
@end table
+@anchor{primaries}
@item primaries
Specify output color primaries.
@@ -5344,6 +5348,7 @@ BT.2020
@end table
+@anchor{range}
@item range
Specify output color range.
@@ -5423,6 +5428,21 @@ von Kries whitepoint adaptation
identity whitepoint adaptation (i.e. no whitepoint adaptation)
@end table
+@item iall
+Override all input properties at once. Same accepted values as @ref{all}.
+
+@item ispace
+Override input colorspace. Same accepted values as @ref{space}.
+
+@item iprimaries
+Override input color primaries. Same accepted values as @ref{primaries}.
+
+@item itrc
+Override input transfer characteristics. Same accepted values as @ref{trc}.
+
+@item irange
+Override input color range. Same accepted values as @ref{range}.
+
@end table
The filter converts the transfer characteristics, color space and color