Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
141d80de
Commit
141d80de
authored
Aug 29, 2015
by
Rostislav Pehlivanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lpc: rename ff_lpc_calc_levinsion to ff_lpc_calc_levinson
Signed-off-by:
Rostislav Pehlivanov
<
atomnuker@gmail.com
>
parent
e924967f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
aacenc_tns.c
libavcodec/aacenc_tns.c
+1
-1
lpc.c
libavcodec/lpc.c
+1
-1
lpc.h
libavcodec/lpc.h
+1
-1
No files found.
libavcodec/aacenc_tns.c
View file @
141d80de
...
@@ -210,7 +210,7 @@ void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce)
...
@@ -210,7 +210,7 @@ void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce)
coef_len
=
1024
-
coef_start
;
coef_len
=
1024
-
coef_start
;
/* LPC */
/* LPC */
order
=
ff_lpc_calc_levins
i
on
(
&
s
->
lpc
,
&
sce
->
coeffs
[
coef_start
],
coef_len
,
order
=
ff_lpc_calc_levinson
(
&
s
->
lpc
,
&
sce
->
coeffs
[
coef_start
],
coef_len
,
coefs
,
0
,
tns_max_order
,
ORDER_METHOD_LOG
);
coefs
,
0
,
tns_max_order
,
ORDER_METHOD_LOG
);
if
(
energy
>
threshold
)
{
if
(
energy
>
threshold
)
{
...
...
libavcodec/lpc.c
View file @
141d80de
...
@@ -277,7 +277,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
...
@@ -277,7 +277,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
* @param lpc_type LPC method for determining coefficients,
* @param lpc_type LPC method for determining coefficients,
* see #FFLPCType for details
* see #FFLPCType for details
*/
*/
int
ff_lpc_calc_levins
i
on
(
LPCContext
*
s
,
const
float
*
samples
,
int
len
,
int
ff_lpc_calc_levinson
(
LPCContext
*
s
,
const
float
*
samples
,
int
len
,
double
lpc
[][
MAX_LPC_ORDER
],
int
min_order
,
double
lpc
[][
MAX_LPC_ORDER
],
int
min_order
,
int
max_order
,
int
omethod
)
int
max_order
,
int
omethod
)
{
{
...
...
libavcodec/lpc.h
View file @
141d80de
...
@@ -100,7 +100,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
...
@@ -100,7 +100,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
int
ff_lpc_calc_ref_coefs
(
LPCContext
*
s
,
int
ff_lpc_calc_ref_coefs
(
LPCContext
*
s
,
const
int32_t
*
samples
,
int
order
,
double
*
ref
);
const
int32_t
*
samples
,
int
order
,
double
*
ref
);
int
ff_lpc_calc_levins
i
on
(
LPCContext
*
s
,
const
float
*
samples
,
int
len
,
int
ff_lpc_calc_levinson
(
LPCContext
*
s
,
const
float
*
samples
,
int
len
,
double
lpc
[][
MAX_LPC_ORDER
],
int
min_order
,
double
lpc
[][
MAX_LPC_ORDER
],
int
min_order
,
int
max_order
,
int
omethod
);
int
max_order
,
int
omethod
);
...
...
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