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
7c5fca15
Commit
7c5fca15
authored
Oct 15, 2016
by
Muhammad Faiz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/firequalizer: change WFUNC_MIN/MAX to NB_WFUNC
Signed-off-by:
Muhammad Faiz
<
mfcc64@gmail.com
>
parent
a11757d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
af_firequalizer.c
libavfilter/af_firequalizer.c
+3
-4
No files found.
libavfilter/af_firequalizer.c
View file @
7c5fca15
...
@@ -30,8 +30,7 @@
...
@@ -30,8 +30,7 @@
#define RDFT_BITS_MAX 16
#define RDFT_BITS_MAX 16
enum
WindowFunc
{
enum
WindowFunc
{
WFUNC_MIN
,
WFUNC_RECTANGULAR
,
WFUNC_RECTANGULAR
=
WFUNC_MIN
,
WFUNC_HANN
,
WFUNC_HANN
,
WFUNC_HAMMING
,
WFUNC_HAMMING
,
WFUNC_BLACKMAN
,
WFUNC_BLACKMAN
,
...
@@ -40,7 +39,7 @@ enum WindowFunc {
...
@@ -40,7 +39,7 @@ enum WindowFunc {
WFUNC_NUTTALL
,
WFUNC_NUTTALL
,
WFUNC_BNUTTALL
,
WFUNC_BNUTTALL
,
WFUNC_BHARRIS
,
WFUNC_BHARRIS
,
WFUNC_MAX
=
WFUNC_BHARRIS
NB_WFUNC
};
};
#define NB_GAIN_ENTRY_MAX 4096
#define NB_GAIN_ENTRY_MAX 4096
...
@@ -98,7 +97,7 @@ static const AVOption firequalizer_options[] = {
...
@@ -98,7 +97,7 @@ static const AVOption firequalizer_options[] = {
{
"gain_entry"
,
"set gain entry"
,
OFFSET
(
gain_entry
),
AV_OPT_TYPE_STRING
,
{
.
str
=
NULL
},
0
,
0
,
FLAGS
},
{
"gain_entry"
,
"set gain entry"
,
OFFSET
(
gain_entry
),
AV_OPT_TYPE_STRING
,
{
.
str
=
NULL
},
0
,
0
,
FLAGS
},
{
"delay"
,
"set delay"
,
OFFSET
(
delay
),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
0
.
01
},
0
.
0
,
1e10
,
FLAGS
},
{
"delay"
,
"set delay"
,
OFFSET
(
delay
),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
0
.
01
},
0
.
0
,
1e10
,
FLAGS
},
{
"accuracy"
,
"set accuracy"
,
OFFSET
(
accuracy
),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
5
.
0
},
0
.
0
,
1e10
,
FLAGS
},
{
"accuracy"
,
"set accuracy"
,
OFFSET
(
accuracy
),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
5
.
0
},
0
.
0
,
1e10
,
FLAGS
},
{
"wfunc"
,
"set window function"
,
OFFSET
(
wfunc
),
AV_OPT_TYPE_INT
,
{
.
i64
=
WFUNC_HANN
},
WFUNC_MIN
,
WFUNC_MAX
,
FLAGS
,
"wfunc"
},
{
"wfunc"
,
"set window function"
,
OFFSET
(
wfunc
),
AV_OPT_TYPE_INT
,
{
.
i64
=
WFUNC_HANN
},
0
,
NB_WFUNC
-
1
,
FLAGS
,
"wfunc"
},
{
"rectangular"
,
"rectangular window"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
WFUNC_RECTANGULAR
},
0
,
0
,
FLAGS
,
"wfunc"
},
{
"rectangular"
,
"rectangular window"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
WFUNC_RECTANGULAR
},
0
,
0
,
FLAGS
,
"wfunc"
},
{
"hann"
,
"hann window"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
WFUNC_HANN
},
0
,
0
,
FLAGS
,
"wfunc"
},
{
"hann"
,
"hann window"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
WFUNC_HANN
},
0
,
0
,
FLAGS
,
"wfunc"
},
{
"hamming"
,
"hamming window"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
WFUNC_HAMMING
},
0
,
0
,
FLAGS
,
"wfunc"
},
{
"hamming"
,
"hamming window"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
WFUNC_HAMMING
},
0
,
0
,
FLAGS
,
"wfunc"
},
...
...
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