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
e10ef328
Commit
e10ef328
authored
Aug 22, 2015
by
Timothy Gu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacsbr_fixed: Make fixed_{exp,log}_table static const
parent
1597dba8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
aacsbr_fixed.c
libavcodec/aacsbr_fixed.c
+2
-2
No files found.
libavcodec/aacsbr_fixed.c
View file @
e10ef328
...
...
@@ -78,7 +78,7 @@ static const int CONST_LN2 = Q31(0.6931471806/256); // ln(2)/256
static
const
int
CONST_RECIP_LN2
=
Q31
(
0
.
7213475204
);
// 0.5/ln(2)
static
const
int
CONST_076923
=
Q31
(
0
.
76923076923076923077
f
);
int
fixed_log_table
[
10
]
=
static
const
int
fixed_log_table
[
10
]
=
{
Q31
(
1
.
0
/
2
),
Q31
(
1
.
0
/
3
),
Q31
(
1
.
0
/
4
),
Q31
(
1
.
0
/
5
),
Q31
(
1
.
0
/
6
),
Q31
(
1
.
0
/
7
),
Q31
(
1
.
0
/
8
),
Q31
(
1
.
0
/
9
),
Q31
(
1
.
0
/
10
),
Q31
(
1
.
0
/
11
)
...
...
@@ -103,7 +103,7 @@ static int fixed_log(int x)
return
ret
;
}
int
fixed_exp_table
[
7
]
=
static
const
int
fixed_exp_table
[
7
]
=
{
Q31
(
1
.
0
/
2
),
Q31
(
1
.
0
/
6
),
Q31
(
1
.
0
/
24
),
Q31
(
1
.
0
/
120
),
Q31
(
1
.
0
/
720
),
Q31
(
1
.
0
/
5040
),
Q31
(
1
.
0
/
40320
)
...
...
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