Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Traud
Opus
Commits
52824c79
Commit
52824c79
authored
16 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Some tuning improvements, more to come
parent
2de66199
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libcelt/modes.c
+11
-11
11 additions, 11 deletions
libcelt/modes.c
with
11 additions
and
11 deletions
libcelt/modes.c
+
11
−
11
View file @
52824c79
...
...
@@ -78,7 +78,7 @@ int EXPORT celt_mode_info(const CELTMode *mode, int request, celt_int32_t *value
#ifdef STDIN_TUNING
int
MIN_BINS
;
#else
#define MIN_BINS
4
#define MIN_BINS
3
#endif
/* Defining 25 critical bands for the full 0-20 kHz audio bandwidth
...
...
@@ -104,16 +104,16 @@ int *band_allocation;
#define BITALLOC_SIZE 10
static
const
int
band_allocation
[
BARK_BANDS
*
BITALLOC_SIZE
]
=
{
2
,
2
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
5
,
5
,
7
,
7
,
7
,
5
,
4
,
0
,
0
,
0
,
0
,
0
,
0
,
2
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0
,
0
,
0
,
0
,
3
,
2
,
2
,
2
,
3
,
3
,
2
,
3
,
2
,
3
,
4
,
4
,
6
,
7
,
9
,
9
,
9
,
7
,
6
,
5
,
5
,
5
,
0
,
0
,
0
,
3
,
3
,
2
,
2
,
3
,
3
,
3
,
3
,
3
,
4
,
4
,
5
,
7
,
9
,
10
,
10
,
10
,
9
,
6
,
5
,
5
,
5
,
5
,
1
,
0
,
4
,
4
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
4
,
5
,
6
,
7
,
9
,
10
,
10
,
10
,
9
,
9
,
8
,
11
,
10
,
10
,
1
,
1
,
6
,
6
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
6
,
7
,
8
,
1
0
,
1
2
,
13
,
13
,
13
,
1
2
,
1
2
,
1
2
,
1
8
,
18
,
16
,
1
0
,
1
,
7
,
7
,
6
,
6
,
7
,
7
,
7
,
7
,
8
,
9
,
1
0
,
11
,
13
,
18
,
20
,
22
,
25
,
22
,
25
,
30
,
30
,
35
,
35
,
35
,
1
5
,
9
,
9
,
9
,
9
,
10
,
10
,
10
,
10
,
11
,
1
2
,
18
,
22
,
25
,
24
,
23
,
2
7
,
29
,
27
,
35
,
40
,
42
,
50
,
59
,
54
,
3
1
,
1
6
,
1
6
,
1
6
,
1
6
,
1
6
,
1
8
,
20
,
22
,
24
,
28
,
30
,
32
,
35
,
34
,
33
,
3
7
,
39
,
40
,
45
,
50
,
52
,
60
,
60
,
60
,
60
,
};
#endif
static
celt_int16_t
*
compute_ebands
(
celt_int32_t
Fs
,
int
frame_size
,
int
*
nbEBands
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment