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
ddf1b4a2
Commit
ddf1b4a2
authored
May 19, 2013
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vorbis: simplify the inner loop in setup_classifs
parent
36f10380
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vorbisdec.c
libavcodec/vorbisdec.c
+4
-4
No files found.
libavcodec/vorbisdec.c
View file @
ddf1b4a2
...
...
@@ -1321,11 +1321,11 @@ static av_always_inline int setup_classifs(vorbis_context *vc,
assert
(
vr
->
classifications
>
1
&&
temp
<=
65536
);
//needed for inverse[]
for
(
i
=
0
;
i
<
c_p_c
;
++
i
)
{
for
(
i
=
partition_count
+
c_p_c
-
1
;
i
>=
partition_count
;
i
--
)
{
temp2
=
(((
uint64_t
)
temp
)
*
inverse_class
)
>>
32
;
if
(
partition_count
+
c_p_c
-
1
-
i
<
vr
->
ptns_to_read
)
vr
->
classifs
[
p
+
partition_count
+
c_p_c
-
1
-
i
]
=
temp
-
temp2
*
vr
->
classifications
;
if
(
i
<
vr
->
ptns_to_read
)
vr
->
classifs
[
p
+
i
]
=
temp
-
temp2
*
vr
->
classifications
;
temp
=
temp2
;
}
}
...
...
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