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. Default
17 value is @samp{bicubic}.
19 It accepts the following values:
22 Select fast bilinear scaling algorithm.
25 Select bilinear scaling algorithm.
28 Select bicubic scaling algorithm.
31 Select experimental scaling algorithm.
34 Select nearest neighbor rescaling algorithm.
37 Select averaging area rescaling algorithm.
40 Select bicubic scaling algorithm for the luma component, bilinear for
44 Select Gaussian rescaling algorithm.
47 Select sinc rescaling algorithm.
50 Select Lanczos rescaling algorithm.
53 Select natural bicubic spline rescaling algorithm.
56 Enable printing/debug logging.
59 Enable accurate rounding.
62 Enable full chroma interpolation.
65 Select full chroma input.
68 Enable bitexact output.
78 Set destination width.
81 Set destination height.
84 Set source pixel format (must be expressed as an integer).
87 Set destination pixel format (must be expressed as an integer).
93 Select destination range.
97 Set scaling algorithm parameters. The specified values are specific of
98 some scaling algorithms and ignored by others. The specified values
99 are floating point number values.
102 Set the dithering algorithm. Accepts one of the following
103 values. Default value is @samp{auto}.
116 error diffusion dither
119 arithmetic dither, based using addition
122 arithmetic dither, based using xor (more random/less apparent patterning that
128 Set the alpha blending to use when the input has alpha but the output does not.
129 Default value is @samp{none}.
133 Blend onto a uniform background color
136 Blend onto a checkerboard
145 @c man end SCALER OPTIONS