aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-24 13:40:57 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-03-24 20:21:20 +0100
commit1b140835b698f08f6937a1027adc78ede3afa88d (patch)
tree5cbb4237ff6a4d99cb4126fc7cd755b42d0c670a /doc/filters.texi
parentcbf224b631b0f0054013564e2743a84d8c39f3c4 (diff)
downloadffmpeg-1b140835b698f08f6937a1027adc78ede3afa88d.tar.gz
lavfi/colormatrix: add support for named options
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi33
1 files changed, 29 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 74a682af86..e4aa9921c0 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2056,12 +2056,37 @@ boxblur=min(h\,w)/10:1:min(cw\,ch)/10:1
@section colormatrix
-The colormatrix filter allows conversion between any of the following color
-space: BT.709 (@var{bt709}), BT.601 (@var{bt601}), SMPTE-240M (@var{smpte240m})
-and FCC (@var{fcc}).
+Convert color matrix.
-The syntax of the parameters is @var{source}:@var{destination}:
+The filter accepts parameters as a list of @var{key}=@var{value}
+pairs, separated by ":". If the key of the first options is omitted,
+the arguments are interpreted according to the syntax
+@var{src}:@var{dst}.
+
+A description of the accepted options follows:
+@table @option
+@item src
+@item dst
+Specify the source and destination color matrix. Both values must be
+specified.
+
+The accepted values are:
+@table @samp
+@item bt709
+BT.709
+
+@item bt601
+BT.601
+
+@item smpte240m
+SMPTE-240M
+
+@item fcc
+FCC
+@end table
+@end table
+For example to convert from BT.601 to SMPTE-240M, use the command:
@example
colormatrix=bt601:smpte240m
@end example