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
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
Opus
Commits
f8dda66a
Commit
f8dda66a
authored
17 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Tuning of the stereo mode, including conversion to the 18-band split.
parent
a4833ffa
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
+14
-10
14 additions, 10 deletions
libcelt/modes.c
with
14 additions
and
10 deletions
libcelt/modes.c
+
14
−
10
View file @
f8dda66a
...
...
@@ -70,6 +70,10 @@ const int qpulses1[NBANDS128] = {7, 5, 5, 5, 4, 5, 4, 5, 5, 4, 2, 0, 0, 0,
const
int
qpulses2
[
NBANDS128
]
=
{
28
,
24
,
20
,
16
,
24
,
20
,
18
,
12
,
10
,
10
,
-
7
,
-
4
,
0
,
0
,
0
};
const
int
qpulses2s
[
NBANDS128
]
=
{
38
,
30
,
24
,
20
,
24
,
20
,
18
,
16
,
14
,
20
,
-
20
,
-
14
,
-
8
,
-
8
,
-
5
};
const
int
qpulses4s
[
NBANDS128
]
=
{
38
,
35
,
32
,
28
,
25
,
23
,
21
,
19
,
20
,
18
,
19
,
20
,
20
,
20
,
18
,
16
,
16
,
16
};
//const int qpulses4s[NBANDS128] ={38,35,30,27,24,22, 21, 20, 22, 20,20,20, 20, 20, 14, 12, 12, 12};
const
int
pbank1
[
PBANDS128
+
2
]
=
{
0
,
2
,
4
,
6
,
8
,
12
,
20
,
28
,
PITCH_END128
,
128
};
//const int pbank1[PBANDS128+2] = {0, 4, 8, 12, 20, PITCH_END128, 128};
...
...
@@ -162,22 +166,22 @@ const CELTMode mode3 = {
/* Stereo mode around 120 kbps */
const
CELTMode
mode4
=
{
128
,
/**< overlap */
256
,
/**< overlap */
256
,
/**< mdctSize */
1
,
/**< nbMdctBlocks */
2
,
/**< channels */
NBANDS
256
,
/**< nbEBands */
PBANDS
256
,
/**< nbPBands */
PITCH_END
256
,
/**< pitchEnd */
NBANDS
,
/**< nbEBands */
PBANDS
,
/**< nbPBands */
PITCH_END
,
/**< pitchEnd */
qbank
3
,
/**< eBands */
pbank
3
,
/**< pBands*/
qpulses
2
s
,
/**< nbPulses */
qbank
0
,
/**< eBands */
pbank
0
,
/**< pBands*/
qpulses
4
s
,
/**< nbPulses */
0
.
7
,
/**< ePredCoef */
means
,
/**< eMeans */
decay
,
/**< eDecay */
0
.
8
,
/**< ePredCoef */
means
18
,
/**< eMeans */
decay
18
,
/**< eDecay */
};
const
CELTMode
const
*
celt_mode0
=
&
mode0
;
...
...
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