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
8fc9376c
Commit
8fc9376c
authored
Aug 27, 2009
by
Loren Merritt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
Originally committed as revision 19727 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2f17f9c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
vorbis.c
libavcodec/vorbis.c
+13
-13
No files found.
libavcodec/vorbis.c
View file @
8fc9376c
...
...
@@ -176,20 +176,20 @@ static void render_line(int x0, int y0, int x1, int y1, float * buf) {
if
(
ady
*
2
<=
adx
)
{
// optimized common case
render_line_unrolled
(
x0
,
y0
,
x1
,
sy
,
ady
,
adx
,
buf
);
}
else
{
int
base
=
dy
/
adx
;
int
x
=
x0
;
int
y
=
y0
;
int
err
=
-
adx
;
ady
-=
FFABS
(
base
)
*
adx
;
while
(
++
x
<
x1
)
{
y
+=
base
;
err
+=
ady
;
if
(
err
>=
0
)
{
err
-=
adx
;
y
+=
sy
;
int
base
=
dy
/
adx
;
int
x
=
x0
;
int
y
=
y0
;
int
err
=
-
adx
;
ady
-=
FFABS
(
base
)
*
adx
;
while
(
++
x
<
x1
)
{
y
+=
base
;
err
+=
ady
;
if
(
err
>=
0
)
{
err
-=
adx
;
y
+=
sy
;
}
buf
[
x
]
=
ff_vorbis_floor1_inverse_db_table
[
y
];
}
buf
[
x
]
=
ff_vorbis_floor1_inverse_db_table
[
y
];
}
}
}
...
...
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