Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CELT
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
Container Registry
Model registry
Operate
Environments
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
Xiph.Org
CELT
Commits
59858633
Commit
59858633
authored
14 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Added highest allocation line possible
parent
dc6d69e6
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
+2
-1
2 additions, 1 deletion
libcelt/modes.c
with
2 additions
and
1 deletion
libcelt/modes.c
+
2
−
1
View file @
59858633
...
...
@@ -66,7 +66,7 @@ static const unsigned char band_allocation[] = {
#else
/* Alternate tuning (partially derived from Vorbis) */
#define BITALLOC_SIZE 1
1
#define BITALLOC_SIZE 1
2
/* Bit allocation table in units of 1/32 bit/sample (0.1875 dB SNR) */
static
const
unsigned
char
band_allocation
[]
=
{
/*0 200 400 600 800 1k 1.2 1.4 1.6 2k 2.4 2.8 3.2 4k 4.8 5.6 6.8 8k 9.6 12k 15.6 */
...
...
@@ -81,6 +81,7 @@ static const unsigned char band_allocation[] = {
162
,
155
,
148
,
142
,
133
,
127
,
121
,
115
,
108
,
102
,
96
,
90
,
84
,
77
,
71
,
65
,
59
,
53
,
46
,
30
,
1
,
172
,
165
,
158
,
152
,
143
,
137
,
131
,
125
,
118
,
112
,
106
,
100
,
94
,
87
,
81
,
75
,
69
,
63
,
56
,
45
,
20
,
200
,
200
,
200
,
200
,
200
,
200
,
200
,
200
,
198
,
193
,
188
,
183
,
178
,
173
,
168
,
163
,
158
,
153
,
148
,
143
,
120
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
255
,
};
#endif
...
...
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