Revision 06e1db05 doc/libavfilter.texi

View differences:

doc/libavfilter.texi
177 177

  
178 178
Pass the source unchanged to the output.
179 179

  
180
@section pad
181

  
182
Add paddings to the input image, and places the original input at the
183
given coordinates @var{x}, @var{y}.
184

  
185
It accepts the following parameters:
186
@var{width}:@var{height}:@var{x}:@var{y}:@var{color}.
187

  
188
Follows the description of the accepted parameters.
189

  
190
@table @option
191
@item width, height
192

  
193
Specify the size of the output image with the paddings added. If the
194
value for @var{width} or @var{height} is 0, the corresponding input size
195
is used for the output.
196

  
197
The default value of @var{width} and @var{height} is 0.
198

  
199
@item x, y
200

  
201
Specify the offsets where to place the input image in the padded area
202
with respect to the top/left border of the output image.
203

  
204
The default value of @var{x} and @var{y} is 0.
205

  
206
@item color
207

  
208
Specify the color of the padded area, it can be the name of a color
209
(case insensitive match) or a 0xRRGGBB[AA] sequence.
210

  
211
The default value of @var{color} is ``black''.
212

  
213
@end table
214

  
180 215
@section scale
181 216

  
182 217
Scale the input video to @var{width}:@var{height} and/or convert the image format.

Also available in: Unified diff