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
c6e3b6a8
Commit
c6e3b6a8
authored
Dec 25, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_anequalizer: use pow instead of exp10
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
56c7d2b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
af_anequalizer.c
libavfilter/af_anequalizer.c
+9
-9
No files found.
libavfilter/af_anequalizer.c
View file @
c6e3b6a8
...
...
@@ -307,9 +307,9 @@ static void butterworth_bp_filter(EqualizatorFilter *f,
return
;
}
G
=
exp10
(
G
/
20
);
Gb
=
exp10
(
Gb
/
20
);
G0
=
exp10
(
G0
/
20
);
G
=
pow
(
10
,
G
/
20
);
Gb
=
pow
(
10
,
Gb
/
20
);
G0
=
pow
(
10
,
G0
/
20
);
epsilon
=
sqrt
((
G
*
G
-
Gb
*
Gb
)
/
(
Gb
*
Gb
-
G0
*
G0
));
g
=
pow
(
G
,
1
.
0
/
N
);
...
...
@@ -376,9 +376,9 @@ static void chebyshev1_bp_filter(EqualizatorFilter *f,
return
;
}
G
=
exp10
(
G
/
20
);
Gb
=
exp10
(
Gb
/
20
);
G0
=
exp10
(
G0
/
20
);
G
=
pow
(
10
,
G
/
20
);
Gb
=
pow
(
10
,
Gb
/
20
);
G0
=
pow
(
10
,
G0
/
20
);
epsilon
=
sqrt
((
G
*
G
-
Gb
*
Gb
)
/
(
Gb
*
Gb
-
G0
*
G0
));
g0
=
pow
(
G0
,
1
.
0
/
N
);
...
...
@@ -449,9 +449,9 @@ static void chebyshev2_bp_filter(EqualizatorFilter *f,
return
;
}
G
=
exp10
(
G
/
20
);
Gb
=
exp10
(
Gb
/
20
);
G0
=
exp10
(
G0
/
20
);
G
=
pow
(
10
,
G
/
20
);
Gb
=
pow
(
10
,
Gb
/
20
);
G0
=
pow
(
10
,
G0
/
20
);
epsilon
=
sqrt
((
G
*
G
-
Gb
*
Gb
)
/
(
Gb
*
Gb
-
G0
*
G0
));
g
=
pow
(
G
,
1
.
0
/
N
);
...
...
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