Browse code

vf_select: remove mathematical constants now redundant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Nicolas George authored on 2011/10/14 00:54:07
Showing 2 changed files
... ...
@@ -1744,15 +1744,6 @@ is selected and passed to the output, otherwise it is discarded.
1744 1744
 The expression can contain the following constants:
1745 1745
 
1746 1746
 @table @option
1747
-@item PI
1748
-Greek PI
1749
-
1750
-@item PHI
1751
-golden ratio
1752
-
1753
-@item E
1754
-Euler number
1755
-
1756 1747
 @item n
1757 1748
 the sequential number of the filtered frame, starting from 0
1758 1749
 
... ...
@@ -28,10 +28,6 @@
28 28
 #include "avfilter.h"
29 29
 
30 30
 static const char *var_names[] = {
31
-    "E",                 ///< Euler number
32
-    "PHI",               ///< golden ratio
33
-    "PI",                ///< greek pi
34
-
35 31
     "TB",                ///< timebase
36 32
 
37 33
     "pts",               ///< original pts in the file of the frame
... ...
@@ -69,10 +65,6 @@ static const char *var_names[] = {
69 69
 };
70 70
 
71 71
 enum var_name {
72
-    VAR_E,
73
-    VAR_PHI,
74
-    VAR_PI,
75
-
76 72
     VAR_TB,
77 73
 
78 74
     VAR_PTS,
... ...
@@ -146,10 +138,6 @@ static int config_input(AVFilterLink *inlink)
146 146
 {
147 147
     SelectContext *select = inlink->dst->priv;
148 148
 
149
-    select->var_values[VAR_E]   = M_E;
150
-    select->var_values[VAR_PHI] = M_PHI;
151
-    select->var_values[VAR_PI]  = M_PI;
152
-
153 149
     select->var_values[VAR_N]          = 0.0;
154 150
     select->var_values[VAR_SELECTED_N] = 0.0;
155 151