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
7664d811
Commit
7664d811
authored
13 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Removes unused order 14 in silk_LPC_analysis_filter_FLP()
parent
be236b12
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
silk/float/LPC_analysis_filter_FLP.c
+0
-40
0 additions, 40 deletions
silk/float/LPC_analysis_filter_FLP.c
with
0 additions
and
40 deletions
silk/float/LPC_analysis_filter_FLP.c
+
0
−
40
View file @
7664d811
...
@@ -77,42 +77,6 @@ static inline void silk_LPC_analysis_filter16_FLP(
...
@@ -77,42 +77,6 @@ static inline void silk_LPC_analysis_filter16_FLP(
}
}
}
}
/* 14th order LPC analysis filter, does not write first 14 samples */
static
inline
void
silk_LPC_analysis_filter14_FLP
(
silk_float
r_LPC
[],
/* O LPC residual signal */
const
silk_float
PredCoef
[],
/* I LPC coefficients */
const
silk_float
s
[],
/* I Input signal */
const
opus_int
length
/* I Length of input signal */
)
{
opus_int
ix
;
silk_float
LPC_pred
;
const
silk_float
*
s_ptr
;
for
(
ix
=
14
;
ix
<
length
;
ix
++
)
{
s_ptr
=
&
s
[
ix
-
1
];
/* short-term prediction */
LPC_pred
=
s_ptr
[
0
]
*
PredCoef
[
0
]
+
s_ptr
[
-
1
]
*
PredCoef
[
1
]
+
s_ptr
[
-
2
]
*
PredCoef
[
2
]
+
s_ptr
[
-
3
]
*
PredCoef
[
3
]
+
s_ptr
[
-
4
]
*
PredCoef
[
4
]
+
s_ptr
[
-
5
]
*
PredCoef
[
5
]
+
s_ptr
[
-
6
]
*
PredCoef
[
6
]
+
s_ptr
[
-
7
]
*
PredCoef
[
7
]
+
s_ptr
[
-
8
]
*
PredCoef
[
8
]
+
s_ptr
[
-
9
]
*
PredCoef
[
9
]
+
s_ptr
[
-
10
]
*
PredCoef
[
10
]
+
s_ptr
[
-
11
]
*
PredCoef
[
11
]
+
s_ptr
[
-
12
]
*
PredCoef
[
12
]
+
s_ptr
[
-
13
]
*
PredCoef
[
13
];
/* prediction error */
r_LPC
[
ix
]
=
s_ptr
[
1
]
-
LPC_pred
;
}
}
/* 12th order LPC analysis filter, does not write first 12 samples */
/* 12th order LPC analysis filter, does not write first 12 samples */
static
inline
void
silk_LPC_analysis_filter12_FLP
(
static
inline
void
silk_LPC_analysis_filter12_FLP
(
silk_float
r_LPC
[],
/* O LPC residual signal */
silk_float
r_LPC
[],
/* O LPC residual signal */
...
@@ -270,10 +234,6 @@ void silk_LPC_analysis_filter_FLP(
...
@@ -270,10 +234,6 @@ void silk_LPC_analysis_filter_FLP(
silk_LPC_analysis_filter12_FLP
(
r_LPC
,
PredCoef
,
s
,
length
);
silk_LPC_analysis_filter12_FLP
(
r_LPC
,
PredCoef
,
s
,
length
);
break
;
break
;
case
14
:
silk_LPC_analysis_filter14_FLP
(
r_LPC
,
PredCoef
,
s
,
length
);
break
;
case
16
:
case
16
:
silk_LPC_analysis_filter16_FLP
(
r_LPC
,
PredCoef
,
s
,
length
);
silk_LPC_analysis_filter16_FLP
(
r_LPC
,
PredCoef
,
s
,
length
);
break
;
break
;
...
...
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