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
33f5d70d
Commit
33f5d70d
authored
Jun 30, 2013
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename constant HZ in af_biquads.c as HERTZ.
The aix header sys/m_param.h defines HZ as _HZ.
parent
6258e86d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
af_biquads.c
libavfilter/af_biquads.c
+18
-18
No files found.
libavfilter/af_biquads.c
View file @
33f5d70d
...
@@ -83,7 +83,7 @@ enum FilterType {
...
@@ -83,7 +83,7 @@ enum FilterType {
enum
WidthType
{
enum
WidthType
{
NONE
,
NONE
,
HZ
,
H
ERT
Z
,
OCTAVE
,
OCTAVE
,
QFACTOR
,
QFACTOR
,
SLOPE
,
SLOPE
,
...
@@ -250,7 +250,7 @@ static int config_output(AVFilterLink *outlink)
...
@@ -250,7 +250,7 @@ static int config_output(AVFilterLink *outlink)
case
NONE
:
case
NONE
:
alpha
=
0
.
0
;
alpha
=
0
.
0
;
break
;
break
;
case
HZ
:
case
H
ERT
Z
:
alpha
=
sin
(
w0
)
/
(
2
*
p
->
frequency
/
p
->
width
);
alpha
=
sin
(
w0
)
/
(
2
*
p
->
frequency
/
p
->
width
);
break
;
break
;
case
OCTAVE
:
case
OCTAVE
:
...
@@ -470,8 +470,8 @@ AVFilter avfilter_af_##name_ = { \
...
@@ -470,8 +470,8 @@ AVFilter avfilter_af_##name_ = { \
static
const
AVOption
equalizer_options
[]
=
{
static
const
AVOption
equalizer_options
[]
=
{
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
HZ
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
H
ERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
@@ -488,8 +488,8 @@ DEFINE_BIQUAD_FILTER(equalizer, "Apply two-pole peaking equalization (EQ) filter
...
@@ -488,8 +488,8 @@ DEFINE_BIQUAD_FILTER(equalizer, "Apply two-pole peaking equalization (EQ) filter
static
const
AVOption
bass_options
[]
=
{
static
const
AVOption
bass_options
[]
=
{
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
100
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
100
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
100
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
100
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
HZ
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
H
ERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
@@ -506,8 +506,8 @@ DEFINE_BIQUAD_FILTER(bass, "Boost or cut lower frequencies.");
...
@@ -506,8 +506,8 @@ DEFINE_BIQUAD_FILTER(bass, "Boost or cut lower frequencies.");
static
const
AVOption
treble_options
[]
=
{
static
const
AVOption
treble_options
[]
=
{
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
HZ
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
H
ERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
@@ -524,8 +524,8 @@ DEFINE_BIQUAD_FILTER(treble, "Boost or cut upper frequencies.");
...
@@ -524,8 +524,8 @@ DEFINE_BIQUAD_FILTER(treble, "Boost or cut upper frequencies.");
static
const
AVOption
bandpass_options
[]
=
{
static
const
AVOption
bandpass_options
[]
=
{
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
HZ
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
H
ERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
@@ -541,8 +541,8 @@ DEFINE_BIQUAD_FILTER(bandpass, "Apply a two-pole Butterworth band-pass filter.")
...
@@ -541,8 +541,8 @@ DEFINE_BIQUAD_FILTER(bandpass, "Apply a two-pole Butterworth band-pass filter.")
static
const
AVOption
bandreject_options
[]
=
{
static
const
AVOption
bandreject_options
[]
=
{
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
HZ
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
H
ERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
@@ -557,8 +557,8 @@ DEFINE_BIQUAD_FILTER(bandreject, "Apply a two-pole Butterworth band-reject filte
...
@@ -557,8 +557,8 @@ DEFINE_BIQUAD_FILTER(bandreject, "Apply a two-pole Butterworth band-reject filte
static
const
AVOption
lowpass_options
[]
=
{
static
const
AVOption
lowpass_options
[]
=
{
{
"frequency"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
500
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
500
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
500
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
500
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
HZ
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
H
ERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
@@ -575,8 +575,8 @@ DEFINE_BIQUAD_FILTER(lowpass, "Apply a low-pass filter with 3dB point frequency.
...
@@ -575,8 +575,8 @@ DEFINE_BIQUAD_FILTER(lowpass, "Apply a low-pass filter with 3dB point frequency.
static
const
AVOption
highpass_options
[]
=
{
static
const
AVOption
highpass_options
[]
=
{
{
"frequency"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
HZ
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
QFACTOR
},
H
ERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
@@ -593,8 +593,8 @@ DEFINE_BIQUAD_FILTER(highpass, "Apply a high-pass filter with 3dB point frequenc
...
@@ -593,8 +593,8 @@ DEFINE_BIQUAD_FILTER(highpass, "Apply a high-pass filter with 3dB point frequenc
static
const
AVOption
allpass_options
[]
=
{
static
const
AVOption
allpass_options
[]
=
{
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"frequency"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"f"
,
"set central frequency"
,
OFFSET
(
frequency
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
3000
},
0
,
999999
,
FLAGS
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
H
Z
},
H
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"width_type"
,
"set filter-width type"
,
OFFSET
(
width_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
H
ERTZ
},
HERT
Z
,
SLOPE
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
HZ
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"h"
,
"Hz"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
H
ERT
Z
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"q"
,
"Q-Factor"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
QFACTOR
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"o"
,
"octave"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
OCTAVE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
{
"s"
,
"slope"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SLOPE
},
0
,
0
,
FLAGS
,
"width_type"
},
...
...
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