From dec23859b040e2b76f6753789dbe7b47f2ecf497 Mon Sep 17 00:00:00 2001
From: Bela Bodecs <bodecsb@vivanet.hu>
Date: Wed, 20 Jan 2016 15:29:13 +0100
Subject: [PATCH] vf_scale: eval, param0 and param1 documentation

Documentation of eval, param0 and param1 parameters

Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 doc/filters.texi | 24 ++++++++++++++++++++++++
 doc/scaler.texi  |  1 +
 2 files changed, 25 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index d8e3317d966..f5f4bfc3c56 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -9954,6 +9954,21 @@ dimension is divisible by n and adjust the value if necessary.
 See below for the list of accepted constants for use in the dimension
 expression.
 
+@item eval
+Specify when to evaluate @var{width} and @var{height} expression. It accepts the following values:
+
+@table @samp
+@item init
+Only evaluate expressions once during the filter initialization or when a command is processed.
+
+@item frame
+Evaluate expressions for each incoming frame.
+
+@end table
+
+Default value is @samp{init}.
+
+
 @item interl
 Set the interlacing mode. It accepts the following values:
 
@@ -9977,6 +9992,15 @@ Set libswscale scaling flags. See
 complete list of values. If not explicitly specified the filter applies
 the default flags.
 
+
+@item param0, param1
+Set libswscale input parameters for scaling algorithms that need them. See
+@ref{sws_params,,the ffmpeg-scaler manual,ffmpeg-scaler} for the
+complete documentation. If not explicitly specified the filter applies
+empty parameters.
+
+
+
 @item size, s
 Set the video size. For the syntax of this option, check the
 @ref{video size syntax,,"Video size" section in the ffmpeg-utils manual,ffmpeg-utils}.
diff --git a/doc/scaler.texi b/doc/scaler.texi
index 55b2fbe736c..3e115cdda5b 100644
--- a/doc/scaler.texi
+++ b/doc/scaler.texi
@@ -91,6 +91,7 @@ Select source range.
 @item dst_range
 Select destination range.
 
+@anchor{sws_params}
 @item param0, param1
 Set scaling algorithm parameters. The specified values are specific of
 some scaling algorithms and ignored by others. The specified values
-- 
GitLab