mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
doc: move ffmpeg-scaler.texi content to separated file
This should simplify inclusion in monolithic tool manuals.
This commit is contained in:
parent
a6cd26fc93
commit
702e743827
@ -18,105 +18,7 @@ image rescaling and pixel format conversion.
|
|||||||
|
|
||||||
@c man end DESCRIPTION
|
@c man end DESCRIPTION
|
||||||
|
|
||||||
@chapter Scaler Options
|
@include scaler.texi
|
||||||
@c man begin SCALER OPTIONS
|
|
||||||
|
|
||||||
The video scaler supports the following named options.
|
|
||||||
|
|
||||||
Options may be set by specifying -@var{option} @var{value} in the
|
|
||||||
FFmpeg tools. For programmatic use, they can be set explicitly in the
|
|
||||||
@code{SwsContext} options or through the @file{libavutil/opt.h} API.
|
|
||||||
|
|
||||||
@table @option
|
|
||||||
|
|
||||||
@item sws_flags
|
|
||||||
Set the scaler flags. This is also used to set the scaling
|
|
||||||
algorithm. Only a single algorithm should be selected.
|
|
||||||
|
|
||||||
It accepts the following values:
|
|
||||||
@table @samp
|
|
||||||
@item fast_bilinear
|
|
||||||
Select fast bilinear scaling algorithm.
|
|
||||||
|
|
||||||
@item bilinear
|
|
||||||
Select bilinear scaling algorithm.
|
|
||||||
|
|
||||||
@item bicubic
|
|
||||||
Select bicubic scaling algorithm.
|
|
||||||
|
|
||||||
@item experimental
|
|
||||||
Select experimental scaling algorithm.
|
|
||||||
|
|
||||||
@item neighbor
|
|
||||||
Select nearest neighbor rescaling algorithm.
|
|
||||||
|
|
||||||
@item area
|
|
||||||
Select averaging area rescaling algorithm.
|
|
||||||
|
|
||||||
@item bicubiclin
|
|
||||||
Select bicubic scaling algorithm for the luma component, bilinear for
|
|
||||||
chroma components.
|
|
||||||
|
|
||||||
@item gauss
|
|
||||||
Select Gaussian rescaling algorithm.
|
|
||||||
|
|
||||||
@item sinc
|
|
||||||
Select sinc rescaling algorithm.
|
|
||||||
|
|
||||||
@item lanczos
|
|
||||||
Select lanczos rescaling algorithm.
|
|
||||||
|
|
||||||
@item spline
|
|
||||||
Select natural bicubic spline rescaling algorithm.
|
|
||||||
|
|
||||||
@item print_info
|
|
||||||
Enable printing/debug logging.
|
|
||||||
|
|
||||||
@item accurate_rnd
|
|
||||||
Enable accurate rounding.
|
|
||||||
|
|
||||||
@item full_chroma_int
|
|
||||||
Enable full chroma interpolation.
|
|
||||||
|
|
||||||
@item full_chroma_inp
|
|
||||||
Select full chroma input.
|
|
||||||
|
|
||||||
@item bitexact
|
|
||||||
Enable bitexact output.
|
|
||||||
@end table
|
|
||||||
|
|
||||||
@item srcw
|
|
||||||
Set source width.
|
|
||||||
|
|
||||||
@item srch
|
|
||||||
Set source height.
|
|
||||||
|
|
||||||
@item dstw
|
|
||||||
Set destination width.
|
|
||||||
|
|
||||||
@item dsth
|
|
||||||
Set destination height.
|
|
||||||
|
|
||||||
@item src_format
|
|
||||||
Set source pixel format (must be expressed as an integer).
|
|
||||||
|
|
||||||
@item dst_format
|
|
||||||
Set destination pixel format (must be expressed as an integer).
|
|
||||||
|
|
||||||
@item src_range
|
|
||||||
Select source range.
|
|
||||||
|
|
||||||
@item dst_range
|
|
||||||
Select destination range.
|
|
||||||
|
|
||||||
@item param0, param1
|
|
||||||
Set scaling algorithm parameters. The specified values are specific of
|
|
||||||
some scaling algorithms and ignored by others. The specified values
|
|
||||||
are floating point number values.
|
|
||||||
|
|
||||||
@end table
|
|
||||||
|
|
||||||
@c man end SCALER OPTIONS
|
|
||||||
|
|
||||||
@chapter See Also
|
@chapter See Also
|
||||||
|
|
||||||
|
99
doc/scaler.texi
Normal file
99
doc/scaler.texi
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
@chapter Scaler Options
|
||||||
|
@c man begin SCALER OPTIONS
|
||||||
|
|
||||||
|
The video scaler supports the following named options.
|
||||||
|
|
||||||
|
Options may be set by specifying -@var{option} @var{value} in the
|
||||||
|
FFmpeg tools. For programmatic use, they can be set explicitly in the
|
||||||
|
@code{SwsContext} options or through the @file{libavutil/opt.h} API.
|
||||||
|
|
||||||
|
@table @option
|
||||||
|
|
||||||
|
@item sws_flags
|
||||||
|
Set the scaler flags. This is also used to set the scaling
|
||||||
|
algorithm. Only a single algorithm should be selected.
|
||||||
|
|
||||||
|
It accepts the following values:
|
||||||
|
@table @samp
|
||||||
|
@item fast_bilinear
|
||||||
|
Select fast bilinear scaling algorithm.
|
||||||
|
|
||||||
|
@item bilinear
|
||||||
|
Select bilinear scaling algorithm.
|
||||||
|
|
||||||
|
@item bicubic
|
||||||
|
Select bicubic scaling algorithm.
|
||||||
|
|
||||||
|
@item experimental
|
||||||
|
Select experimental scaling algorithm.
|
||||||
|
|
||||||
|
@item neighbor
|
||||||
|
Select nearest neighbor rescaling algorithm.
|
||||||
|
|
||||||
|
@item area
|
||||||
|
Select averaging area rescaling algorithm.
|
||||||
|
|
||||||
|
@item bicubiclin
|
||||||
|
Select bicubic scaling algorithm for the luma component, bilinear for
|
||||||
|
chroma components.
|
||||||
|
|
||||||
|
@item gauss
|
||||||
|
Select Gaussian rescaling algorithm.
|
||||||
|
|
||||||
|
@item sinc
|
||||||
|
Select sinc rescaling algorithm.
|
||||||
|
|
||||||
|
@item lanczos
|
||||||
|
Select lanczos rescaling algorithm.
|
||||||
|
|
||||||
|
@item spline
|
||||||
|
Select natural bicubic spline rescaling algorithm.
|
||||||
|
|
||||||
|
@item print_info
|
||||||
|
Enable printing/debug logging.
|
||||||
|
|
||||||
|
@item accurate_rnd
|
||||||
|
Enable accurate rounding.
|
||||||
|
|
||||||
|
@item full_chroma_int
|
||||||
|
Enable full chroma interpolation.
|
||||||
|
|
||||||
|
@item full_chroma_inp
|
||||||
|
Select full chroma input.
|
||||||
|
|
||||||
|
@item bitexact
|
||||||
|
Enable bitexact output.
|
||||||
|
@end table
|
||||||
|
|
||||||
|
@item srcw
|
||||||
|
Set source width.
|
||||||
|
|
||||||
|
@item srch
|
||||||
|
Set source height.
|
||||||
|
|
||||||
|
@item dstw
|
||||||
|
Set destination width.
|
||||||
|
|
||||||
|
@item dsth
|
||||||
|
Set destination height.
|
||||||
|
|
||||||
|
@item src_format
|
||||||
|
Set source pixel format (must be expressed as an integer).
|
||||||
|
|
||||||
|
@item dst_format
|
||||||
|
Set destination pixel format (must be expressed as an integer).
|
||||||
|
|
||||||
|
@item src_range
|
||||||
|
Select source range.
|
||||||
|
|
||||||
|
@item dst_range
|
||||||
|
Select destination range.
|
||||||
|
|
||||||
|
@item param0, param1
|
||||||
|
Set scaling algorithm parameters. The specified values are specific of
|
||||||
|
some scaling algorithms and ignored by others. The specified values
|
||||||
|
are floating point number values.
|
||||||
|
|
||||||
|
@end table
|
||||||
|
|
||||||
|
@c man end SCALER OPTIONS
|
Loading…
Reference in New Issue
Block a user