diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-27 12:58:24 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-30 20:27:24 +0400 |
commit | 61d55fda2b513caf18e37b27aba680a87840904a (patch) | |
tree | 4055c0c0c71dc4b12058e5af9b3d2ae71a6606af /doc/filters.texi | |
parent | 0e29c4f761575d60c764e56ed1d07b432eaf0262 (diff) |
lavfi: tweak display aspect ratio variables in pad and scale filters
Previously, "dar" and "a" were documented like "input display aspect
ratio", but their actual value was "in_w/in_h".
In order to avoid to break scripts which rely on the "a" variable, the
patch keeps the same semantics but fixes the corresponding docs, and
fixes the semantics of the recently added "dar" variable, which
now correctly expresses the input Display Aspect Ratio value as
"(inw_w/in_h)*sar".
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 8054bffb1d..2e419a8edf 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1184,12 +1184,15 @@ same as @var{out_w} and @var{out_h} x and y offsets as specified by the @var{x} and @var{y} expressions, or NAN if not yet specified -@item dar, a -input display aspect ratio, same as @var{iw} / @var{ih} +@item a +same as @var{iw} / @var{ih} @item sar input sample aspect ratio +@item dar +input display aspect ratio, it is the same as (@var{iw} / @var{ih}) * @var{sar} + @item hsub, vsub horizontal and vertical chroma subsample values. For example for the pixel format "yuv422p" @var{hsub} is 2 and @var{vsub} is 1. @@ -1289,12 +1292,15 @@ the output (cropped) width and heigth @item ow, oh same as @var{out_w} and @var{out_h} -@item dar, a -input display aspect ratio, same as @var{iw} / @var{ih} +@item a +same as @var{iw} / @var{ih} @item sar input sample aspect ratio +@item dar +input display aspect ratio, it is the same as (@var{iw} / @var{ih}) * @var{sar} + @item hsub, vsub horizontal and vertical chroma subsample values. For example for the pixel format "yuv422p" @var{hsub} is 2 and @var{vsub} is 1. |