mirror of https://git.ffmpeg.org/ffmpeg.git
vf_select: remove mathematical constants now redundant.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3b316f9f22
commit
1a3fa3ab2c
|
@ -1744,15 +1744,6 @@ is selected and passed to the output, otherwise it is discarded.
|
||||||
The expression can contain the following constants:
|
The expression can contain the following constants:
|
||||||
|
|
||||||
@table @option
|
@table @option
|
||||||
@item PI
|
|
||||||
Greek PI
|
|
||||||
|
|
||||||
@item PHI
|
|
||||||
golden ratio
|
|
||||||
|
|
||||||
@item E
|
|
||||||
Euler number
|
|
||||||
|
|
||||||
@item n
|
@item n
|
||||||
the sequential number of the filtered frame, starting from 0
|
the sequential number of the filtered frame, starting from 0
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,6 @@
|
||||||
#include "avfilter.h"
|
#include "avfilter.h"
|
||||||
|
|
||||||
static const char *var_names[] = {
|
static const char *var_names[] = {
|
||||||
"E", ///< Euler number
|
|
||||||
"PHI", ///< golden ratio
|
|
||||||
"PI", ///< greek pi
|
|
||||||
|
|
||||||
"TB", ///< timebase
|
"TB", ///< timebase
|
||||||
|
|
||||||
"pts", ///< original pts in the file of the frame
|
"pts", ///< original pts in the file of the frame
|
||||||
|
@ -69,10 +65,6 @@ static const char *var_names[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum var_name {
|
enum var_name {
|
||||||
VAR_E,
|
|
||||||
VAR_PHI,
|
|
||||||
VAR_PI,
|
|
||||||
|
|
||||||
VAR_TB,
|
VAR_TB,
|
||||||
|
|
||||||
VAR_PTS,
|
VAR_PTS,
|
||||||
|
@ -146,10 +138,6 @@ static int config_input(AVFilterLink *inlink)
|
||||||
{
|
{
|
||||||
SelectContext *select = inlink->dst->priv;
|
SelectContext *select = inlink->dst->priv;
|
||||||
|
|
||||||
select->var_values[VAR_E] = M_E;
|
|
||||||
select->var_values[VAR_PHI] = M_PHI;
|
|
||||||
select->var_values[VAR_PI] = M_PI;
|
|
||||||
|
|
||||||
select->var_values[VAR_N] = 0.0;
|
select->var_values[VAR_N] = 0.0;
|
||||||
select->var_values[VAR_SELECTED_N] = 0.0;
|
select->var_values[VAR_SELECTED_N] = 0.0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue