Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ce404b4d
Commit
ce404b4d
authored
Jan 26, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_afade: do not duplicate curve option
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
7a90edc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
36 deletions
+20
-36
af_afade.c
libavfilter/af_afade.c
+20
-36
No files found.
libavfilter/af_afade.c
View file @
ce404b4d
...
...
@@ -353,42 +353,26 @@ static const AVOption acrossfade_options[] = {
{
"d"
,
"set cross fade duration"
,
OFFSET
(
duration
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
0
.
},
0
,
60
,
FLAGS
},
{
"overlap"
,
"overlap 1st stream end with 2nd stream start"
,
OFFSET
(
overlap
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
1
},
0
,
1
,
FLAGS
},
{
"o"
,
"overlap 1st stream end with 2nd stream start"
,
OFFSET
(
overlap
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
1
},
0
,
1
,
FLAGS
},
{
"curve1"
,
"set fade curve type for 1st stream"
,
OFFSET
(
curve
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve1"
},
{
"c1"
,
"set fade curve type for 1st stream"
,
OFFSET
(
curve
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve1"
},
{
"tri"
,
"linear slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
TRI
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"qsin"
,
"quarter of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QSIN
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"esin"
,
"exponential sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ESIN
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"hsin"
,
"half of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HSIN
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"log"
,
"logarithmic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LOG
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"ipar"
,
"inverted parabola"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IPAR
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"qua"
,
"quadratic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QUA
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"cub"
,
"cubic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
CUB
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"squ"
,
"square root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SQU
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"cbr"
,
"cubic root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
CBR
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"par"
,
"parabola"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
PAR
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"exp"
,
"exponential"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
EXP
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"iqsin"
,
"inverted quarter of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IQSIN
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"ihsin"
,
"inverted half of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IHSIN
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"dese"
,
"double-exponential seat"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DESE
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"desi"
,
"double-exponential sigmoid"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DESI
},
0
,
0
,
FLAGS
,
"curve1"
},
{
"curve2"
,
"set fade curve type for 2nd stream"
,
OFFSET
(
curve2
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve2"
},
{
"c2"
,
"set fade curve type for 2nd stream"
,
OFFSET
(
curve2
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve2"
},
{
"tri"
,
"linear slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
TRI
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"qsin"
,
"quarter of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QSIN
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"esin"
,
"exponential sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ESIN
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"hsin"
,
"half of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HSIN
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"log"
,
"logarithmic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LOG
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"ipar"
,
"inverted parabola"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IPAR
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"qua"
,
"quadratic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QUA
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"cub"
,
"cubic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
CUB
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"squ"
,
"square root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SQU
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"cbr"
,
"cubic root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
CBR
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"par"
,
"parabola"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
PAR
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"exp"
,
"exponential"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
EXP
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"iqsin"
,
"inverted quarter of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IQSIN
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"ihsin"
,
"inverted half of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IHSIN
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"dese"
,
"double-exponential seat"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DESE
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"desi"
,
"double-exponential sigmoid"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DESI
},
0
,
0
,
FLAGS
,
"curve2"
},
{
"curve1"
,
"set fade curve type for 1st stream"
,
OFFSET
(
curve
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve"
},
{
"c1"
,
"set fade curve type for 1st stream"
,
OFFSET
(
curve
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve"
},
{
"tri"
,
"linear slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
TRI
},
0
,
0
,
FLAGS
,
"curve"
},
{
"qsin"
,
"quarter of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QSIN
},
0
,
0
,
FLAGS
,
"curve"
},
{
"esin"
,
"exponential sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ESIN
},
0
,
0
,
FLAGS
,
"curve"
},
{
"hsin"
,
"half of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HSIN
},
0
,
0
,
FLAGS
,
"curve"
},
{
"log"
,
"logarithmic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LOG
},
0
,
0
,
FLAGS
,
"curve"
},
{
"ipar"
,
"inverted parabola"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IPAR
},
0
,
0
,
FLAGS
,
"curve"
},
{
"qua"
,
"quadratic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QUA
},
0
,
0
,
FLAGS
,
"curve"
},
{
"cub"
,
"cubic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
CUB
},
0
,
0
,
FLAGS
,
"curve"
},
{
"squ"
,
"square root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SQU
},
0
,
0
,
FLAGS
,
"curve"
},
{
"cbr"
,
"cubic root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
CBR
},
0
,
0
,
FLAGS
,
"curve"
},
{
"par"
,
"parabola"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
PAR
},
0
,
0
,
FLAGS
,
"curve"
},
{
"exp"
,
"exponential"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
EXP
},
0
,
0
,
FLAGS
,
"curve"
},
{
"iqsin"
,
"inverted quarter of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IQSIN
},
0
,
0
,
FLAGS
,
"curve"
},
{
"ihsin"
,
"inverted half of sine wave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
IHSIN
},
0
,
0
,
FLAGS
,
"curve"
},
{
"dese"
,
"double-exponential seat"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DESE
},
0
,
0
,
FLAGS
,
"curve"
},
{
"desi"
,
"double-exponential sigmoid"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DESI
},
0
,
0
,
FLAGS
,
"curve"
},
{
"curve2"
,
"set fade curve type for 2nd stream"
,
OFFSET
(
curve2
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve"
},
{
"c2"
,
"set fade curve type for 2nd stream"
,
OFFSET
(
curve2
),
AV_OPT_TYPE_INT
,
{.
i64
=
TRI
},
0
,
NB_CURVES
-
1
,
FLAGS
,
"curve"
},
{
NULL
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment