aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-03 11:36:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-03 11:54:19 +0100
commita75bf4e5c186a1f8a1fc63edb0bc0b3fe7180d5b (patch)
tree7138bf498875f924a2019739e2c05a8a7249765a /doc/filters.texi
parent8a701ef7ddbb2d80ef77b14287d286fc9760f131 (diff)
parent34a0ac41a880039c7fb4b3abce10d8e2ce48fac7 (diff)
downloadffmpeg-a75bf4e5c186a1f8a1fc63edb0bc0b3fe7180d5b.tar.gz
Merge commit '34a0ac41a880039c7fb4b3abce10d8e2ce48fac7'
* commit '34a0ac41a880039c7fb4b3abce10d8e2ce48fac7': vf_aspect: support variables in evaluating the aspect ratios Conflicts: Changelog doc/filters.texi libavfilter/vf_aspect.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 57679cca5c..7f07848e65 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6970,6 +6970,31 @@ Default value is @code{100}.
@end table
+The parameter @var{sar} is an expression containing
+the following constants:
+
+@table @option
+@item E, PI, PHI
+the corresponding mathematical approximated values for e
+(euler number), pi (greek PI), phi (golden ratio)
+
+@item w, h
+the input width and height
+
+@item a
+same as @var{w} / @var{h}
+
+@item sar
+input sample aspect ratio
+
+@item dar
+input display aspect ratio, it is the same as (@var{w} / @var{h}) * @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.
+@end table
+
@subsection Examples
@itemize