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
695ff5dc
Commit
695ff5dc
authored
Sep 16, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_sidechaincompress: use doubles instead of floats
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
ddf37889
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
af_sidechaincompress.c
libavfilter/af_sidechaincompress.c
+7
-7
No files found.
libavfilter/af_sidechaincompress.c
View file @
695ff5dc
...
...
@@ -90,14 +90,14 @@ static av_cold int init(AVFilterContext *ctx)
return
0
;
}
static
inline
float
hermite_interpolation
(
float
x
,
float
x0
,
float
x1
,
float
p0
,
float
p1
,
float
m0
,
float
m1
)
static
inline
double
hermite_interpolation
(
double
x
,
double
x0
,
double
x1
,
double
p0
,
double
p1
,
double
m0
,
double
m1
)
{
float
width
=
x1
-
x0
;
float
t
=
(
x
-
x0
)
/
width
;
float
t2
,
t3
;
float
ct0
,
ct1
,
ct2
,
ct3
;
double
width
=
x1
-
x0
;
double
t
=
(
x
-
x0
)
/
width
;
double
t2
,
t3
;
double
ct0
,
ct1
,
ct2
,
ct3
;
m0
*=
width
;
m1
*=
width
;
...
...
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