1 @anchor{scaler_options}
2 @chapter Scaler Options
3 @c man begin SCALER OPTIONS
5 The video scaler supports the following named options.
7 Options may be set by specifying -@var{option} @var{value} in the
8 FFmpeg tools. For programmatic use, they can be set explicitly in the
9 @code{SwsContext} options or through the @file{libavutil/opt.h} API.
15 Set the scaler flags. This is also used to set the scaling
16 algorithm. Only a single algorithm should be selected.
18 It accepts the following values:
21 Select fast bilinear scaling algorithm.
24 Select bilinear scaling algorithm.
27 Select bicubic scaling algorithm.
30 Select experimental scaling algorithm.
33 Select nearest neighbor rescaling algorithm.
36 Select averaging area rescaling algorithm.
39 Select bicubic scaling algorithm for the luma component, bilinear for
43 Select Gaussian rescaling algorithm.
46 Select sinc rescaling algorithm.
49 Select Lanczos rescaling algorithm.
52 Select natural bicubic spline rescaling algorithm.
55 Enable printing/debug logging.
58 Enable accurate rounding.
61 Enable full chroma interpolation.
64 Select full chroma input.
67 Enable bitexact output.
77 Set destination width.
80 Set destination height.
83 Set source pixel format (must be expressed as an integer).
86 Set destination pixel format (must be expressed as an integer).
92 Select destination range.
96 Set scaling algorithm parameters. The specified values are specific of
97 some scaling algorithms and ignored by others. The specified values
98 are floating point number values.
101 Set the dithering algorithm. Accepts one of the following
102 values. Default value is @samp{auto}.
115 error diffusion dither
118 arithmetic dither, based using addition
121 arithmetic dither, based using xor (more random/less apparent patterning that
127 Set the alpha blending to use when the input has alpha but the output does not.
128 Default value is @samp{none}.
132 Blend onto a uniform background color
135 Blend onto a checkerboard
144 @c man end SCALER OPTIONS