summaryrefslogtreecommitdiff
path: root/doc/libavfilter.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-05-07 12:52:46 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-05-07 12:52:46 +0000
commit06e1db056da6b092ee576a4ab91fbdd905b4f1e1 (patch)
tree01ddf2602239b4f26bdd3d8467f3f3ec5c5ec0d5 /doc/libavfilter.texi
parent8d787f8e52bdcd661442d2f0237cfb7794322f69 (diff)
Document the pad filter.
Originally committed as revision 23052 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/libavfilter.texi')
-rw-r--r--doc/libavfilter.texi35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/libavfilter.texi b/doc/libavfilter.texi
index 20ef445605..022db2724b 100644
--- a/doc/libavfilter.texi
+++ b/doc/libavfilter.texi
@@ -177,6 +177,41 @@ input to the vflip filter.
Pass the source unchanged to the output.
+@section pad
+
+Add paddings to the input image, and places the original input at the
+given coordinates @var{x}, @var{y}.
+
+It accepts the following parameters:
+@var{width}:@var{height}:@var{x}:@var{y}:@var{color}.
+
+Follows the description of the accepted parameters.
+
+@table @option
+@item width, height
+
+Specify the size of the output image with the paddings added. If the
+value for @var{width} or @var{height} is 0, the corresponding input size
+is used for the output.
+
+The default value of @var{width} and @var{height} is 0.
+
+@item x, y
+
+Specify the offsets where to place the input image in the padded area
+with respect to the top/left border of the output image.
+
+The default value of @var{x} and @var{y} is 0.
+
+@item color
+
+Specify the color of the padded area, it can be the name of a color
+(case insensitive match) or a 0xRRGGBB[AA] sequence.
+
+The default value of @var{color} is ``black''.
+
+@end table
+
@section scale
Scale the input video to @var{width}:@var{height} and/or convert the image format.