Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bba35fda
Commit
bba35fda
authored
Jun 19, 2008
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename var
Originally committed as revision 13821 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
edc724b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ra144.c
libavcodec/ra144.c
+3
-3
No files found.
libavcodec/ra144.c
View file @
bba35fda
...
@@ -137,7 +137,7 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1,
...
@@ -137,7 +137,7 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1,
}
}
static
void
final
(
const
int16_t
*
i1
,
const
int16_t
*
i2
,
static
void
final
(
const
int16_t
*
lpc_coefs
,
const
int16_t
*
adapt_coef
,
void
*
out
,
int
*
statbuf
,
int
len
)
void
*
out
,
int
*
statbuf
,
int
len
)
{
{
int
x
,
i
;
int
x
,
i
;
...
@@ -145,14 +145,14 @@ static void final(const int16_t *i1, const int16_t *i2,
...
@@ -145,14 +145,14 @@ static void final(const int16_t *i1, const int16_t *i2,
int16_t
*
ptr
=
work
;
int16_t
*
ptr
=
work
;
memcpy
(
work
,
statbuf
,
20
);
memcpy
(
work
,
statbuf
,
20
);
memcpy
(
work
+
10
,
i2
,
len
*
2
);
memcpy
(
work
+
10
,
adapt_coef
,
len
*
2
);
for
(
i
=
0
;
i
<
len
;
i
++
)
{
for
(
i
=
0
;
i
<
len
;
i
++
)
{
int
sum
=
0
;
int
sum
=
0
;
int
new_val
;
int
new_val
;
for
(
x
=
0
;
x
<
10
;
x
++
)
for
(
x
=
0
;
x
<
10
;
x
++
)
sum
+=
i1
[
9
-
x
]
*
ptr
[
x
];
sum
+=
lpc_coefs
[
9
-
x
]
*
ptr
[
x
];
sum
>>=
12
;
sum
>>=
12
;
...
...
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