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
fa045c3c
Commit
fa045c3c
authored
5 years ago
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/window_func: clarify intention in dolph window calculation
parent
654601dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
window_func.h
libavfilter/window_func.h
+1
-1
No files found.
libavfilter/window_func.h
View file @
fa045c3c
...
...
@@ -133,7 +133,7 @@ static inline void generate_window_func(float *lut, int N, int win_func,
for
(
c
=
1
-
1
/
(
b
*
b
),
n
=
(
N
-
1
)
/
2
;
n
>=
0
;
--
n
)
{
for
(
sum
=
!
n
,
b
=
t
=
j
=
1
;
j
<=
n
&&
sum
!=
t
;
b
*=
(
n
-
j
)
*
(
1
.
/
j
),
++
j
)
t
=
sum
,
sum
+=
(
b
*=
c
*
(
N
-
n
-
j
)
*
(
1
.
/
j
));
sum
/=
(
N
-
1
-
n
),
sum
/=
(
norm
=
norm
?
norm
:
sum
)
;
sum
/=
(
N
-
1
-
n
),
norm
=
norm
?
norm
:
sum
,
sum
/=
norm
;
lut
[
n
]
=
sum
;
lut
[
N
-
1
-
n
]
=
sum
;
}
...
...
This diff is collapsed.
Click to expand it.
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