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
0c2a9d56
Commit
0c2a9d56
authored
Jun 26, 2004
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the tables static
Originally committed as revision 3255 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b442a92f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ac3tab.h
libavcodec/ac3tab.h
+9
-9
No files found.
libavcodec/ac3tab.h
View file @
0c2a9d56
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
*/
*/
/* possible frequencies */
/* possible frequencies */
const
uint16_t
ac3_freqs
[
3
]
=
{
48000
,
44100
,
32000
};
static
const
uint16_t
ac3_freqs
[
3
]
=
{
48000
,
44100
,
32000
};
/* possible bitrates */
/* possible bitrates */
const
uint16_t
ac3_bitratetab
[
19
]
=
{
static
const
uint16_t
ac3_bitratetab
[
19
]
=
{
32
,
40
,
48
,
56
,
64
,
80
,
96
,
112
,
128
,
32
,
40
,
48
,
56
,
64
,
80
,
96
,
112
,
128
,
160
,
192
,
224
,
256
,
320
,
384
,
448
,
512
,
576
,
640
160
,
192
,
224
,
256
,
320
,
384
,
448
,
512
,
576
,
640
};
};
...
@@ -15,7 +15,7 @@ const uint16_t ac3_bitratetab[19] = {
...
@@ -15,7 +15,7 @@ const uint16_t ac3_bitratetab[19] = {
/* AC3 MDCT window */
/* AC3 MDCT window */
/* MDCT window */
/* MDCT window */
const
int16_t
ac3_window
[
256
]
=
{
static
const
int16_t
ac3_window
[
256
]
=
{
4
,
7
,
12
,
16
,
21
,
28
,
34
,
42
,
4
,
7
,
12
,
16
,
21
,
28
,
34
,
42
,
51
,
61
,
72
,
84
,
97
,
111
,
127
,
145
,
51
,
61
,
72
,
84
,
97
,
111
,
127
,
145
,
164
,
184
,
207
,
231
,
257
,
285
,
315
,
347
,
164
,
184
,
207
,
231
,
257
,
285
,
315
,
347
,
...
@@ -144,27 +144,27 @@ static const uint8_t baptab[64]= {
...
@@ -144,27 +144,27 @@ static const uint8_t baptab[64]= {
15
,
15
,
15
,
15
,
15
,
15
,
15
,
15
,
};
};
const
uint8_t
sdecaytab
[
4
]
=
{
static
const
uint8_t
sdecaytab
[
4
]
=
{
0x0f
,
0x11
,
0x13
,
0x15
,
0x0f
,
0x11
,
0x13
,
0x15
,
};
};
const
uint8_t
fdecaytab
[
4
]
=
{
static
const
uint8_t
fdecaytab
[
4
]
=
{
0x3f
,
0x53
,
0x67
,
0x7b
,
0x3f
,
0x53
,
0x67
,
0x7b
,
};
};
const
uint16_t
sgaintab
[
4
]
=
{
static
const
uint16_t
sgaintab
[
4
]
=
{
0x540
,
0x4d8
,
0x478
,
0x410
,
0x540
,
0x4d8
,
0x478
,
0x410
,
};
};
const
uint16_t
dbkneetab
[
4
]
=
{
static
const
uint16_t
dbkneetab
[
4
]
=
{
0x000
,
0x700
,
0x900
,
0xb00
,
0x000
,
0x700
,
0x900
,
0xb00
,
};
};
const
uint16_t
floortab
[
8
]
=
{
static
const
uint16_t
floortab
[
8
]
=
{
0x2f0
,
0x2b0
,
0x270
,
0x230
,
0x1f0
,
0x170
,
0x0f0
,
0xf800
,
0x2f0
,
0x2b0
,
0x270
,
0x230
,
0x1f0
,
0x170
,
0x0f0
,
0xf800
,
};
};
const
uint16_t
fgaintab
[
8
]
=
{
static
const
uint16_t
fgaintab
[
8
]
=
{
0x080
,
0x100
,
0x180
,
0x200
,
0x280
,
0x300
,
0x380
,
0x400
,
0x080
,
0x100
,
0x180
,
0x200
,
0x280
,
0x300
,
0x380
,
0x400
,
};
};
...
...
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