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
94be3bb5
Commit
94be3bb5
authored
Jun 23, 2008
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More comments removal/fixes
Originally committed as revision 13924 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
42b14594
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
ra144.c
libavcodec/ra144.c
+1
-4
No files found.
libavcodec/ra144.c
View file @
94be3bb5
...
@@ -110,7 +110,7 @@ static void copy_and_dup(const int16_t *source, int16_t *target, int offset)
...
@@ -110,7 +110,7 @@ static void copy_and_dup(const int16_t *source, int16_t *target, int offset)
}
}
}
}
/* inverse root mean square */
/*
*
inverse root mean square */
static
int
irms
(
const
int16_t
*
data
,
int
factor
)
static
int
irms
(
const
int16_t
*
data
,
int
factor
)
{
{
unsigned
int
i
,
sum
=
0
;
unsigned
int
i
,
sum
=
0
;
...
@@ -124,7 +124,6 @@ static int irms(const int16_t *data, int factor)
...
@@ -124,7 +124,6 @@ static int irms(const int16_t *data, int factor)
return
(
0x20000000
/
(
t_sqrt
(
sum
)
>>
8
))
*
factor
;
return
(
0x20000000
/
(
t_sqrt
(
sum
)
>>
8
))
*
factor
;
}
}
/* multiply/add wavetable */
static
void
add_wav
(
int
n
,
int
skip_first
,
int
*
m
,
const
int16_t
*
s1
,
static
void
add_wav
(
int
n
,
int
skip_first
,
int
*
m
,
const
int16_t
*
s1
,
const
int8_t
*
s2
,
const
int8_t
*
s3
,
int16_t
*
dest
)
const
int8_t
*
s2
,
const
int8_t
*
s3
,
int16_t
*
dest
)
{
{
...
@@ -203,7 +202,6 @@ static unsigned int rms(const int *data)
...
@@ -203,7 +202,6 @@ static unsigned int rms(const int *data)
return
res
;
return
res
;
}
}
/* do quarter-block output */
static
void
do_output_subblock
(
RA144Context
*
ractx
,
static
void
do_output_subblock
(
RA144Context
*
ractx
,
const
uint16_t
*
lpc_coefs
,
unsigned
int
gval
,
const
uint16_t
*
lpc_coefs
,
unsigned
int
gval
,
GetBitContext
*
gb
)
GetBitContext
*
gb
)
...
@@ -372,7 +370,6 @@ static int ra144_decode_frame(AVCodecContext * avctx,
...
@@ -372,7 +370,6 @@ static int ra144_decode_frame(AVCodecContext * avctx,
int_to_int16
(
block_coefs
[
3
],
ractx
->
lpc_coef
);
int_to_int16
(
block_coefs
[
3
],
ractx
->
lpc_coef
);
/* do output */
for
(
c
=
0
;
c
<
4
;
c
++
)
{
for
(
c
=
0
;
c
<
4
;
c
++
)
{
do_output_subblock
(
ractx
,
block_coefs
[
c
],
refl_rms
[
c
],
&
gb
);
do_output_subblock
(
ractx
,
block_coefs
[
c
],
refl_rms
[
c
],
&
gb
);
...
...
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