Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
| ... | ... |
@@ -1662,10 +1662,6 @@ The parameters @var{width} and @var{height} are expressions containing
|
| 1662 | 1662 |
the following constants: |
| 1663 | 1663 |
|
| 1664 | 1664 |
@table @option |
| 1665 |
-@item E, PI, PHI |
|
| 1666 |
-the corresponding mathematical approximated values for e |
|
| 1667 |
-(euler number), pi (greek PI), phi (golden ratio) |
|
| 1668 |
- |
|
| 1669 | 1665 |
@item in_w, in_h |
| 1670 | 1666 |
the input width and height |
| 1671 | 1667 |
|
| ... | ... |
@@ -32,9 +32,6 @@ |
| 32 | 32 |
#include "libswscale/swscale.h" |
| 33 | 33 |
|
| 34 | 34 |
static const char *var_names[] = {
|
| 35 |
- "PI", |
|
| 36 |
- "PHI", |
|
| 37 |
- "E", |
|
| 38 | 35 |
"in_w", "iw", |
| 39 | 36 |
"in_h", "ih", |
| 40 | 37 |
"out_w", "ow", |
| ... | ... |
@@ -48,9 +45,6 @@ static const char *var_names[] = {
|
| 48 | 48 |
}; |
| 49 | 49 |
|
| 50 | 50 |
enum var_name {
|
| 51 |
- VAR_PI, |
|
| 52 |
- VAR_PHI, |
|
| 53 |
- VAR_E, |
|
| 54 | 51 |
VAR_IN_W, VAR_IW, |
| 55 | 52 |
VAR_IN_H, VAR_IH, |
| 56 | 53 |
VAR_OUT_W, VAR_OW, |
| ... | ... |
@@ -155,9 +149,6 @@ static int config_props(AVFilterLink *outlink) |
| 155 | 155 |
char *expr; |
| 156 | 156 |
int ret; |
| 157 | 157 |
|
| 158 |
- var_values[VAR_PI] = M_PI; |
|
| 159 |
- var_values[VAR_PHI] = M_PHI; |
|
| 160 |
- var_values[VAR_E] = M_E; |
|
| 161 | 158 |
var_values[VAR_IN_W] = var_values[VAR_IW] = inlink->w; |
| 162 | 159 |
var_values[VAR_IN_H] = var_values[VAR_IH] = inlink->h; |
| 163 | 160 |
var_values[VAR_OUT_W] = var_values[VAR_OW] = NAN; |